Hi,
Thanks for the replies, but I'm still having problems.
On Friday, January 9, 2004, at 08:55 PM, Ken Williams wrote:
On Friday, January 9, 2004, at 04:24 PM, Doug Weathers wrote:
This is annoying, because this is the problem that made me decide to
reinitialize the laptop!
Yow! Maybe if you had posted here first, we could have spared you
that inconvenience. Reinitializing the laptop wasn't necessary (as
I'm sure is clear with the benefit of hindsight!).
Well, it wasn't the only problem, and I didn't yet know about this
list. This particular laptop has been upgraded from OS 9 to X 10.0 to
X 10.1 to X 10.2 without ever being reinitialized, so I figured it was
about time :)
I can't upgrade CPAN, because it depends on an up-to-date
Data::Dumper.
Hmm? CPAN.pm depends only on File::Spec and Test::More, and will
accept any version of them.
Hmm indeed. My system seems to want all sorts of stuff to do an
install Bundle::CPAN.
I just tried to do an install Bundle::CPAN, and the following
happened. I have a full transcript for anyone who is interested.
1) it downloaded and unpacked CPAN-1.76.tar.gz
2) it downloaded and unpacked Digest-MD5-2.33.tar.gz
3) it tried to build Digest-MD5-2.33.tar.gz and found a dependency
(Digest::base), so it didn't install
4) it downloaded and expanded Compress-Zlib-1.32.tar.gz
5) it tried to build Compress-Zlib-1.32.tar.gz and failed 6 out of 23
tests (gzdopen), so it didn't install
6) it downloaded and unpacked Archive-Tar-1.08.tar.gz
7) this appeared to install correctly. Hooray!
8) it downloaded and unpacked Data-Dumper-2.121.tar.gz
9) it failed to compile, giving the UTF8_ALLOW_ANY undeclared error
as described before
10) it started to build libnet-1.17 (I didn't see where this got
downloaded)
11) I told it to use my previous settings for libnet
12) it detected a libnet dependency on Socket and failed to install
13) The bundle summary said that there were problems installing
Data::Dumper
14) It downloaded and unpacked and installed TermReadKey-2.21.tar.gz
(yay)
15) it downloaded, unpacked, and installed
Term-ReadLine-Perl-1.0203.tar.gz (yay)
16) it started to build CPAN-1.76.tar.gz
17) bundle summary: Bundle::CPAN had problems with Digest::MD5 and
Compress:Zlib
18) it started to build perl-5.8.2 (where did THAT come from?)
At this point I gave up and wrote this message.
I have another Mac where this command works just fine. The options
for
the cc command look rather different than the above.
What does it look like on the one where it works? Maybe different
versions of ExtUtils::MakeMaker or something?
Here's what installing Data::Dumper looks like on the two computers.
The bad one:
/usr/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl
/System/Library/Perl/ExtUtils/xsubpp -typemap
/System/Library/Perl/ExtUtils/typemap Dumper.xs Dumper.xsc mv
Dumper.xsc Dumper.c
cc -c -g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -Os
-DVERSION=\2.121\ -DXS_VERSION=\2.121\
-I/System/Library/Perl/darwin/CORE Dumper.c
Dumper.xs: In function `Perl_utf8_to_uvchr':
Dumper.xs:29: `UTF8_ALLOW_ANY' undeclared (first use in this function)
Dumper.xs:29: (Each undeclared identifier is reported only once
Dumper.xs:29: for each function it appears in.)
Dumper.xs:29: warning: passing arg 2 of `Perl_utf8_to_uv' makes pointer
from integer without a cast
Dumper.xs:29: too many arguments to function `Perl_utf8_to_uv'
make: *** [Dumper.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
cpan
===
The good one:
===
/usr/bin/perl /System/Library/Perl/ExtUtils/xsubpp -typemap
/System/Library/Perl/ExtUtils/typemap Dumper.xs Dumper.xsc mv
Dumper.xsc Dumper.c
cc -c -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing
-I/usr/local/include -O3 -DVERSION=\2.121\ -DXS_VERSION=\2.121\
-I/System/Library/Perl/darwin/CORE Dumper.c
cc1: warning: changing search order for system directory
/usr/local/include
cc1: warning: as it has already been specified as a non-system
directory
Running Mkbootstrap for Data::Dumper ()
chmod 644 Dumper.bs
rm -f blib/arch/auto/Data/Dumper/Dumper.bundle
LD_RUN_PATH= cc -flat_namespace -bundle -undefined suppress
-L/usr/local/lib Dumper.o -o blib/arch/auto/Data/Dumper/Dumper.bundle
chmod 755 blib/arch/auto/Data/Dumper/Dumper.bundle
cp Dumper.bs blib/arch/auto/Data/Dumper/Dumper.bs
chmod 644 blib/arch/auto/Data/Dumper/Dumper.bs
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -MExtUtils::Command::MM -e
test_harness(0, 'blib/lib', 'blib/arch') t/*.t
t/dumper..ok
t/overloadok
t/pairok
All tests successful.
Files=3, Tests=373, 6 wallclock secs ( 1.95 cusr + 0.31 csys = 2.26
CPU)
/usr/bin/make test -- OK
Running make install
Files found in blib/arch: installing files in