PDA

View Full Version : Mesa-5.0.2 in Slackware.



Zarnick
09-10-2003, 11:02 AM
Hi, I have Slack9.0, and I'm having this problem while installing Mesa-5.0.2
Here's what I've done:
#cd /usr/local/src/Mesa-5.0.2/
#./configure
(works fine till here, but when I run make...)
#make
Making all in math
make[3]: Entering directory `/usr/local/src/Mesa-5.0.2/src/math'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src -g -O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D_REENTRANT -DPTHREADS -c -o m_debug_clip.lo `test -f 'm_debug_clip.c' | | echo './'`m_debug_clip.c
../../libtool: line 1: s%^.*/%%: No such file or directory
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
../../libtool: line 1: -e: command not found
: compile: cannot determine name of library object from `'
make[3]: *** [m_debug_clip.lo] Error 1
make[3]: Leaving directory `/usr/local/src/Mesa-5.0.2/src/math'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/Mesa-5.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/Mesa-5.0.2'
make: *** [all] Error 2

Then i've tried the old way for building
#cp Makefile.X11 Makefile
#make linux
(seems to work fine, but when I tried to run any demos)
./fire: relocation error: /usr/lib/libGL.so.1: undefined symbol: glColor3bv

What's the problem?
And how the heck I can solve it?
thx.

Zarnick
09-10-2003, 11:21 AM
Actually, the second error, is this:
./fire: relocation error: /usr/lib/libglut.so.3: undefined symbol: XmuLookupStandardColormap

Thx

09-11-2003, 11:42 AM
The problem is that the libtool from slackware is not the libtool Mesa expects. I guess that once again has some idiot made an stupid update of a tool breaking all backwards compatibility.

The soultion could be a precompiled library or the one you are using with some extra commands like
-L/usr/X11R6/lib -lXmu -lX11 -lXi -lXext

Zarnick
09-11-2003, 07:14 PM
Nop, it didn't solved:
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin/ld: cannot find -lXmu
collect2: ld returned 1 exit status

Thx

jmg
09-12-2003, 04:52 AM
Zarnick,

Is your problem that the demos won't build, or that they won't run?

Make sure you can find libXmu.so.whatever on your system (probably in /usr/X11R6/lib) -- then make sure ld can find it: check ld.so.conf and if necessary run ldconfig.

09-13-2003, 04:54 PM
I've got the same problem, how did you solve it?

09-13-2003, 04:58 PM
I found a slackware .tgz package of mesa 5.01 on:
http://www3.linuxpackages.net/packages/Slackware-9/pcxz/mesa/

KOS
09-14-2003, 05:06 AM
I have the same problem too...

Ignacio
09-26-2003, 08:09 AM
Originally posted by Zarnick:
./fire: relocation error: /usr/lib/libGL.so.1: undefined symbol: glColor3bv

thx.[/B]

Maybe it's a problem of dependences. There is a command which searches for the libraries that your program uses.

You can try this command: strace

So, now you can see the dependences and make (if necessary) a symbolic link to the place where the program looks for the libraries.

Tell me if this resolve your problem. http://www.opengl.org/discussion_boards/ubb/smile.gif