I'm trying to help a user debug installation of our software, and I've
run into a problem I don't know how to deal with. wxWidgets
configuration is failing when it tries to look for the OpenGL
libraries - here is the relevant excerpt from config.log:
configure:33333: checking GL/glu.h presence
configure:33343: gcc -E
-I/home/nat/phenix-dev-1026/build/intel-linux-2.6-x86_64/base/include
···
-
I/home/nat/phenix-dev-1026/build/intel-linux-2.6-x86_64/base/include/freetype2
conftest.c
configure:33349: $? = 0
configure:33369: result: yes
configure:33404: checking for GL/glu.h
configure:33411: result: yes
configure:33419: checking for -lGL
configure:33496: result: no
configure:33501: checking for -lMesaGL
configure:33534: result: no
configure:33548: error: OpenGL libraries not available
The reason for this appears to be that Debian has moved libGL and
friends to /usr/lib/x86_64-linux-gnu, and wxWidgets doesn't know to
look there. I suspect my problem may be related to this thread from
December:
http://groups.google.com/group/wxpython-users/browse_thread/thread/4a5808c1a1ac65ac/09d1ea4feb81dcfe
Is there a straightforward solution, preferably something I can embed
in a shell script that does the actual compilation?
thanks,
Nat