http://qs1969.pair.com?node_id=813313


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