[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] MacPerl crashes when I make a module



Peter Gradwell <pjg7@aber.ac.uk> writes:
}Hi,
}
}
}I'm trying to install two modules:
}	MailTools-1.1002
}	libnet-1.0602
}
}and I'm using the straight, clean  installation of MacPerl 5.1.3r2.
}
}However, when I run Makefile.PL for Libnet (and for MailTools) I get the
}following output followed by a total system hang:

Even if it ran, it would most likely do you absolutely no good.  This is
not the way to install a package in MacPerl.  In any event, both MailTools
and libnet have features that will cause you problems under MacPerl.

In the case of libnet and MailTools, you can grab my MacPerl ports at
ftp://mors.gsfc.nasa.gov/pub/MacPerl/Scripts/.  They get installed by
simply placing the contents in a folder that's in your MacPerl search path.
By far the easiest thing to do is simply unpack them into a folder, one for
each package, and put those folders in your library search path
(Preferences...Libraries).

In general, Perl originated and thrived as a Unix program.  The basic
installation procedure, unfortunately, is tied to Unix software.  On a Unix
box the installation mantra is "perl Makefile.PL;make;make test;make
install".  Notice that only the first part involves perl.  "make" is a Unix
program that runs commands based on rules contained in a "Makefile".  "perl
Makefile.PL" constructs the Makefile, and essentially that's all it does.

The upcoming book by Chris Nandor and Vicki Brown will have information on
what to do about CPAN modules under MacPerl.  Fortunately, I think the
draft of that chapter is already on line at
<http://www.ptf.com/macperl/ptf_book/draft.html>.
I believe the "Extensibility And Re-use" chapter is the one you should read

}
}The MacPerl output window says:
}
}"Checking if your kit is complete
}Looks Good
}'PREREQ_PM' is not a known MakeMaker parameter
}File 'Peter's HD:MacPerl Ä:lib:ExtUtils:MM_MacOS.pm line 281"
}
}and freezes the mouse.
}
}Can anyone help me as to how to install modules correctly on my Mac.
}
}Many thanks
}
}Peter Gradwell
}
}
}--
}Peter at Gradwell dot com
}mailto:Peter@Gradwell.com OR mailto:pjg7@aber.ac.uk
}
}VISIT it NOW! - http://www.irds.org/peter/
}NEW for the CLASSOF97 - http://www.loud-n-clear.com/gradwell/
}

---
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693, Greenbelt, MD 20771
schinder@pjstoaster.pg.md.us



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch