Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 13525
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: Nobody in particular
Requestors: fxn [...] hashref.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: PAR 0.89 apparently fails to compile on OS X (Tiger)
There's a PASS for PAR 0.89 in OS X, but I've found this: *** BEGIN MAKE TRACE 1 *** /usr/local/bin/perl -e1 cc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/ local/include -I/usr/local/lib/perl5/5.8.7/darwin-2level/CORE main.c In file included from mktmpdir.c:1, from main.c:56: mktmpdir.h:72:18: error: sha1.c: No such file or directory In file included from main.c:56: mktmpdir.c: In function 'par_mktmpdir': mktmpdir.c:57: error: 'SHA_INFO' undeclared (first use in this function) mktmpdir.c:57: error: (Each undeclared identifier is reported only once mktmpdir.c:57: error: for each function it appears in.) mktmpdir.c:57: error: parse error before 'sha_info' mktmpdir.c:141: error: 'sha_info' undeclared (first use in this function) {standard input}:654:non-relocatable subtraction expression, "_PL_statbuf" minus "L00000000005$pb" {standard input}:654:symbol: "_PL_statbuf" can't be undefined in a subtraction expression {standard input}:653:non-relocatable subtraction expression, "_PL_statbuf" minus "L00000000005$pb" {standard input}:653:symbol: "_PL_statbuf" can't be undefined in a subtraction expression {standard input}:648:non-relocatable subtraction expression, "_PL_statbuf" minus "L00000000005$pb" {standard input}:648:symbol: "_PL_statbuf" can't be undefined in a subtraction expression {standard input}:647:non-relocatable subtraction expression, "_PL_statbuf" minus "L00000000005$pb" {standard input}:647:symbol: "_PL_statbuf" can't be undefined in a subtraction expression make[1]: *** [main.o] Error 1 make: *** [subdirs] Error 2 *** END MAKE TRACE 1 *** Sound recommended in freenode#perl to execute perl myldr/sha1.c.PL by hand. That helped and we got one step forward, now there's another error: *** BEGIN MAKE TRACE 2 *** cc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/ local/include -I/usr/local/lib/perl5/5.8.7/darwin-2level/CORE my_par_pl.c env MACOSX_DEPLOYMENT_TARGET=10.3 cc main.o my_par_pl.o -L/usr/local/lib /usr/ local/lib/perl5/5.8.7/darwin-2level/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/ perl5/5.8.7/darwin-2level/CORE -lperl -ldl -lm -lc --output ./par /usr/bin/ld: multiple definitions of symbol _PL_statbuf main.o definition of _PL_statbuf in section (__DATA,__common) /usr/local/lib/perl5/5.8.7/darwin-2level/CORE/libperl.a(globals.o) definition of _PL_statbuf in section (__DATA,__common) collect2: ld returned 1 exit status make[1]: *** [par] Error 1 make: *** [subdirs] Error 2 *** END MAKE TRACE 2 *** I add below perl -V in case it may provide any hint. -- fxn % perl -V Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=darwin, osvers=8.1.0, archname=darwin-2level uname='darwin conway.local 8.1.0 darwin kernel version 8.1.0: tue may 10 18:16:08 pdt 2005; root:xnu-792.1.5.obj~4release_ppc power macintosh powerpc ' config_args='-de' 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 -I/usr/local/include', optimize='-O3', cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno- strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.0.0 (Apple Computer, Inc. build 5026)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 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' 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_dlopen.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: USE_LARGE_FILES Built under darwin Compiled at Jul 4 2005 03:06:21 @INC: /usr/local/lib/perl5/5.8.7/darwin-2level /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .
I'm having no problem with PAR 0.91 on OS X 10.4.6. Cabn you reproduce with the current release of PAR?