[Thread Prev][Thread Next]   >Date Index >Thread Index

Re: Gabi

William Travis Holton - Fri Nov 26 16:01:23 2010

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi Robin,

Well, first of all, sudo privileges shouldn't be a factor since what I
sent is made to be installed under your $HOME directory under something
like

~/local_libraries

If you're setting this up for more people though it should also work as
long as the makepl_args and mbuildpl_args  parameters are set to that
directory (and sudo privs are set correctly).

Ex. sometimes we install stuff under specific project directories like
/usr/local/someproj

  'make_install_make_command' => q[/usr/bin/make],
  'makepl_arg' => q[INSTALL_BASE=/usr/local/someproj ],

  'mbuild_install_build_command' => q[./Build],
  'mbuildpl_arg' => q[install_base=/usr/local/someproj],



What version of CPAN are you using? I don't know that it necessarily
makes a difference, but I'm running 1.942.

I'm assuming you've also replaced some of the default directories I sent
earlier with your own architecture stuff.

Example:

on my system
PERLARCH=x86_64-linux-gnu-thread-multi

on your system probably needs to be
PERLARCH=i686-linux-glibc-2.3.2-292674

Sometimes the only way to find this out that I'm aware of is to see what
directories CPAN adds when it is installing.



Also see what happens when you do

perl -I .cpan -MCPAN::MyConfig -e ''

If there are any errors in the CPAN/MyConfig.pm (like missing commas or
something simple) the interpreter should spit out a warning.



Regards,

Travis



On 26.11.2010 15:11, Robin Clarke wrote:
> Hey Travis,
> 
> Unfortunately neither your, nor Stu's methods work for me... I still get
> 
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> ERROR: Can't create '/site/lib/File'
> mkdir /site: Permission denied at
> /home/swmdev/perl/ActivePerl-5.12.1.1201-i686-linux-glibc-2.3.2-292674/lib/ExtUtils/Install.pm
> line 494
> 
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>  at -e line 1
> 
> (after install File::Util)
> 
> Haven't been able to find any references to that problem either...
> everyone seems to have sudo rights...
> 
> -Robin-
> 
> On Thu, November 25, 2010 11:09, William Travis Holton wrote:
> 
> Hi all,
> 
> Sorry, that's what happens when I let the "auto spell check" thingy set
> to English.
> 
> So attached is my config file that I use under ~/.cpan/CPAN/MyConfig.pm
> 
> The important parameters here are the makepl_arg and mbuildpl_arg which
> tell cpan where my local libraries are.  It's also important to have
> your $PERL5LIB set to include all of the places where cpan likes to put
> stuff locally.
> 
> Here's what I have in my .bash_aliases:
> 
> 
> LOCALPERLHOME=/home/holton/local_libraries
> LOCALPERLHOMELIB=$LOCALPERLHOME/lib
> LOCALPERLHOMEPERL5=$LOCALPERLHOMELIB/perl5
> LOCALPERLVERSION=5.10.0
> LOCALSITEPERL=$LOCALPERLHOMEPERL5/site_perl
> PERLARCH=x86_64-linux-gnu-thread-multi
> LOCALPERLHOMEARCH=$LOCALPERLHOMELIB/$PERLARCH:$LOCALPERLHOMELIB/$PERLARCH/auto:$LOCALPERLHOMEPERL5/$PERLARCH:$LOCALPERLHOMEPERL5/$PERLARCH/auto:$LOCALSITEPERL/$LOCALPERLVERSION/$PERLARCH/auto:$LOCALSITEPERL/$LOCALPERLVERSION/$PERLARCH
> 
> 
> LOCALPERLLIB=$LOCALPERLHOMELIB:$LOCALPERLHOMELIB/auto:$LOCALPERLHOMEPERL5:$LOCALSITEPERL:$LOCALPERLHOMEARCH
> 
> 
> export PERL5LIB=$LOCALPERLLIB:$PERL5LIB
> 
> 
> Regards,
> 
> Trav
> 
> 
> 
> On 25.11.2010 10:03, Robin Clarke wrote:
>>>>
>>>> On Wed, November 24, 2010 22:10, William Holton wrote:
>>>>> Nicht largesse
>>>>
>>>> Well said! Couldn't have put it better myself!
>>>>
>>>> -Robin-
>>>>
> 
> 
>>

- -- 
W. Travis Holton
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzvy7cACgkQ2xh+hMy+thpBuQCeOXTXWUQ5wAWiL11cH9UEAClV
FLUAn0ZKfSQAuxzZKOI+1jyiyAJ1tzKy
=QPdZ
-----END PGP SIGNATURE-----


Next: