At 0:06 Uhr -0500 28.06.2001, Teresa Raymond wrote:
>I need some help with installing this module. The "MacPerl: Power and Ease" book
>advises that any module with an extension not be installed. But, I have a class,
>"Advanced Perl Programming" that requires Data::Dumper which appears to have an
>extension file. I am at a loss as to how I should install it. I have tried, when I
>type in:
>
>perl Makefile.PL
>make
>make test
>make install
>
>or
>
>MacPerl Makefile.PL
>make
>make test
>make install
>
>there is an error msg:
>
># Can't locate object method "MacPerl" ("perl") via package "Makefile".
>File 'Untitled'; Line 1
>
>Thanks in advance!
>
>
>*** Teresa Raymond
>*** http://www.mariposanet.com
>*** [EMAIL PROTECTED]
Hi Teresa,
things on the Mac are a bit different (that's why Apple made this "Think different"
campaign :).
Extension (XS) modules have a C portion, that needs to be built. Since not everybody
has had access to a C compiler (before MPW became free) or likes to bother with it,
the MacPerl Module Porters Page was created. Data::Dumper and other pre-built modules
for Mac OS are available from this page at
http://pudge.net/mmp/.
Regarding installation, you should use Chris Nandor's installme.plx droplet. This
installer is part of the cpan-mac-0.50 module, available from CPAN
http://www.perl.com/CPAN-local/authors/id/CNANDOR/
or via Chris Nandor's MacPerl page
http://pudge.net/macperl/.
Download Data::Dumper, drop the archive on the installer and answer the upcoming
question "Convert all text and MacBinary files?" with "Yes". This should install the
module properly.
HTH.
Best regards,
--Thomas
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com