Subject: | Build on Intel Mac OS X v 10.5.6 Failed |
Perl version information and build log reproduced below. Please do let
me know if I can be of any more assistance.
Perl Info:
-------------------------
tim$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=darwin, osvers=9.0, archname=darwin-thread-multi-2level
uname='darwin b71.apple.com 9.0 darwin kernel version 9.2.0: mon feb
18 15:29:49 pst 2008; root:xnu-1228.3.14~1release_i386 i386 '
config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe
-Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-arch i386 -arch ppc -g -pipe -fno-common
-DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
-Wdeclaration-after-statement -I/usr/local/include',
optimize='-O3',
cppflags='-no-cpp-precomp -g -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement
-I/usr/local/include'
ccversion='', gccversion='4.0.1 (Apple Inc. build 5465)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc -mmacosx-version-min=10.5.1', ldflags ='-arch i386 -arch ppc
-L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true,
libperl=libperl.dylib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-arch i386 -arch ppc -bundle -undefined
dynamic_lookup -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API
Locally applied patches:
fix for regcomp CVE-2007-5116 security vulnerability
Built under darwin
Compiled at May 31 2008 00:04:31
Build Log:
-------------------------
cpan[5]> install OpenGL
Running install for module 'OpenGL'
Running make for B/BF/BFREE/OpenGL-0.57.tar.gz
Fetching with LWP:
ftp://mirrors2.kernel.org/pub/CPAN/authors/id/B/BF/BFREE/OpenGL-0.57.tar.gz
Fetching with LWP:
ftp://mirrors2.kernel.org/pub/CPAN/authors/id/B/BF/BFREE/CHECKSUMS
Checksum for /Users/tim/Library/Application
Support/.cpan/sources/authors/id/B/BF/BFREE/OpenGL-0.57.tar.gz ok
OpenGL-0.57/
OpenGL-0.57/CHANGES
OpenGL-0.57/COPYRIGHT
OpenGL-0.57/examples/
OpenGL-0.57/examples/clip
OpenGL-0.57/examples/cube
OpenGL-0.57/examples/depth
OpenGL-0.57/examples/double
OpenGL-0.57/examples/fun
OpenGL-0.57/examples/glu_test
OpenGL-0.57/examples/light
OpenGL-0.57/examples/plane
OpenGL-0.57/examples/planets
OpenGL-0.57/examples/quest
OpenGL-0.57/examples/README
OpenGL-0.57/examples/simple
OpenGL-0.57/examples/smooth
OpenGL-0.57/examples/spaceship.nff
OpenGL-0.57/examples/stan.ppm
OpenGL-0.57/examples/texhack
OpenGL-0.57/examples/texture
OpenGL-0.57/examples/tk_demo
OpenGL-0.57/examples/tk_steal
OpenGL-0.57/examples/try
OpenGL-0.57/examples/wolf.bin
OpenGL-0.57/fragment.arb
OpenGL-0.57/fragment.cg
OpenGL-0.57/fragment.glsl
OpenGL-0.57/FreeGLUT/
OpenGL-0.57/FreeGLUT/freeglut.dll
OpenGL-0.57/FreeGLUT/freeglut.lib
OpenGL-0.57/FreeGLUT/README.txt
OpenGL-0.57/genvars.pl
OpenGL-0.57/glext_procs.h
OpenGL-0.57/glpm_const.h
OpenGL-0.57/glut_const.h
OpenGL-0.57/glut_util.h
OpenGL-0.57/glu_const.h
OpenGL-0.57/glu_util.h
OpenGL-0.57/glx_const.h
OpenGL-0.57/glx_util.h
OpenGL-0.57/gl_const.h
OpenGL-0.57/gl_util.c
OpenGL-0.57/gl_util.h
OpenGL-0.57/include/
OpenGL-0.57/include/GL/
OpenGL-0.57/include/GL/freeglut.h
OpenGL-0.57/include/GL/freeglut_ext.h
OpenGL-0.57/include/GL/freeglut_std.h
OpenGL-0.57/include/GL/gl.h
OpenGL-0.57/include/GL/glext.h
OpenGL-0.57/include/GL/glprocs.h
OpenGL-0.57/include/GL/glut.h
OpenGL-0.57/include/GL/glxext.h
OpenGL-0.57/include/GL/SGIFreeSWLicB.1.1.pdf
OpenGL-0.57/include/GL/wglext.h
OpenGL-0.57/INSTALL
OpenGL-0.57/isosurf.bin
OpenGL-0.57/isosurf.pl
OpenGL-0.57/KNOWN_PROBLEMS
OpenGL-0.57/Makefile.PL
OpenGL-0.57/MANIFEST
OpenGL-0.57/menutest.pl
OpenGL-0.57/META.yml
OpenGL-0.57/oga.pl
OpenGL-0.57/OpenGL.pm
OpenGL-0.57/OpenGL.pod
OpenGL-0.57/OpenGL.xs
OpenGL-0.57/os2pm_X.h
OpenGL-0.57/ppport.h
OpenGL-0.57/README
OpenGL-0.57/README.cygwin
OpenGL-0.57/README.FreeBSD
OpenGL-0.57/README.macosx
OpenGL-0.57/README.nvidia
OpenGL-0.57/README.os2
OpenGL-0.57/README.Win32
OpenGL-0.57/SUPPORTS
OpenGL-0.57/test.jpg
OpenGL-0.57/test.pl
OpenGL-0.57/test.png
OpenGL-0.57/test.tga
OpenGL-0.57/TODO
OpenGL-0.57/typemap
OpenGL-0.57/utils/
OpenGL-0.57/utils/cleanup.pl
OpenGL-0.57/utils/const.pl
OpenGL-0.57/utils/exports.pl
OpenGL-0.57/utils/exports.txt
OpenGL-0.57/utils/glext_procs.pl
OpenGL-0.57/utils/glversion.c
OpenGL-0.57/utils/hdr_diff.pl
OpenGL-0.57/utils/Makefile
OpenGL-0.57/utils/Makefile.cygwin
OpenGL-0.57/utils/Makefile.macosx
OpenGL-0.57/utils/makefile.mak
OpenGL-0.57/utils/makefile.mingw
OpenGL-0.57/utils/mingw.bat
OpenGL-0.57/utils/opengl32.txt
OpenGL-0.57/utils/wgl_ext.txt
OpenGL-0.57/vertex.arb
OpenGL-0.57/vertex.cg
OpenGL-0.57/vertex.glsl
CPAN.pm: Going to build B/BF/BFREE/OpenGL-0.57.tar.gz
2009-05-09 03:15:21.152 glversion[94891:10b] GLUT Warning: invalid
glutGet parameter: 508
Found GLUT - unknown version
Using interface: AGL
Checking if your kit is complete...
Looks good
Writing Makefile for OpenGL
cp OpenGL.pm blib/lib/OpenGL.pm
AutoSplitting blib/lib/OpenGL.pm (blib/lib/auto/OpenGL)
cp Config.pm blib/lib/OpenGL/Config.pm
cp OpenGL.pod blib/lib/OpenGL.pod
/usr/bin/perl /System/Library/Perl/5.8.8/ExtUtils/xsubpp -noprototypes
-typemap /System/Library/Perl/5.8.8/ExtUtils/typemap -typemap typemap
OpenGL.xs > OpenGL.xsc && mv OpenGL.xsc OpenGL.c
cc -c -Iinclude -I/usr/X11/include -arch i386 -arch ppc -g -pipe
-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
-Wdeclaration-after-statement -I/usr/local/include -O3
-DVERSION=\"0.57\" -DXS_VERSION=\"0.57\"
"-I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE"
-DHAVE_VER -DHAVE_GL -DHAVE_GLU -DHAVE_GLUT OpenGL.c
cc -c -Iinclude -I/usr/X11/include -arch i386 -arch ppc -g -pipe
-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
-Wdeclaration-after-statement -I/usr/local/include -O3
-DVERSION=\"0.57\" -DXS_VERSION=\"0.57\"
"-I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE"
-DHAVE_VER -DHAVE_GL -DHAVE_GLU -DHAVE_GLUT gl_util.c
Running Mkbootstrap for OpenGL ()
chmod 644 OpenGL.bs
rm -f blib/arch/auto/OpenGL/OpenGL.bundle
cc -mmacosx-version-min=10.5.1 -arch i386 -arch ppc -bundle -undefined
dynamic_lookup -L/usr/local/lib OpenGL.o gl_util.o -framework OpenGL
-framework GLUT -o blib/arch/auto/OpenGL/OpenGL.bundle \
\
chmod 755 blib/arch/auto/OpenGL/OpenGL.bundle
cp OpenGL.bs blib/arch/auto/OpenGL/OpenGL.bs
chmod 644 blib/arch/auto/OpenGL/OpenGL.bs
Manifying blib/man3/OpenGL.3pm
BFREE/OpenGL-0.57.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
Can't load 'blib/arch/auto/OpenGL/OpenGL.bundle' for module OpenGL:
dlopen(blib/arch/auto/OpenGL/OpenGL.bundle, 2): Symbol not found:
_glutBitmapHeight
Referenced from: /Users/tim/Library/Application
Support/.cpan/build/OpenGL-0.57-bo6ZNN/blib/arch/auto/OpenGL/OpenGL.bundle
Expected in: dynamic lookup
at test.pl line 9
Compilation failed in require at test.pl line 9.
BEGIN failed--compilation aborted at test.pl line 9.
make: *** [test_dynamic] Error 2
BFREE/OpenGL-0.57.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports BFREE/OpenGL-0.57.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
BFREE/OpenGL-0.57.tar.gz : make_test NO