Re: [OT] Perl question




On Jun 29, 2006, at 12:15 AM, David wrote:

Sorry for this OT question, but I know the folks here are quite capable
of answering this - as well or more so on a specific Perl list.

Anyway, I'm contemplating playing around with building some Perl modules
- with MakeMaker.  It would be nice to install them rather than
constantly invoking "use lib" once I get them "halfway decent".  Of
course, no doubt, I would be doing a lot of "fixing" and
re-installing.  Is there any danger of mucking up my system by doing
so?  If you replace a module, is it advisable/necessary to uninstall
the old version first?  Does "make uninstall" remove everything
cleanly?  I am aware of .packlist and wonder if it will be cleaned up
correctly.

You can avoid the whole issue by using a sandbox, or nonstandard library location.

   perl Makefile.PL PREFIX=/some/place
   export PERL5LIB=/some/place/lib/perl5/site_perl

You can install to this sandbox as much as you like, and even wipe it away to start over. When you're ready to install system-wide, just do perl Makefile.PL, that is, without the PREFIX setting.

This is the approach that we recommend for using unstable versions of the Gtk2-Perl modules.

--
elysse (in labor): is the head the biggest part?
midwife: yes.
elysse: oh, good.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]