Hello!

While building Ecore (latest CVS), I get

gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/lib/ecore 
-I../../../src/lib/ecore_evas -I../../../src/lib/ecore 
-I../../../src/lib/ecore_evas -I../../../src/lib/ecore_x 
-I../../../src/lib/ecore_fb -I/pkg/evas/include -I/pkg/evas/include -g -O2 
-Wall -MT ecore_evas_directfb.lo -MD -MP -MF .deps/ecore_evas_directfb.Tpo -c 
ecore_evas_directfb.c -o ecore_evas_directfb.o >/dev/null 2>&1
/bin/sh ../../../libtool --tag=CC --mode=link gcc  -I/pkg/evas/include -g -O2 
-Wall   -o libecore_evas.la -rpath /pkg/ecore/lib -version-info 1:0:0 
-L../../../src/lib/ecore_x/.libs -L../../../src/lib/ecore_fb/.libs  
-L../../../src/lib/ecore/.libs ecore_evas.lo ecore_evas_x.lo ecore_evas_fb.lo 
ecore_evas_buffer.lo ecore_evas_directfb.lo 
../../../src/lib/ecore_x/libecore_x.la ../../../src/lib/ecore_fb/libecore_fb.la 
 ../../../src/lib/ecore/libecore.la -L/pkg/evas/lib -levas 
../../../libtool: line 3135: cd: __LIBGL_PATH__: No such file or directory
libtool: link: warning: cannot determine absolute directory name of 
`__LIBGL_PATH__'
grep: __LIBGL_PATH__/libGL.la: No such file or directory
/bin/sed: can't read __LIBGL_PATH__/libGL.la: No such file or directory
libtool: link: `__LIBGL_PATH__/libGL.la' is not a valid libtool archive
make[4]: *** [libecore_evas.la] Error 1
make[4]: Leaving directory 
`/tmp/ecore.heretix/e17/libs/ecore/src/lib/ecore_evas'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/ecore.heretix/e17/libs/ecore/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/ecore.heretix/e17/libs/ecore/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/ecore.heretix/e17/libs/ecore'
make: *** [all] Error 2


The (ATI) GL drivers are there, though

  $ ls /usr/lib/libGL*
  lrwxrwxrwx  1 root root 19 Oct 20 10:36 /usr/lib/libGL.so -> 
/usr/lib/libGL.so.1
  lrwxrwxrwx  1 root root 38 Oct  3 03:35 /usr/lib/libGL.so.1 -> 
/pkg/ati-graphics-tools/lib/libGL.so.1
  lrwxrwxrwx  1 root root 40 Aug 19 10:57 /usr/lib/libGL.so.1.2 -> 
/pkg/ati-graphics-tools/lib/libGL.so.1.2#
  $ fglrxinfo
  display: :0.0  screen: 0
  OpenGL vendor string: ATI Technologies Inc.
  OpenGL renderer string: MOBILITY RADEON 9700 Generic
  OpenGL version string: 1.3.5272 (X4.3.0-8.16.20)


But there is no libGL.la on my system, neither an X11 one, nor an Ati one. Is 
that in general a 
problem for libtool? How should libtool behave in such a situation. And why 
does it interpret
__LIBGL_PATH__ literally instead of expanding it?

I dug into the generated libtool script. The value of $dependency_libs is

  -L/pkg/freetype2/lib /pkg/freetype2/lib/libfreetype.la -lpng -L/pkg/eet/lib 
/pkg/eet/lib/libeet.la /pkg/libjpeg/lib/libjpeg.la /pkg/libjpeg/lib/libjpeg.la 
-L/pkg/edb/lib /pkg/edb/lib/libedb.la -lz -L/pkg/x11/lib 
__LIBGL_PATH__/libGL.la -L/usr/X11R6/lib -lm -ldl -lX11 -lXext -lGL -lGLU 
-lpthread

which, of course is wrong. How to fix this? I am lost.

I did not find a way to tell configure the location of libGL explicitly and 
-disable-ecore-evas-gl
does not work around this problem.


Thanks,
Felix


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to