tomazos has asked for the wisdom of the Perl Monks concerning the following question:
I unpack apache and mod_perl and then issue:
perl Makefile.PL APACHE_SRC=../apache_1.3.33/src APACHE_PREFIX=/home/andrew/apache DO_HTTPD=1 USE_APACI=1
make and make test work fine but when I go to make install it complains:
Warning: You do not have permissions to install into /usr/lib/perl5/si +te_perl/i386-linux at /home/andrew/cpan/lib/ExtUtils/Install.pm line +114. Cannot forceunlink /usr/lib/perl5/site_perl/i386-linux/auto/Apache/Sym +bol/Symbol.so: Permission denied at /usr/lib/perl5/File/Find.pm line +495 make: *** [pure_site_install] Error 255
It looks like it is trying to install perl modules into the system-wide directory and not in my home directory.
When I cpan install modules they go to /home/andrew/cpan just fine.
How do I tell the mod_perl installer to put its modules into my home directory and not the system-wide one?
Moreover, is there a generalized way to do this from a perl Makefile.PL?
-Andrew.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Installing mod_perl without root access
by davorg (Chancellor) on Aug 01, 2005 at 13:37 UTC | |
|
Re: Installing mod_perl without root access
by bepi (Deacon) on Aug 01, 2005 at 14:49 UTC | |
by kutsu (Priest) on Aug 01, 2005 at 15:28 UTC |