latest cvs build problem on linux?

You have tested TA3D, share your experience /
Vous avez testé TA3D, venez partager votre expérience
Post Reply
User avatar
EvanR
Posts: 46
Joined: Tue Oct 31, 2006 6:24 pm
Location: United States
Contact:

latest cvs build problem on linux?

Post by EvanR » Fri Jan 26, 2007 8:04 am

I tried to build the latest CVS on two linux machines and got the same problem. None of the GLU functions were found at the linking stage. I checked the src/Makefile and -lGLU is conspicuously missing! I added it and everything builds fine. Since I dont understand automake, can someone tell me why ./configure didn't do this for me and how to fix it?

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Sat Jan 27, 2007 12:09 am

configure tries to find the lib path but when it fails it just doesn't add it to the compiler arguments, so it doesn't build.

To fix this, try to run ldconfig as root. If it still doesn't find it then you can specify it like this:
./configure CXXFLAGS="-lGLU"

it should do it.
=>;-D Penguin Powered

Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests