On Friday, January 9, 2004, at 04:24 PM, Doug Weathers wrote:
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!
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!).
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.
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?
-Ken
