Hi all,
I just installed from source perl 5.8.1, mod_perl 1.29, apache 1.3.29 and libapreq 1.39 on RH Linux 9. I did the same thing (almost) a couple of weeks ago and it worked fine, this time I cant get my stuff running. New is libapreq, last time I installed only Apache::Request from CPAN.
I get the following when trying to 'use Apache::Util' which is up to date according to the CPAN-module. Any clues?
Stopping httpd: [FAILED] Starting httpd: [Thu Nov 6 23:52:01 2003] [error] Can't locate loadable object for module Apache::Util in @INC (@INC contains: /home/energi/perllib /home/webs/perllib /usr/local/lib/perl5/5.8.1/i686-linux /usr/local/lib/perl5/5.8.1 /usr/local/lib/perl5/site_perl/5.8.1/i686-linux /usr/local/lib/perl5/site_perl/5.8.1 /usr/local/lib/perl5/site_perl . /usr/local/apache/ /usr/local/apache/lib/perl) at /usr/local/lib/perl5/site_perl/5.8.1/i686-linux/mod_perl.pm line 14 Compilation failed in require at /home/webs/perllib/Ensofus/Pxp.pm line 4. BEGIN failed--compilation aborted at /home/webs/perllib/Ensofus/Pxp.pm line 4. Compilation failed in require at /usr/local/apache//conf/startup.pl line 12. BEGIN failed--compilation aborted at /usr/local/apache//conf/startup.pl line 12. Compilation failed in require at (eval 2) line 1.
What do you get when you run: find /usr/local/lib/perl5/ | grep Apache/Util
e.g. on my machine that gives:
/home/stas/perl/blead/lib/site_perl/5.9.0/i686-linux/auto/Apache/Util /home/stas/perl/blead/lib/site_perl/5.9.0/i686-linux/auto/Apache/Util/Util.bs /home/stas/perl/blead/lib/site_perl/5.9.0/i686-linux/auto/Apache/Util/Util.so /home/stas/perl/blead/lib/site_perl/5.9.0/i686-linux/Apache/Util.pm
You don't tell us anything about your modperl build. Is it a static or a dynamic build? If it's a static build there shouldn't be no loadable objects since it's already linked against httpd. Observe:
This is a dynamic build:
% nm /home/stas/perl/blead/lib/site_perl/5.9.0/i686-linux/auto/Apache/Util/Util.so | grep XS_Apache__Util_escape_html
00001619 T XS_Apache__Util_escape_html
And here is the static one:
nm ~/httpd/1.3-static/bin/httpd | grep XS_Apache__Util_escape_html 080c2585 T XS_Apache__Util_escape_html
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html