Menu

#145 svn3415 doesn't build on fedor16 86_64

0.3.0
closed-fixed
nobody
None
5
2013-06-29
2012-05-02
wirser
No

Dftd svn 3415 does not build on fedora 16 *6_64 due to Sconstruct problem(s) as follows

dangerdeep]$ scons debug=1 datadir=`pwd`/data
scons: Reading SConscript files ...
Compiling for GNU/Linux Environment (linux2)
Using architecture: x86_64
ERROR: no libGL.so detected!
grep: libGL.so: No such file or directory
GL headers declare glBindProgram, but libGL.so has no such symbol! Ignoring all undefined symbols...
Install binary path: /usr/local/bin
Using data dir: /home/mine/Build/dangerdeep/data
Checking for C library GL... no
Library GL is missing, it must be installed!

$ locate libGL.so
/usr/lib/libGL.so.1
/usr/lib/libGL.so.1.2
/usr/lib64/libGL.so
/usr/lib64/libGL.so.1
/usr/lib64/libGL.so.1.2
######## the first two are 32bit libs and thus useless
in line 263 of Sconstruct I changed "'/usr/lib/'" to "'/usr/lib64/'" and satisfied the condition
*************************************************************

perhaps "archlib" variable from line 203 could be used here
*************************************************************
#############################################################
Checking for C library bz2... no
Library bz2 is missing, it must be installed!

$ locate libbz2
/lib64/libbz2.so.1
/lib64/libbz2.so.1.0.6

###### from pkg "bzip2-devel-1.0.6-3.fc15" not installed ######
/usr/include/bzlib.h
/usr/lib64/libbz2.so
/usr/share/doc/bzip2-devel-1.0.6/manual.html
/usr/share/doc/bzip2-devel-1.0.6/manual.pdf

###### from pkg "bzip2-libs-1.0.6-3.fc15" installed ######
/lib64/libbz2.so.1
/lib64/libbz2.so.1.0.6
/usr/share/doc/bzip2-libs-1.0.6/LICENSE

this is a bit confusing - while troubleshooting I removed ", 'bz2'" from line 305 of Sconstruct I recieved missing bzlib.h error which I resolved installing bzip2-devel. Just for kicks I restored line 305 and was able to compile and run dftd. While this is a fedora packaging oddity I thought you like to know

Discussion

  • Vaclav Ovsik

    Vaclav Ovsik - 2012-05-12

    Hi,
    the same problem on Debian Wheezy amd64 (updated today)

    zito@vasa:~$ uname -a
    Linux vasa 3.2.0-2-amd64 #1 SMP Mon Apr 30 05:20:23 UTC 2012 x86_64 GNU/Linux
    zito@vasa:~$ cd dangerdeep/
    zito@vasa:~/dangerdeep$ scons -k
    scons: Reading SConscript files ...
    Compiling for GNU/Linux Environment (linux2)
    Using architecture: x86_64
    ERROR: no libGL.so detected!
    grep: libGL.so: No such file or directory
    GL headers declare glBindProgram, but libGL.so has no such symbol! Ignoring all undefined symbols...
    Install binary path: /usr/local/bin
    Using data dir: /usr/local/share/dangerdeep
    Checking for C library GL... no
    Library GL is missing, it must be installed!

     
  • pd12

    pd12 - 2012-10-02

    I'm running Ubuntu 12.04 (using KDE so Kubuntu) and got the same problem.

    But I changed /usr/lib64/ to /usr/lib/x86_64-linux-gnu/

    I didn't have to get libbz2 afterwards, it was found during the build with just the above changed.

     
  • Solbu

    Solbu - 2012-10-31

    I have the same problem building on Mageia 2.

    $ scons debug=1
    scons: Reading SConscript files ...
    Compiling for GNU/Linux Environment (linux2)
    Using architecture: x86_64
    ERROR: no libGL.so detected!
    grep: libGL.so: Ingen slik fil eller filkatalog
    GL headers declare glBindProgram, but libGL.so has no such symbol! Ignoring all undefined symbols...
    Install binary path: /usr/local/bin
    Using data dir: /usr/local/share/dangerdeep
    Checking for C library GL... no
    Library GL is missing, it must be installed!

    $ ls -lh /usr/lib64/libGL.so*
    lrwxrwxrwx 1 root root 10 okt. 31 06:52 /usr/lib64/libGL.so -> libGL.so.1*
    lrwxrwxrwx 1 root root 12 okt. 13 22:04 /usr/lib64/libGL.so.1 -> libGL.so.1.2*
    -rwxr-xr-x 1 root root 498K sep. 7 09:37 /usr/lib64/libGL.so.1.2*
    ===

    I suspect the build proccess doesn't fully support 64 bit computers.

     
  • Solbu

    Solbu - 2013-02-05

    I've found the problem. The file SConstruct doesn't for GL in lib64 dirs, i.e. it asumes all systems are 32 bit. i've added a patch that fixes this, on the patch tracker.
    (http://sourceforge.net/tracker/?func=detail&aid=3603474&group_id=71244&atid=535548)

     
  • Thorsten Jordan

    Thorsten Jordan - 2013-06-29
    • status: open --> closed-fixed
    • Group: --> 0.3.0
     
  • Thorsten Jordan

    Thorsten Jordan - 2013-06-29

    Fixed with revision 3418

     

Log in to post a comment.