NicTool 2.03 Apache2.0 mod_perl 2.0 Install Problem

Started by TobiasN, September 21, 2005, 04:54:30 AM

Previous topic - Next topic

TobiasN

Hello,

I installed NicToll 2.03 on my server, When I add the
PerlRequire  /usr/local/www/sites/roterschnee.org/NicToolClient/lib/nicto olclient.conf
to the httpd.conf

I get following error:
Can't locate Apache2.pm in @INC (@INC contains: [Wed Sep 21 11:48:33 2005] [error] Can't locate Apache2.pm in @INC (@INC contains: /usr/local/www/sites/roterschnee.org/mail/NicToolClient/lib /usr/local/lib/perl5/site_perl/5.8.7/mach /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.7/BSDPAN /usr/local/lib/perl5/5.8.7/mach /usr/local/lib/perl5/5.8.7 . /usr/local/) at /usr/local/lib/perl5/site_perl/5.8.7/SOAP/Transport/HTTP.pm line 19.\nBEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.7/SOAP/Transport/HTTP.pm line 19.\nCompilation failed in require at /usr/local/lib/perl5/site_perl/5.8.7/Apache/SOAP.pm line 15.\nBEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.7/Apache/SOAP.pm line 15.\nCompilation failed in require at  /usr/local/www/sites/roterschnee.org/NicToolServer/nictoolse rver.conf line 20.\nBEGIN failed--compilation aborted at  /usr/local/www/sites/roterschnee.org/NicToolServer/nictoolse rver.conf line 20.\nCompilation failed in require at (eval 87) line 1.\n

Where should that Apache2.pm be located, and where do I get it ?
I Installed all required pachets like it is desribed on the Nictool page.

regards
Tobias Niethammer

LogicX

Do you have modperl2 installed?

root:hush|9:36:10am|/var/log: locate -i apache2.pm
/usr/local/lib/perl5/site_perl/5.8.7/mach/Bundle/Apache2.pm
root:hush|11:17:24am|/var/log: pkg_info -W /usr/local/lib/perl5/site_perl/5.8.7/mach/Bundle/Apache2.pm
/usr/local/lib/perl5/site_perl/5.8.7/mach/Bundle/Apache2.pm was installed by package mod_perl2-2.0.1,2
--- May this post be indexed by spiders, and archived for all to see as my internet epitaph.
http://fpux.com" target="_blank">http://fpux.com

TobiasN

Hi LogicX,

yes mod_perl2 ist installed under
/usr/local/lib/perl5/site_perl/5.8.7/mach/Bundle/Apache2.pm
roterschnee# pkg_info -W /usr/local/lib/perl5/site_perl/5.8.7/mach/Bundle/Apache2.pm
/usr/local/lib/perl5/site_perl/5.8.7/mach/Bundle/Apache2.pm was installed by package mod_perl2-2.0.1,2

do I have to add that path to the @Inc variable?

I also Patched the HTTP.pm (do not know if this pach was for my used version of SOAP)

regards
Tobias Niethammer

TobiasN

hello,

I think that there is an problem with the HTTP.pm.patch file with current version of SOAP::Lite

the use mod_perl -> force the load from mod_perl.pm which is part from mod_perl 1.xx
but I only have mod_perl2

if I change it to mod_perl2 ->there are different other problems, so What versions are known to work with nictool ?

SOAP ?
PERL ?
mod_perl2 ?


regards
Tobias Niethammer