Compiling mod_perl 2.0.9

Adam Grossman <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Hello,

I am trying to install mod_perl 2.0.9 on linux using perl 5.8.8.  I 
followed the install instruction, but i immediately get this error:

# perl Makefile.PL MP_APXS=/usr/bin/apxs
Cannot find current script 'Makefile.PL' at 
/usr/lib/perl5/5.8.8/FindBin.pm line 201
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/FindBin.pm 
line 201.
Compilation failed in require at 
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Apache/TestSmoke.pm 
line 30.
BEGIN failed--compilation aborted at 
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Apache/TestSmoke.pm 
line 30.
Compilation failed in require at 
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Apache/TestSmokePerl.pm 
line 21.
BEGIN failed--compilation aborted at 
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Apache/TestSmokePerl.pm 
line 21.
Compilation failed in require at Makefile.PL line 39.
BEGIN failed--compilation aborted at Makefile.PL line 39.

so try something different and get a new error:
mod_perl-2.0.9]$ perl `pwd`/Makefile.PL MP_APXS=/usr/bin/apxs
Reading Makefile.PL args from @ARGV
    MP_APXS = /usr/bin/apxs
[  error] Can't find a sub-directory Apache-Test. Make sure that you are 
using a complete source distribution


I added some extra output to the error above (using Cwd), and the script 
thinks the current working directory is my home directory. To verify 
this, i moved "Apache-Test" to my home directory, and the directory was 
found, but then i got other errors (which was expected_, because it 
could not lib/mod_perl2.pm which is in the source directory i am running 
the scripts from.

I am far from a perl expert, so i am wondering if there is any steps i 
skipped, or is the a problem with my setup, or is this just a bug?

thank you for any help,
-=- adamtg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.