Subject: | make fails on Darwin Leopard |
I don't have a clue why this is happening.
phred@pooky ~/Clone-0.28 $ make
cp Clone.pm blib/lib/Clone.pm
AutoSplitting blib/lib/Clone.pm (blib/lib/auto/Clone)
/Users/phred/dev/perl/bin/perl
/Users/phred/dev/perl/lib/5.8.8/ExtUtils/xsubpp -typemap
/Users/phred/dev/perl/lib/5.8.8/ExtUtils/typemap Clone.xs > Clone.xsc
&& mv Clone.xsc Clone.c
cc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
-pipe -Wdeclaration-after-statement -I/usr/local/include
-I/opt/local/include -O3 -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\"
"-I/Users/phred/dev/perl/lib/5.8.8/darwin-2level/CORE" Clone.c
Running Mkbootstrap for Clone ()
chmod 644 Clone.bs
rm -f blib/arch/auto/Clone/Clone.bundle
env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup
-L/usr/local/lib -L/opt/local/lib Clone.o -o
blib/arch/auto/Clone/Clone.bundle \
\
/usr/bin/ld:
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib unknown
flags (type) of section 6 (__TEXT,__dof_plockstat) in load command 0
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Clone/Clone.bundle] Error 1
phred@pooky ~/Clone-0.28 $ perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=darwin, osvers=8.8.1, archname=darwin-2level
uname='darwin pooky.redhotpenguin.com 8.8.1 darwin kernel version
8.8.1: mon sep 25 19:42:00 pdt 2006; root:xnu-792.13.8.obj~1release_i386
i386 i386 '
config_args='-Dprefix=/Users/phred/dev/perl/ -DDEBUGGING'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -I/opt/local/include',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -I/opt/local/include'
ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5363)',
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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='
-L/usr/local/lib -L/opt/local/lib'
libpth=/usr/local/lib /opt/local/lib /usr/lib
libs=-ldbm -ldl -lm -lc
perllibs=-ldl -lm -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup
-L/usr/local/lib -L/opt/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO
Built under darwin
Compiled at Feb 19 2007 22:13:27
%ENV:
PERL5LIB="/sw/lib/perl5:/sw/lib/perl5/darwin"
@INC:
/sw/lib/perl5
/sw/lib/perl5/darwin
/Users/phred/dev/perl/lib/5.8.8/darwin-2level
/Users/phred/dev/perl/lib/5.8.8
/Users/phred/dev/perl/lib/site_perl/5.8.8/darwin-2level
/Users/phred/dev/perl/lib/site_perl/5.8.8
/Users/phred/dev/perl/lib/site_perl
.