Subject: | Fails to build with v5.9.2 darwin-thread-multi-64int-2level |
When running make here is the output:
------------------------------------------------------------------------------
/usr/local/bin/perl5.9.2 Build --makefile_env_macros 1
cc -I./vutil -I/usr/local/lib/perl5/5.9.2/darwin-thread-multi-64int-2level/CORE -c -fno-common -DPERL_DARWIN -no-cpp-precomp -DPERL_Y2KWARN -fno-strict-aliasing -pipe -O3 -o ./vutil/vutil.o ./vutil/vutil.c
In file included from ./vutil/vutil.c:1:
./vutil/vutil.h:14: error: conflicting types for 'Perl_scan_version'
/usr/local/lib/perl5/5.9.2/darwin-thread-multi-64int-2level/CORE/proto.h:519: error: previous declaration of 'Perl_scan_version' was here
error building .o file from './vutil/vutil.c' at /usr/local/lib/perl5/site_perl/5.9.2/Module/Build/Base.pm line 2533.
make: *** [all] Error 2
------------------------------------------------------------------------------
And here's my perl -V output:
Summary of my perl5 (revision 5 version 9 subversion 2) configuration:
Platform:
osname=darwin, osvers=8.0.0, archname=darwin-thread-multi-64int-2level
uname='darwin dan-kubbs-power-mac-g5.local 8.0.0 darwin kernel version 8.0.0: sat mar 26 14:15:22 pst 2005; root:xnu-792.obj~1release_ppc power macintosh powerpc '
config_args='-de -Dinc_version_list=none -Dperladmin=information_technology@autopilotmarketing.com -Dcf_email=information_technology@autopilotmarketing.com -Accflags=-DPERL_Y2KWARN -Dusethreads -Dusedevel -Duse64bitint -DDEBUGGING'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -DPERL_Y2KWARN -fno-strict-aliasing -pipe',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -DPERL_Y2KWARN -fno-strict-aliasing -pipe'
ccversion='', gccversion='4.0.0 20041026 (Apple Computer, Inc. build 4061)', gccosandvers='darwin8'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long long', ivsize=8, 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'
libpth=/usr/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_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under darwin
Compiled at Jul 29 2005 19:44:44
@INC:
/usr/local/lib/perl5/5.9.2/darwin-thread-multi-64int-2level
/usr/local/lib/perl5/5.9.2
/usr/local/lib/perl5/site_perl/5.9.2/darwin-thread-multi-64int-2level
/usr/local/lib/perl5/site_perl/5.9.2
/usr/local/lib/perl5/site_perl
.
------------------------------------------------------------------------------
I'd be happy to test anything you might want. Unfortunately I'm not a C developer, otherwise I would submit a patch.