./configure errors - building enlightenment_16.6

From: Wilkinson, Alex (alex.wilkinson@dsto.defence.gov.au)
Date: Thu Apr 29 2004 - 04:29:00 EDT


Hi all,

I am in the process of building enlightenment_16.6 from source on a
Solaris 8 2/02 s28s_u7wos_08a SPARC box.

Currently the GNU autoconf configure script is failing.

Here is what is happening:

shell> pwd
/var/tmp/enlightenment-0.16.6

shell> ./configure --disable-hints-gnome --disable-hints-kde \
--with-imlib-prefix=/usr/local --with-imlib-exec-prefix=/usr/local

.....

checking for imlib-config... /usr/local/bin/imlib-config
checking for IMLIB - version >= 1.9.8... no
*** Could not run IMLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding IMLIB or finding the wrong
*** version of IMLIB. If it is not finding IMLIB, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
ERROR: Enlightenment needs a system with Imlib 1.9.8 or higher.
configure: error: Fatal Error: no Imlib detected.

Looking closely at the config.log I have found this error:

....

configure:9936: checking for imlib-config
configure:9967: result: /usr/local/bin/imlib-config
configure:9975: checking for IMLIB - version >= 1.9.8
configure:10064: gcc -o conftest -g -O2 -I/usr/local/include\
-I/usr/openwin/include conftest.c -L/usr/local/lib -lImlib -ljpeg -ltiff \
-lungif -lpng -lz -lm -lXext -L/usr/openwin/lib -R/usr/openwin/lib -lSM \
-lICE -lXext -lX11 -lsocket -lnsl >&5
configure:10067: $? = 0
configure:10069: ./conftest
ld.so.1: ./conftest: fatal: libImlib.so.1: open failed: No such file or directory
./configure: line 1: 13025 Killed ./conftest$ac_exeext
configure:10072: $? = 137
configure: program exited with status 137

It looks like there needs to be a -R/usr/local/lib option added to gcc.

I have tryed adding various things to LD_LIBRARY_PATH, LDFLAGS, CFLAGS and
nothing seems to work to get configure past running the test program conftest.

Can anyone suggest a solution to solving this ?

Thanks

 - aW
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:33 EDT