Last week I upgraded my copy of Perl from 5.6.0 (as came with OSX) to
5.6.1 (which supposedly has some bugfixes...). As it worked out, this
caused some errors that I haven't been able to resolve, but I'm hoping I
can just put up with it for now, seeing as the alternatives seem to be
reinstalling X10.1 [I'd rather not risk breaking anything else if this
means downgrading from 10.1.3], crudely moving over /usr/bin/perl from the
10.1 disc [surely a fix can't be that easy], or waiting for 10.2 and the
hope that an overdue Perl upgrade might come with it.
So, suffice to say, my Perl is tarnished at the moment and I realize that
could be causing all my problems here. Replies of "you dumbass", while not
being very helpful, will at least get a giggle out of me at this point.
I'm trying to install Gnucash, which has a list of dependencies an arm & a
half long. Of these, I have managed to install almost all of them, except
for half a dozen Perl modules, all of which in turn depend on Digest::MD5
(digest-md5-pm as Fink notes it). And this package just refuses to build.
The build log is attached to this message, but the failure is coming up
during 'make test':
make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use Test::Harness
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/badfile...........ok
t/files.............dyld: /usr/bin/perl Undefined symbols:
_Perl_sv_2pv_flags
dubious
Test returned status 67 (wstat 17152, 0x4300)
t/md5-aaa...........ok
Failed Test Status Wstat Total Fail Failed List of Failed
-----------------------------------------------------------------------
t/files.t 67 17152 ?? ?? % ??
Failed 1/3 test scripts, 66.67% okay. 0/258 subtests failed, 100.00% okay.
make: *** [test_dynamic] Error 45
### make failed, exit code 2
Failed: compiling digest-md5-pm-2.16-5 failed
And, there I'm stuck.
The annoying thing is that I've already got this module -- and for that
matter a couple of the other missing ones (LWP, for example):
% find /Library/Perl | grep Digest
/Library/Perl/darwin/auto/Digest
/Library/Perl/darwin/auto/Digest/MD5
/Library/Perl/darwin/auto/Digest/MD5/.packlist
/Library/Perl/darwin/auto/Digest/MD5/MD5.bs
/Library/Perl/darwin/auto/Digest/MD5/MD5.bundle
/Library/Perl/darwin/Digest
/Library/Perl/darwin/Digest/MD5.pm
/Library/Perl/LWP/Authen/Digest.pm
So the question[s], aside from "how can I upgrade to Perl 5.6.1 or better
still 5.7.x or 5.8", is how can I either [a] force digest-md5-pm to get
past or ignore that test error, or [b] get Fink to realize that the
library in question is already installed & doesn't need to go in again?
I can't figure out where Fink is determining what Perl libraries are
already installed, whether it's looking in /Library/Perl, how to tell it
to if it isn't, etc. Any hints would be greatly appreciated...
--
Chris Devers [EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/
Reading package info...
Information about 444 packages read in 13 seconds.
pkg digest-md5-pm version ###
pkg digest-md5-pm version 2.16-5
The following package will be installed or updated:
digest-md5-pm
rm -rf digest-md5-pm-2.16-5
mkdir -p /sw/src/digest-md5-pm-2.16-5
tar -xvzf /sw/src/Digest-MD5-2.16.tar.gz
Digest-MD5-2.16/
Digest-MD5-2.16/rfc1321.txt
Digest-MD5-2.16/typemap
Digest-MD5-2.16/hints/
Digest-MD5-2.16/hints/irix_6.pl
Digest-MD5-2.16/hints/dec_osf.pl
Digest-MD5-2.16/MD5.pm
Digest-MD5-2.16/MANIFEST
Digest-MD5-2.16/t/
Digest-MD5-2.16/t/files.t
Digest-MD5-2.16/t/md5-aaa.t
Digest-MD5-2.16/t/badfile.t
Digest-MD5-2.16/Makefile.PL
Digest-MD5-2.16/Changes
Digest-MD5-2.16/README
Digest-MD5-2.16/MD5.xs
perl Makefile.PL PREFIX=/sw INSTALLPRIVLIB=/sw/lib/perl5
INSTALLARCHLIB=/sw/lib/perl5/darwin INSTALLSITELIB=/sw/lib/perl5
INSTALLSITEARCH=/sw/lib/perl5/darwin INSTALLMAN1DIR=/sw/share/man/man1
INSTALLMAN3DIR=/sw/share/man/man3
Testing alignment requirements for U32... no restrictions
Checking if your kit is complete...
Looks good
Writing Makefile for Digest::MD5
make
cp MD5.pm blib/lib/Digest/MD5.pm
/usr/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl
/System/Library/Perl/ExtUtils/xsubpp -typemap /System/Library/Perl/ExtUtils/typemap
-typemap typemap MD5.xs > MD5.xsc && mv MD5.xsc MD5.c
cc -c -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing
-I/usr/local/include -O3 -DVERSION=\"2.16\" -DXS_VERSION=\"2.16\"
-I/System/Library/Perl/darwin/CORE MD5.c
Running Mkbootstrap for Digest::MD5 ()
chmod 644 MD5.bs
rm -f blib/arch/auto/Digest/MD5/MD5.bundle
LD_RUN_PATH="" cc -flat_namespace -bundle -undefined suppress -L/usr/local/lib MD5.o
-o blib/arch/auto/Digest/MD5/MD5.bundle
chmod 755 blib/arch/auto/Digest/MD5/MD5.bundle
cp MD5.bs blib/arch/auto/Digest/MD5/MD5.bs
chmod 644 blib/arch/auto/Digest/MD5/MD5.bs
Manifying blib/man3/Digest::MD5.3
make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin
-I/System/Library/Perl -e 'use Test::Harness qw(&runtests $verbose); $verbose=0;
runtests @ARGV;' t/*.t
t/badfile...........ok
t/files.............dyld: /usr/bin/perl Undefined symbols:
_Perl_sv_2pv_flags
dubious
Test returned status 67 (wstat 17152, 0x4300)
t/md5-aaa...........ok
Failed Test Status Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------------------
t/files.t 67 17152 ?? ?? % ??
Failed 1/3 test scripts, 66.67% okay. 0/258 subtests failed, 100.00% okay.
make: *** [test_dynamic] Error 45
### make failed, exit code 2
Failed: compiling digest-md5-pm-2.16-5 failed