Subject: | PAR 0.89 doesn't build in Mac OS X 10.3 |
myhost [PAR-0.89]# make
perl -e1
cc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -mcpu=970 -mtune=970 -mpowerpc64 -mpowerpc-gpopt -I/usr/local/lib/perl5/5.8.5/darwin-2level/CORE main.c
In file included from mktmpdir.c:1,
from main.c:56:
mktmpdir.h:72:18: 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)
make[1]: *** [main.o] Error 1
make: *** [subdirs] Error 2
myhost [PAR-0.89]# perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=darwin, osvers=7.4.1, archname=darwin-2level
uname='darwin derkins.local 7.4.1 darwin kernel version 7.4.1: wed may 12 18:54:39 pdt 2004; root:xnuxnu-517.6.11.obj~5release_ppc power macintosh powerpc '
config_args=''
hint=previous, 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 -mcpu=970 -mtune=970 -mpowerpc64 -mpowerpc-gpopt',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -mcpu=970 -mtune=970 -mpowerpc64 -mpowerpc-gpopt -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -mcpu=970 -mtune=970 -mpowerpc64 -mpowerpc-gpopt'
ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 1640)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
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_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: USE_LARGE_FILES
Built under darwin
Compiled at Jul 24 2004 15:17:50
%ENV:
PERL_READLINE_NOWARN=""
@INC:
/usr/local/lib/perl5/5.8.5/darwin-2level
/usr/local/lib/perl5/5.8.5
/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level
/usr/local/lib/perl5/site_perl/5.8.5
/usr/local/lib/perl5/site_perl
myhost [PAR-0.89]# uname -a
Darwin myhost.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc