Hey all,
I've got a strange problem with a new installation of OS 10.2. Here's
what I did.
1) Did a clean install of OS 10.2, reformatting the disk in the
process.
2) Installed the December 2002 developer tool CD from an image
downloaded from Apple Developer Connection.
3) Did NOT run Software Update.
4) sudo perl -MCPAN -e shell
5) answered the configuration questions with all defaults (and picked
three CPAN mirrors)
5) install Data::Dumper
6) Got the following output:
==============
[flatland:~] dougw% sudo perl -MCPAN -e shell
cpan shell -- CPAN exploration and modules installation (v1.52)
ReadLine support available (try ``install Bundle::CPAN'')
cpan> install Data::Dumper
Going to read /Users/dougw/.cpan/sources/authors/01mailrc.txt.gz
Going to read
/Users/dougw/.cpan/sources/modules/02packages.details.txt.gz
Scanning cache /Users/dougw/.cpan/build for sizes
There's a new CPAN.pm version (v1.76) available!
[Current version is v1.52]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless
upgrade
while we are running...
Going to read /Users/dougw/.cpan/sources/modules/03modlist.data.gz
Running make for I/IL/ILYAM/Data-Dumper-2.121.tar.gz
CPAN: MD5 security checks disabled because MD5 not installed.
Please consider installing the MD5 module.
Data-Dumper-2.121
Data-Dumper-2.121/t
Data-Dumper-2.121/t/overload.t
Data-Dumper-2.121/t/dumper.t
Data-Dumper-2.121/t/pair.t
Data-Dumper-2.121/Dumper.xs
Data-Dumper-2.121/Makefile.PL
Data-Dumper-2.121/MANIFEST
Data-Dumper-2.121/Dumper.pm
Data-Dumper-2.121/Todo
Data-Dumper-2.121/Changes
Removing previously used /Users/dougw/.cpan/build/Data-Dumper-2.121
CPAN.pm: Going to build I/IL/ILYAM/Data-Dumper-2.121.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Data::Dumper
mkdir blib
mkdir blib/lib
mkdir blib/lib/Data
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Data
mkdir blib/arch/auto/Data/Dumper
mkdir blib/lib/auto
mkdir blib/lib/auto/Data
mkdir blib/lib/auto/Data/Dumper
cp Dumper.pm blib/lib/Data/Dumper.pm
/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
Oops, make had returned bad status
Running make install
Oops, make had returned bad status
cpan>
===================
This is annoying, because this is the problem that made me decide to
reinitialize the laptop!
I can't upgrade CPAN, because it depends on an up-to-date
Data::Dumper.
I have another Mac where this command works just fine. The options for
the cc command look rather different than the above.
What do you think is the problem, and do you have any suggestions for
me that might help me fix it?
Thanks much,
Doug
--
Doug Weathers, Network Administrator
St. Charles Medical Center
IMPORTANT NOTICE: This communication, including any attachment, contains
information that may be confidential or privileged, and is intended solely
for the entity or individual to whom it is addressed. If you are not the
intended recipient, you should delete this message and are hereby notified
that any disclosure, copying, or distribution of this message is strictly
prohibited. Nothing in this email, including any attachment, is intended
to be a legally binding signature.