The permissions problems don't appear to be with the ExtUtils directory. It's
trying to mkdir /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Apache/include.
Somewhere among those directories you don't have permission.
And, I misspoke before about PREFIX. First, PREFIX doesn't do everything
correctly. You need to use 'LIB=/tmp/foo/bar INSTALLMAN3DIR=/tmp/foo/bar/man'.
Second, PREFIX, LIB or whatever for mod_perl needs to be added to 'perl
Makefile.PL' as so:
perl Makefile.PL <whatever mod_perl/apache options you're setting>
LIB=/tmp/foo/bar INSTALLMAN3DIR=/tmp/foo/bar/man
On 25-Jul-2000 Adelaide Yip wrote:
> I tried doing PREFIX=/usr (I'm using Redhat layout), but still the same
> error.
> I also checked the permissions and I did have write permissions to
> /usr/lib/perl5/5.00503/ExtUtils/ . Thing is, I installed with no problems
> yesterday using the same method as today and now it suddenly has an error.
>
> Anyways, thanks for your time Jason.
>
> Adelaide =)
>
>
>
> On Tue, 25 Jul 2000, you wrote:
>> On 25-Jul-2000 Adelaide Yip wrote:
>> > ModPerl 1.24 configures fine on Redhat 6.2, but sometimes during it's
>> > installation I receive this error ...
>> > Warning: You do not have permissions to install into
>> > /usr/lib/perl5/site_perl/5.005/i386-linux at
>> > /usr/lib/perl5/5.00503/ExtUtils/Install.pm line 61.
>> > mkdir /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Apache/include:
>> > Permission denied at /usr/lib/perl5/5.00503/ExtUtils/Install.pm line 114
>> > make: *** [pure_site_install] Error 2
>>
>> The error says it all. You don't have permissions to install into the
>> standard
>> perl lib directory. You probably need to be root.
>>
>> If you want to install somewhere other than the standard lib directory than
>> you
>> need to add: PREFIX=/tmp/foo/bar to your ./configure command.
>>
>> --
>> Jason Bodnar + [EMAIL PROTECTED] + Team Linux
>>
>> Homer: I keep hearing this horrible irregular thumping noise.
>>
>> Pump Jockey:
>> It's your heart. And I think it's on its last thump.
>>
>> Homer: Whew, I was afraid it was my transmission.
>>
>> Homer's Triple Bypass
--
Jason Bodnar + [EMAIL PROTECTED] + Team Linux
Homer: Ooh, look at this one! The Hammer of Thor! (Reading) "It
will send your pins to ... Valhalla?" Lisa?
Lisa: Valhalla is where vikings go when they die.
Homer: Ooh, that's some ball.
The Telltale Head