Gentoo and Eterm Ebuild Problem

If you by chance be building eterm in Gentoo and get the following error:

gcc -Os -march=pentium4 -pipe -o .libs/Eterm main.o  -L/usr/lib -L/usr/X11R6/lib ./.libs/libEterm.so /usr/lib/libImlib2.so
/usr/lib/libfreetype.so -lz /usr/lib/libttf.so -ldl -lutempter /usr/lib/libast.so -lSM -lICE /usr/lib/libpcre.so -lXmu -lXext -lX11
-lutil -lm -Wl,--rpath -Wl,/usr/lib:/usr/lib/Eterm
./.libs/libEterm.so: undefined reference to `imlib_render_pixmaps_for_whole_image'
./.libs/libEterm.so: undefined reference to `imlib_context_set_display'
./.libs/libEterm.so: undefined reference to `imlib_render_pixmaps_for_whole_image_at_size'
./.libs/libEterm.so: undefined reference to `imlib_context_set_colormap'
./.libs/libEterm.so: undefined reference to `imlib_context_set_drawable'
./.libs/libEterm.so: undefined reference to `imlib_context_set_visual'
./.libs/libEterm.so: undefined reference to `imlib_free_pixmap_and_mask'
collect2: ld returned 1 exit status
make[2]: *** [Eterm] B³±d 1
make[2]: Leaving directory `/var/tmp/portage/eterm-0.9.3-r4/work/Eterm-0.9.3/src'
make[1]: *** [all-recursive] B³±d 1
make[1]: Leaving directory `/var/tmp/portage/eterm-0.9.3-r4/work/Eterm-0.9.3'
make: *** [all-recursive-am] B³±d 2 

!!! ERROR: x11-terms/eterm-0.9.3-r4 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! make failed

Then you have a USE flag problem. I’m seeing a lot more of them recently.

Anywho, your solution is:

root#> USE="X" emerge imlib imlib2 eterm

This should compile it nicely. :-)

This entry was posted in *nix. Bookmark the permalink.

6 Responses to Gentoo and Eterm Ebuild Problem

  1. synNo Gravatar says:

    Thanks for that! This has been giving me problems for a week now.

  2. stranger says:

    yea, thany you very much

  3. Joe says:

    It was giving me problems too, this was the only result in google

  4. Anonymous says:

    Thanks

  5. celimoll says:

    thanks, helped me very much =)

  6. sebaNo Gravatar says:

    thanks!!!!

Leave a Reply