Apache-PAR-0.30

2005-09-28 Thread Oden Eriksson
Hi.

I'm trying to build it on Mandriva Linux Cooker (development version) and are 
getting this in the error log:

[Wed Sep 28 10:14:40 2005] [error] Can't locate Apache2.pm in @INC (@INC 
contains: /home/oden/RPM/BUILD/Apache-PAR-0.30/t 
/usr/lib/perl5/5.8.7/i386-linux /usr/lib/perl5/5.8.7 
/usr/lib/perl5/site_perl/5.8.7/i386-linux /usr/lib/perl5/site_perl/5.8.7 
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux /usr/lib/perl5/vendor_perl/5.8.7 
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.6/i386-linux 
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 
/usr/lib/perl5/vendor_perl . /home/oden/RPM/BUILD/Apache-PAR-0.30/t) 
at /home/oden/RPM/BUILD/Apache-PAR-0.30/t/conf/modperl_2.pl line 1.
\nCompilation failed in require at (eval 2) line 1.\n
[Wed Sep 28 10:14:40 2005] [error] Can't load Perl 
file: /home/oden/RPM/BUILD/Apache-PAR-0.30/t/conf/modperl_2.pl for server 
localhost.localdomain:8529, exiting...

All the deps are met, latest versions. Other perl apache modules make test 
works.

-- 
Regards // Oden Eriksson
Mandriva: http://www.mandriva.com
NUX: http://nux.se


Re: Apache-PAR-0.30

2005-09-28 Thread Randy Kobes

On Wed, 28 Sep 2005, m.nooning wrote:


Oden Eriksson wrote:

Hi.

I'm trying to build it on Mandriva Linux Cooker (development version) and 
are getting this in the error log:


[Wed Sep 28 10:14:40 2005] [error] Can't locate Apache2.pm in @INC (@INC 
contains:

[ .. ]
All the deps are met, latest versions. Other perl apache modules make 
test works.



Try including missing modules with the -M flag, as in  -M Apache2 .
Does your perl script run okay? In any case please post your command line.

I did a quick search for Apache2.pm and it looks like you are not the only 
one with a Can't locate Apache2.pm in @INC response.  For example see

http://lists.debian.org/debian-user/2005/08/msg00014.html
This may not have anything to do with PAR.


Assuming you're using the latest version of mod_perl 2
of CPAN, there is no Apache2.pm any longer, as described at:
  http://perl.apache.org/docs/2.0/rename.html
A patch is available for Apache::PAR for this:
  http://www.mail-archive.com/par@perl.org/msg01842.html

--
best regards,
randy kobes