Difficulty Installing epplets source (libImlib2)
running red het 8.0 (2.4.18-14)
currently using Gnome with enlightenment, looking to use E window manager exclusively. I am having a problem getting the ./configure for epplets-0.7.tar.gz to recognize an important library. (Although I have had so many problems with this library, it makes me wonder . . .) this is the error from the ./configure: checking for Imlib_init in -lImlib... no WARNING: Imlib was not found or did not correctly link. Please check config.log to see what the error was. I will attempt to continue, but things may go wrong. configure: warning: WARNING: libImlib not found. Attempting to continue anyway. This is from the config.log file: configure:7451: gcc -o conftest -g -O2 -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include conftest.c -L/usr/lib -lImlib -ljpeg -ltiff -lungif -lpng -lz -lm -lXext -L/usr/X11R6/lib -lSM -lICE -lXext -lX11 1>&5 cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory /usr/bin/ld: cannot find -lImlib . . . (is this where my problem lies??) collect2: ld returned 1 exit status configure: failed program was: #line 7444 "configure" #include "confdefs.h" int main() { ; return 0; } This is the error from the make: make all-recursive make[1]: Entering directory `/usr/local/src/enlightenment/epplets-0.7' Making all in api make[2]: Entering directory `/usr/local/src/enlightenment/epplets-0.7/api' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/X11R6/include -I/usr/lo cal/include -I/usr/X11R6/include -g -O2 -I/usr/X11R6/include -c epplet.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -g -O2 -I/usr/X11R6/include -c epplet.c -fPIC -DPIC -o .libs/epplet.lo cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory In file included from epplet.c:2: epplet.h:17:19: Imlib.h: No such file or directory In file included from epplet.c:2: epplet.h:62: parse error before "ImlibImage" epplet.h:62: warning: no semicolon at end of struct or union epplet.h:64: warning: data definition has no type or storage class epplet.h:127: parse error before '*' token epplet.h:127: warning: data definition has no type or storage class epplet.h:529: parse error before "Epplet_make_rgb_buf" epplet.h:529: warning: data definition has no type or storage class . . . (a bunch of errors like these from Epplets_*_* because of imlib2) epplet.c: In function `Epplet_draw_popupbutton': epplet.c:3863: `ImlibImage' undeclared (first use in this function) . . . (more of the same) make[2]: *** [epplet.lo] Error 1 make[2]: Leaving directory `/usr/local/src/enlightenment/epplets-0.7/api' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/enlightenment/epplets-0.7' make: *** [all-recursive-am] Error 2 Here is what I have tried: [batian@localhost epplets-0.7]$ locate libImlib /usr/local/lib/libImlib2.so.1.1.2 /usr/local/lib/libImlib2.so.1 /usr/local/lib/libImlib2.so /usr/local/lib/libImlib2.la /usr/local/lib/libImlib2.a . . . (so i know it exists) [batian@localhost enlightenment-0.16.7.1]$ cat config.log | grep Imlib configure:13424: checking for imlib_create_image in -lImlib2 configure:13454: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lImlib2 -L/usr/local/lib -lImlib2 -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz -lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib >&5 ac_cv_lib_Imlib2_imlib_create_image=yes IMLIB_LIBS='-L/usr/local/lib -lImlib2 -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz -lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib' . . . (enlightenment could find it and compiled rather easily) didn't see any options for the "configure --help" that would allow me to explicitly name the directory of the library ( are the Directory and file names options in ./configure usually for the location of files which are compiled and installed on the system or for searching paths which are needed to configure and compile the software?) Anyway, after installing libImlib2 (before trying epplets, and have not reinstalled or dual installed), did a "ldconfig" to no avail. Any suggestions as to how to get ./configure to recognize that I have libImlib2 installed? Thanks |
Looks like you need to install imlib not imlib2. It's ok to install both they won't conflict. Also if you install imlib from RPM, remeber to install the developmnent package also. Here's a link to the latest imlib src package ftp://ftp.gnome.org/pub/gnome/source...-1.9.14.tar.gz
|
E-XMMS epplet
I have the same problem, except in trying to compile the E-XMMS epplet, I do have both libimlib and libimlib2 installed, according to and output from ldconfig -p :
libgdk_imlib.so.1 (libc6) => /usr/lib/libgdk_imlib.so.1 libImlib2.so.1 (libc6) => /usr/lib/libImlib2.so.1 libImlib.so.11 (libc6) => /usr/lib/libImlib.so.11 libImlib.so (libc6) => /usr/lib/libImlib.so Also im running debian, and installed the enlightenment and epplets package, along with the libepplet-dev package, so im not sure what the problem is, ive tried symbolically linking it to give me the libImlib.so but that didnt seem to help :/ |
Confirming that this issue still exists in Debian after 7 years!
|
All times are GMT -5. The time now is 05:18 PM. |