Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Installing a module with a prerequisite in my own lib directory

by queue (Beadle)
on Feb 03, 2003 at 23:54 UTC ( #232419=perlquestion: print w/replies, xml ) Need Help??

queue has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to install XML::RSS into my own directory.

I type:
perl Makefile.PL PREFIX=/home/kevin/perl/lib
I get:
Warning: prerequisite Test::Manifest 0.9 not found.

So I install Test::Manifest (version 0.91, the only version I could find) with:
perl Makefile.PL PREFIX=/home/kevin/perl/lib make make test make install

And everything works fine. I try to create the makefile for XML::RSS again, and I get the same warning about it not being able to find Test::Manifest.

I've tried searching the site, but the closest thing I can find are directions on how to install something into my own directory, which I've been able to do fine. How can I make it look in my directory for the prerequisite?


Replies are listed 'Best First'.
Re: Installing a module with a prerequisite in my own lib directory
by pfaut (Priest) on Feb 03, 2003 at 23:59 UTC

    You need to tell perl about your private library directory. You should probably put something like export PERL5LIB=/home/kevin/perl/lib in your .profile (or the equivalent command/startup file for your shell).

    --- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';
      That did the trick. Thanks much.

Re: Installing a module with a prerequisite in my own lib directory
by sauoq (Abbot) on Feb 04, 2003 at 00:01 UTC


    perl -I/home/kevin/perl/lib Makefile.PL PREFIX=/home/kevin/perl/lib

    "My two cents aren't worth a dime.";
      That let it create the make file, but it failed the make test. Setting PERL5LIB did the trick, though. Thanks for the help.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://232419]
Approved by sauoq
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2020-01-24 03:39 GMT
Find Nodes?
    Voting Booth?