You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Adelaide Yip <ad...@compeng.net> on 2000/07/25 21:50:55 UTC

Newbie Installation Problem

ModPerl 1.24 configures fine on Redhat 6.2, but sometimes during it's
installation I receive this error ...

+ make install root=/tmp/modperl_1.24-buildroot
(cd ./apaci && make)
make[1]: Entering directory `/home/adelaide/src/BUILD/mod_perl-1.24/apaci'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/adelaide/src/BUILD/mod_perl-1.24/apaci'
make[1]: Entering directory `/home/adelaide/src/BUILD/mod_perl-1.24/Apache'
make[1]: Leaving directory `/home/adelaide/src/BUILD/mod_perl-1.24/Apache'
make[1]: Entering directory `/home/adelaide/src/BUILD/mod_perl-1.24/Connection'
make[1]: Leaving directory `/home/adelaide/src/BUILD/mod_perl-1.24/Connection'
make[1]: Entering directory `/home/adelaide/src/BUILD/mod_perl-1.24/Constants'
make[1]: Leaving directory `/home/adelaide/src/BUILD/mod_perl-1.24/Constants'
make[1]: Entering directory `/home/adelaide/src/BUILD/mod_perl-1.24/File'
make[1]: Leaving directory `/home/adelaide/src/BUILD/mod_perl-1.24/File'
make[1]: Entering directory `/home/adelaide/src/BUILD/mod_perl-1.24/Leak'
make[1]: Leaving directory `/home/adelaide/src/BUILD/mod_perl-1.24/Leak'
make[1]: Entering directory `/home/adelaide/src/BUILD/mod_perl-1.24/Log'
make[1]: Leaving directory `/home/adelaide/src/BUILD/mod_perl-1.24/Log'
make[1]: Entering directory `/home/adelaide/src/BUILD/mod_perl-1.24/ModuleConfig'
make[1]: Leaving directory `/home/adelaide/src/BUILD/mod_perl-1.24/ModuleConfig'
make[1]: Entering directory `/home/adelaide/src/BUILD/mod_perl-1.24/PerlRunXS'
make[1]: Leaving directory `/home/adelaide/src/BUILD/mod_perl-1.24/PerlRunXS'
make[1]: Entering directory `/home/adelaide/src/BUILD/mod_perl-1.24/Server'
make[1]: Leaving directory `/home/adelaide/src/BUILD/mod_perl-1.24/Server'
make[1]: Entering directory `/home/adelaide/src/BUILD/mod_perl-1.24/Symbol'
make[1]: Leaving directory `/home/adelaide/src/BUILD/mod_perl-1.24/Symbol'
make[1]: Entering directory `/home/adelaide/src/BUILD/mod_perl-1.24/Table'
make[1]: Leaving directory `/home/adelaide/src/BUILD/mod_perl-1.24/Table'
make[1]: Entering directory `/home/adelaide/src/BUILD/mod_perl-1.24/URI'
make[1]: Leaving directory `/home/adelaide/src/BUILD/mod_perl-1.24/URI'
make[1]: Entering directory `/home/adelaide/src/BUILD/mod_perl-1.24/Util'
make[1]: Leaving directory `/home/adelaide/src/BUILD/mod_perl-1.24/Util'
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         

I don't know what's the matter with it because this error occurs on and off.  

TIA, 
Adelaide 

RE: Newbie Installation Problem

Posted by jb...@team-linux.com.
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 + jbodnar@team-linux.com + 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 + jbodnar@team-linux.com + 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


RE: Newbie Installation Problem

Posted by Adelaide Yip <ad...@compeng.net>.
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 + jbodnar@team-linux.com + 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

RE: Newbie Installation Problem

Posted by jb...@team-linux.com.
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 + jbodnar@team-linux.com + 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