If you try to build eterm with the -imlib use value the compiling phase will give you this error: ************* .libs/libEterm.so: undefined reference to `update_cmod_tables' .libs/libEterm.so: undefined reference to `imlib_context_set_image' collect2: ld returned 1 exit status make[2]: *** [Eterm] Error 1 make[2]: Leaving directory `/var/tmp/portage/eterm-0.9.1-r4/work/Eterm-0.9.1/src ' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/eterm-0.9.1-r4/work/Eterm-0.9.1' make: *** [all-recursive-am] Error 2 make all-recursive make[1]: Entering directory `/var/tmp/portage/eterm-0.9.1-r4/work/Eterm-0.9.1' Making all in src make[2]: Entering directory `/var/tmp/portage/eterm-0.9.1-r4/work/Eterm-0.9.1/sr c' /bin/sh ../libtool --mode=link gcc -mcpu=i686 -O3 -pipe -L/usr/lib -L/usr/X11R6 /lib -L/usr/lib -L/usr/X11R6/lib -o Eterm -rpath /usr/lib:/usr/lib/Eterm main.o libEterm.la -last -lSM -lICE -lXmu -lXext -lX11 -lutil -lm gcc -mcpu=i686 -O3 -pipe -L/usr/lib -L/usr/X11R6/lib -L/usr/lib -L/usr/X11R6/lib -o .libs/Eterm main.o .libs/libEterm.so -last -lSM -lICE -lXmu -lXext -lX11 -lu til -lm -last -lSM -lICE -lXmu -lXext -lX11 -lutil -lm -Wl,--rpath -Wl,/usr/lib: /usr/lib/Eterm .libs/libEterm.so: undefined reference to `update_cmod_tables' .libs/libEterm.so: undefined reference to `imlib_context_set_image' collect2: ld returned 1 exit status make[2]: *** [Eterm] Error 1 make[2]: Leaving directory `/var/tmp/portage/eterm-0.9.1-r4/work/Eterm-0.9.1/src ' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/eterm-0.9.1-r4/work/Eterm-0.9.1' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -90, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/x11-terms/eterm/eterm-0.9.1-r4.ebuild . ************** I have not tried to build it with imlib support as i don't like to have to install edb and imlib2 (i have imlib(1) installed). Hope this will help! :)
Naz, Seems like imlib2 should be a required dependency for this, not an optional one.
Eterm requires some companion libraries to be fully functional. You need to have libast installed to build/run Eterm; you can get it from the eterm.org download page. Also, in order to have the capability to load and render images, you must install Imlib2 as well. This from thw website of eterm. So it should remain optional. I think the error is in the ./configure , as i noted that the --without-imlib option does not exist (only --with-imlib).
Ok modified the USE variables stuff and commited the changes that should be it for this bug