Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: MakeMaker custom directory

by chuckbutler (Monsignor)
on Dec 18, 2009 at 03:08 UTC ( [id://813313]=note: print w/replies, xml ) Need Help??


in reply to MakeMaker custom directory

P- you can change the target of the make install by running,for example, somewhere in your home dir:
$perl Makefile.PL INSTALL_BASE=~/perl/xlib $make $make test $make install . . . perl -I~/perl/xlib/lib script

where the module install will start at ~/perl/xlib/lib/...

so, you need to pre-pend this directory to @INC using the -I on the command line or use lib DIR;

Please consult the document for module ExtUtils::MakeMaker

-c

Replies are listed 'Best First'.
Re^2: MakeMaker custom directory
by philharbour (Initiate) on Dec 18, 2009 at 14:58 UTC
    Hi, A combination of both has solved it, I'm up and running again, thanks so much to you both for lending a hand. Cheers Phil

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://813313]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-19 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found