Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 9 of 9

Thread: Mesa-5.0.2 in Slackware.

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2005
    Posts
    5

    Mesa-5.0.2 in Slackware.

    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.

  2. #2
    Junior Member Newbie
    Join Date
    Apr 2005
    Posts
    5

    Re: Mesa-5.0.2 in Slackware.

    Actually, the second error, is this:
    ./fire: relocation error: /usr/lib/libglut.so.3: undefined symbol: XmuLookupStandardColormap

    Thx

  3. #3
    Guest

    Re: Mesa-5.0.2 in Slackware.

    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

  4. #4
    Junior Member Newbie
    Join Date
    Apr 2005
    Posts
    5

    Re: Mesa-5.0.2 in Slackware.

    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

  5. #5
    Junior Member Regular Contributor
    Join Date
    Mar 2000
    Location
    east norwalk, ct, usa
    Posts
    184

    Re: Mesa-5.0.2 in Slackware.

    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.

  6. #6
    Guest

    Re: Mesa-5.0.2 in Slackware.

    I've got the same problem, how did you solve it?

  7. #7
    Guest

    Re: Mesa-5.0.2 in Slackware.

    I found a slackware .tgz package of mesa 5.01 on:
    http://www3.linuxpackages.net/packag...e-9/pcxz/mesa/

  8. #8
    Junior Member Newbie
    Join Date
    Jul 2004
    Posts
    4

    Re: Mesa-5.0.2 in Slackware.

    I have the same problem too...

  9. #9
    Junior Member Newbie
    Join Date
    Sep 2003
    Location
    San José, Costa Rica
    Posts
    1

    Re: Mesa-5.0.2 in Slackware.

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •