Thanks, I saw thatModule::Build started lately to support --prefix to ease installation to people like me...
Thanks -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabor Szabo Sent: Tuesday, August 07, 2007 11:09 AM To: Perl in Israel Subject: Re: [Israel.pm] PERL5LIB and CPAN installations I use these parameters: makepl_arg [PREFIX=~/perl5lib LIB=~/perl5lib/lib] mbuildpl_arg [--install_base /home/gabor/perl5lib --install_path lib=/home/gabor/perl5lib/lib] and I think it works well Gabor On 8/7/07, Yossi Itzkovich <[EMAIL PROTECTED]> wrote: > Hi again, > > When I run (in CPAN's shell) "o conf init" I get this question: > " > The next questions deal with Module::Build support. > > A Build.PL is run by perl in a separate process. Likewise we run > './Build' and './Build install' in separate processes. If you have any > parameters you want to pass to the calls, please specify them here. > > Parameters for the 'perl Build.PL' command? > Typical frequently used settings: > > --install_base /home/xxx # different installation > directory > " > > Should I set it similar to PREFIX ? And what about LIB? According to > Module::Build documentation it looks like I have to overide lib and arch > too to get the same effect? > > Yossi > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Gabor Szabo > Sent: Tuesday, August 07, 2007 8:04 AM > To: Perl in Israel > Subject: Re: [Israel.pm] PERL5LIB and CPAN installations > > Whe building the module it is better to use > > perl Makefile.PL PREFIX=~/perl LIB=~/perl/lib > > and then you can use PERL5LIB=~/perl/lib > > Otherwise some modules will be installed in other directories > as you also noticed. > > Gabor > > On 8/7/07, Yossi Itzkovich <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I work on Solaris, and untill I used the Solaris 10 built in perl > 5.8.4 > > I had no problems installing and using CPAN modules, and always my > > PERL5LIB pointed to ~/perl (or was it ~/perl/lib ? I don't remember). > > In the CPAN config file I also used PREFIX as ~/perl. > > > > Now, and I am not sure if it's the newer CPAN module, or the built in > > perl 5.8.4, I have to define PERL5LIB as something similar to : > > > > > ~/perl:~/perl/lib:~/perl/sun4-solaris-64int:~/perl/site_perl:~/perl/lib_ > > site_perl > > > > In order to use new modules I install. Why ? > _______________________________________________ > Perl mailing list > [email protected] > http://perl.org.il/mailman/listinfo/perl > _______________________________________________ > Perl mailing list > [email protected] > http://perl.org.il/mailman/listinfo/perl > -- Gabor Szabo http://www.szabgab.com/ Perl Training in Israel http://www.pti.co.il/ 08-975-2897 054-4624648 _______________________________________________ Perl mailing list [email protected] http://perl.org.il/mailman/listinfo/perl _______________________________________________ Perl mailing list [email protected] http://perl.org.il/mailman/listinfo/perl
