[Chicago-talk] "I don't have permission to installamoduleonthesystem!"

Steven Lembark lembark at wrkhors.com
Fri Jan 2 12:36:35 CST 2004



-- Mike Fragassi <frag at ripco.com>

>
> On Wed, 31 Dec 2003, petemar1 wrote:
>
>> Argh.
>>
> ...
>> make: *** [pure_site_install] Error 255
>>   /usr/bin/make install /home/petemar1/sandbox/lib -- NOT OK
>>     You may have to su to root to install the package
>>
>> petemar1:~/.cpan/CPAN$ more MyConfig.pm
> ...
>>   'makepl_arg' => q[/home/petemar1/sandbox],
>
> This should be:
>
>     'makepl_arg' => q[PREFIX=/your/home/dir/here],

Note: it's probably better to isolate the perl install
below a home directory. Otherwise you end up with ~/lib,
~/man, etc.

	makepl_arg => 'PREFIX=$ENV{HOME}/perl5'

or

	makepl_arg => 'PREFIX=~/perl5'

for example simplifies things a bit by putting all of the
perly stuff in one place.

enjoi

--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 888 359 3508



More information about the Chicago-talk mailing list