Gerrit Wichert wrote:
Hi,
I'm just trying to upgrade my Wx::Alien to 0.44 via CPANPLUS
and get the following error:
...
checking for -lSM - X11 session management... yes
checking for OpenGL headers... found in /usr/include
checking for GL/gl.h... yes
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
configure: error: OpenGL libraries not available
system: echo exit | sh ../configure
--prefix=/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/Alien/wxWidgets/gtk_2_8_10_uni
--with-gtk --disable-compat24 --enable-unicode --disable-debug
--disable-monolithic --disable-universal_binary: 256 at Build line 59
To me it seems that wx::Alien trys to build with opengl enabled and
fails to find the supporting libraries.
This is very strange, since i have accepted the default configuration
for opengl which says no!
Normaly the CPANPLUS asks me about the configuration stuff which
doesen't happend with 0.44.
so i changes to the download die and run perl Build.pl manually which
then ask about opengl with default no.
i accepted an ran perl Build which again bangs out whith the error above.
This is strange: from the configure command line above A::wx is doing
the right thing; could you try if:
$ cd wxWidgets-2.8.10
$ ./configure <cut&paste command line above> --without-opengl
works (i.e. it does not try to check for OpenGL)?
any advice ?
Thanks for reporting; I will have a look later.
Regards,
Mattia