Re: mp2: Error -- Can't locate Apache2.pm in @INC
[prev]
[thread]
[next]
[Date index for 2004/11/30]
Stas Bekman wrote:
> show us the output of:
> cd modperl-1.99_17
> grep PERLPREFIX Makefile
> grep SITEPREFIX Makefile
Ok, here it is:
---- snip ----
root@LINKSTATION:/usr/local/mod_perl-1.99_17# grep PERLPREFIX Makefile
root@LINKSTATION:/usr/local/mod_perl-1.99_17# grep SITEPREFIX Makefile
SITEPREFIX = $(PREFIX)/local
INSTALLSITELIB =
/var/tmp/hhl-target-perl-ppc_82xx-root/opt/hardhat/devkit/ppc/82xx/target$(S
ITEPREFIX)/share/perl/5.6.1
INSTALLSITEARCH =
/var/tmp/hhl-target-perl-ppc_82xx-root/opt/hardhat/devkit/ppc/82xx/target$(S
ITEPREFIX)/lib/perl/5.6.1
INSTALLSITEMAN1DIR = $(SITEPREFIX)/man/man1
INSTALLSITEMAN3DIR = $(SITEPREFIX)/man/man3
---- snip ----
That hhl-target directory shows up elsewhere as well:
--- snip ----
root@LINKSTATION:/usr/local/mod_perl-1.99_17# grep hhl-target-perl-ppc
Makefile
INSTALLPRIVLIB =
/var/tmp/hhl-target-perl-ppc_82xx-root/opt/hardhat/devkit/ppc/82xx/target$(P
REFIX)/share/perl/5.6.1
INSTALLARCHLIB =
/var/tmp/hhl-target-perl-ppc_82xx-root/opt/hardhat/devkit/ppc/82xx/target$(P
REFIX)/lib/perl/5.6.1
INSTALLSITELIB =
/var/tmp/hhl-target-perl-ppc_82xx-root/opt/hardhat/devkit/ppc/82xx/target$(S
ITEPREFIX)/share/perl/5.6.1
INSTALLSITEARCH =
/var/tmp/hhl-target-perl-ppc_82xx-root/opt/hardhat/devkit/ppc/82xx/target$(S
ITEPREFIX)/lib/perl/5.6.1
INSTALLVENDORLIB =
/var/tmp/hhl-target-perl-ppc_82xx-root/opt/hardhat/devkit/ppc/82xx/target$(P
REFIX)/share/perl5
INSTALLVENDORARCH =
/var/tmp/hhl-target-perl-ppc_82xx-root/opt/hardhat/devkit/ppc/82xx/target$(P
REFIX)/lib/perl5
INSTALLBIN =
/var/tmp/hhl-target-perl-ppc_82xx-root/opt/hardhat/devkit/ppc/82xx/target$(P
REFIX)/bin
INSTALLSCRIPT =
/var/tmp/hhl-target-perl-ppc_82xx-root/opt/hardhat/devkit/ppc/82xx/target$(P
REFIX)/bin
INSTALLSITEBIN =
/var/tmp/hhl-target-perl-ppc_82xx-root/opt/hardhat/devkit/ppc/82xx/target$(P
REFIX)/bin
INSTALLMAN1DIR =
/var/tmp/hhl-target-perl-ppc_82xx-root/opt/hardhat/devkit/ppc/82xx/target$(P
REFIX)/share/man/man1
INSTALLMAN3DIR =
/var/tmp/hhl-target-perl-ppc_82xx-root/opt/hardhat/devkit/ppc/82xx/target$(P
REFIX)/share/man/man3
---- snip ----
And a little digging turns up
# ls
/var/tmp/hhl-target-perl-ppc_82xx-root/opt/hardhat/devkit/ppc/82xx/target/us
r/local/lib/perl/5.6.1
APR APR.pm Apache Apache2 Apache2.pm Bundle ModPerl auto mod_perl.pm
perllocal.pod
That's what I was looking for. Copying this into /usr/local/lib/perl/5.6.1
gets me up and running. I'm not sure what's going on with those
"INSTALL..." directories, though.
Hey! Mod_perl 2.0 rocks! My web server says so :-)
-- Stephen
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
 |
 |
Re: mp2: Error -- Can't locate Apache2.pm in @INC
Stephen Jungels 05:48 on 30 Nov 2004
|