Running FreeBSD 5.0
Making GL Linking GL /usr/bin/ld: cannot find -lGL Linking failed: /usr/local/downloads/Pike-v7.4.20/bin/smartlink /usr/local/downloads/Pike-v7.4.20/build/freebsd-5.0-current-i386/smartlink gcc -Wl,-Bshareable -static-libgcc -I/usr/X11R6/include -I. -I/usr/local/downloads/Pike-v7.4.20/src/post_modules/GL -I/usr/local/downloads/Pike-v7.4.20/build/freebsd-5.0-current-i386 -I/usr/local/downloads/Pike-v7.4.20/src -DHAVE_CONFIG_H -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/pth -pipe -fPIC -DDYNAMIC_MODULE -O -o module.so top.o auto.o -g -O2 -pipe -I/usr/local/include/pth -L/usr/local/lib/pth -lGL -lm -lpthread -lcrypt /usr/lib/libgcc.a -lc /usr/lib/libgcc.a *** Error code 1
Stop in /usr/local/downloads/Pike-v7.4.20/build/freebsd-5.0-current-i386/post_modules/GL. *** Error code 1
Stop in /usr/local/downloads/Pike-v7.4.20/build/freebsd-5.0-current-i386/post_modules/GL. *** Error code 1
Stop in /usr/local/downloads/Pike-v7.4.20/build/freebsd-5.0-current-i386/post_modules. *** Error code 1
Stop in /usr/local/downloads/Pike-v7.4.20/build/freebsd-5.0-current-i386. *** Error code 1
Stop in /usr/local/downloads/Pike-v7.4.20/build/freebsd-5.0-current-i386. *** Error code 1
Stop in /usr/local/downloads/Pike-v7.4.20.
In the last episode (Apr 19), Ryan Elgram said:
Running FreeBSD 5.0
Making GL Linking GL /usr/bin/ld: cannot find -lGL Linking failed: /usr/local/downloads/Pike-v7.4.20/bin/smartlink /usr/local/downloads/Pike-v7.4.20/build/freebsd-5.0-current-i386/smartlink gcc -Wl,-Bshareable -static-libgcc -I/usr/X11R6/include -I. -I/usr/local/downloads/Pike-v7.4.20/src/post_modules/GL -I/usr/local/downloads/Pike-v7.4.20/build/freebsd-5.0-current-i386 -I/usr/local/downloads/Pike-v7.4.20/src -DHAVE_CONFIG_H -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/pth -pipe -fPIC -DDYNAMIC_MODULE -O -o module.so top.o auto.o -g -O2 -pipe -I/usr/local/include/pth -L/usr/local/lib/pth -lGL -lm -lpthread -lcrypt /usr/lib/libgcc.a -lc /usr/lib/libgcc.a *** Error code 1
Stop in /usr/local/downloads/Pike-v7.4.20/build/freebsd-5.0-current-i386/post_modules/GL.
There's a missing -L/usr/X11R6/lib, and an extra -L/usr/local/lib/pth (I don't think you really want to use pth threads?). It's possible you don't have X libraries becuase the test somehow failed becuase of the pth linkage. Try uninstalling pth and rebuilding.
pike-devel@lists.lysator.liu.se