[Israel.pm] Problem with cpan for regular user
Omer Zak
w1 at zak.co.il
Thu May 22 18:18:20 EEST 2008
On Thu, 2008-05-22 at 17:22 +0300, Gabor Szabo wrote:
> On Thu, May 22, 2008 at 4:50 PM, Omer Zak <w1 at zak.co.il> wrote:
> > I want to install, for a single user, Perl modules which are not already
> > Debian packages, using cpan.
>
> You need to configure the CPAN shell to set these variables
> I have the following in my CPAN shell config file
> ( /home/gabor/.cpan/CPAN/MyConfig.pm )
>
> 'makepl_arg' => q[PREFIX=~/perl5lib LIB=~/perl5lib/lib],
>
> and to support modules that have Build.PL instead of Makefile.PL :
>
> mbuildpl_arg' => q[--install_base /home/gabor/perl5lib --install_path
> lib=/home/gabor/perl5lib/lib],
Thanks, the above worked for me (I hand-edited ~/.cpan/CPAN/MyConfig.pm
after initial configuration).
I found that once I add ~/perl5lib/bin to my path, the corresponding
~/perl5lib/man is added to the output of the 'manpath' command - so the
system took care also of the path for installed manpages.
--- Omer
--
May the holy trinity of $_, @_ and %_ be hallowed.
My own blog is at http://www.zak.co.il/tddpirate/
My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html
More information about the Perl
mailing list