You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by K Old <ko...@oldcomm.com> on 2003/06/06 18:26:31 UTC
Trouble with Apache::Request
Hello everyone,
I'm having trouble getting Apache::Request installed on my Mandrake 9.0
system. Let me first say that I'm not using the Apache that came with
Mandrake 9.0. I downloaded Apache 1.3.27, mod_perl 1.27 and PHP 4.3.1
sources and compiled and installed them. Everything works fine with
Apache, mod_perl and PHP, except when I need to use Apache::Request
(trying to use Alzabo browser interface). BTW, the version of Perl is
5.8.0.
When trying to build Apache::Request, here's what I get when I do the
make test. I can force the install, but the same error comes up when I
try to load Apache::Request as a PerlModule in httpd.conf or when Alzabo
calls it.
I've scoured mailing list, Google groups and books and can't find any
help.
Any chance I should build perl without the threads? I've heard that can
be the cause of a lot of problems.
make[1]: Entering directory `/root/.cpan/build/libapreq-1.1/c'
make[1]: Leaving directory `/root/.cpan/build/libapreq-1.1/c'
make[1]: Entering directory `/root/.cpan/build/libapreq-1.1/Request'
make[1]: Leaving directory `/root/.cpan/build/libapreq-1.1/Request'
make[1]: Entering directory `/root/.cpan/build/libapreq-1.1/Cookie'
make[1]: Leaving directory `/root/.cpan/build/libapreq-1.1/Cookie'
t/httpd -f `pwd`/t/httpd.conf
Syntax error on line 31 of /root/.cpan/build/libapreq-1.1/t/httpd.conf:
Can't load
'/root/.cpan/build/libapreq-1.1/blib/arch/auto/Apache/Request/Request.so' for module Apache::Request: libapreq.so.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/mod_perl.pm
line 14
Compilation failed in require at (eval 16) line 3.
Any help is greatly appreciated!
--
K Old <ko...@oldcomm.com>
Re: Trouble with Apache::Request
Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Fri, 6 Jun 2003, K Old wrote:
> Hello everyone,
>
> I'm having trouble getting Apache::Request installed on my
> Mandrake 9.0 system. Let me first say that I'm not using the
> Apache that came with Mandrake 9.0. I downloaded Apache
> 1.3.27, mod_perl 1.27 and PHP 4.3.1 sources and compiled and
> installed them. Everything works fine with Apache, mod_perl
> and PHP, except when I need to use Apache::Request (trying to
> use Alzabo browser interface). BTW, the version of Perl is
> 5.8.0.
>
> When trying to build Apache::Request, here's what I get when I
> do the make test. I can force the install, but the same error
> comes up when I try to load Apache::Request as a PerlModule in
> httpd.conf or when Alzabo calls it.
>
> I've scoured mailing list, Google groups and books and can't find any
> help.
>
> Any chance I should build perl without the threads? I've heard that can
> be the cause of a lot of problems.
[ .. ]
> t/httpd -f `pwd`/t/httpd.conf Syntax error on line 31 of
> /root/.cpan/build/libapreq-1.1/t/httpd.conf: Can't load
> '/root/.cpan/build/libapreq-1.1/blib/arch/auto/Apache/Request/Request.so'
> for module Apache::Request: libapreq.so.1: cannot open shared
> object file: No such file or directory at
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line
> 229.
> at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/mod_perl.pm
> line 14
> Compilation failed in require at (eval 16) line 3.
>
> Any help is greatly appreciated!
If there's more than one Apache on your system, it may be that
libapreq found the wrong one. Does it help any if you specify
explicitly the desired Apache at the 'perl Makefile.PL' stage, as
discussed in the install file of the distribution?
--
best regards,
randy kobes