Re: Trouble with Apache::Request
On Fri, 1 Aug 2003, Jie Gao wrote: > Hi All, > > perl-5.8.0 + mp1.99_10. > --- > > I am having problem trying to get /perl-status work. > > It bombs out in Status.pm at the following location: > > -- > if (eval {require Apache::Request}) { > $newQ ||= sub { Apache::Request->new(@_) }; > } > elsif (eval {require CGI}) { > $newQ ||= sub { CGI->new; }; > } > else { > die "Need CGI.pm or Apache::Request to operate"; > } > -- > > But shouldn't "Apache::Request" be "Apache::RequestRec"? Apache::Request is part of the libapreq package, a port of which to Apache2 is still being developed. best regards, randy kobes
Re: Trouble with Apache::Request
Hi All, perl-5.8.0 + mp1.99_10. --- I am having problem trying to get /perl-status work. It bombs out in Status.pm at the following location: -- if (eval {require Apache::Request}) { $newQ ||= sub { Apache::Request->new(@_) }; } elsif (eval {require CGI}) { $newQ ||= sub { CGI->new; }; } else { die "Need CGI.pm or Apache::Request to operate"; } -- But shouldn't "Apache::Request" be "Apache::RequestRec"? Sincerely, Jie
Re: Trouble with Apache::Request
Glenn E. Bailey III wrote: I had this exact same issue yesterday. I noticed that is was installing the libapreq.so.1 in /usr/local/lib and /usr/local/lib wasn't in my /etc/ld.so.conf file. Just add /usr/local/lib to your /etc/ld.so.conf file and then run "ldconfig" .. Worked for me and I was messing with the darn thing for about 3 hours. It shouldn't have installed it in first place. actually there are a few more patches on win32 that will go in soon. A new release will make those problems go away. . Glenn E. Bailey III . Sprocket Data, Inc. . http://www.sprocketdata.com : -Original Message- : From: Stas Bekman [mailto:[EMAIL PROTECTED] : Sent: Thursday, July 31, 2003 6:48 AM : To: K Old : Cc: ModPerl List : Subject: Re: Trouble with Apache::Request : : : >>On 6 Jun 2003, K Old wrote: : : [...] : : > Well, here are the errors I'm getting: : > : > When I *force* and install of Apache::Request and a script calls : > Apache::Request, this is in the error_log: [Fri Jun 6 : 17:27:31 2003] : > [error] Can't locate object method "new" via package : "Apache::Request" : > at : > : /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache/Request. : > pm : > line 22. : > : > This is from doing a make test when trying to install : Apache::Request : > manually: : > : > 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. : : This patch resolves this problem: : http://marc.theaimsgroup.com/?l=apreq-dev&m=105965131008577&w= 2 it should go in in the next release. __ Stas BekmanJAm_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 -- __ Stas BekmanJAm_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
RE: Trouble with Apache::Request
I had this exact same issue yesterday. I noticed that is was installing the libapreq.so.1 in /usr/local/lib and /usr/local/lib wasn't in my /etc/ld.so.conf file. Just add /usr/local/lib to your /etc/ld.so.conf file and then run "ldconfig" .. Worked for me and I was messing with the darn thing for about 3 hours. . Glenn E. Bailey III . Sprocket Data, Inc. . http://www.sprocketdata.com : -Original Message- : From: Stas Bekman [mailto:[EMAIL PROTECTED] : Sent: Thursday, July 31, 2003 6:48 AM : To: K Old : Cc: ModPerl List : Subject: Re: Trouble with Apache::Request : : : >>On 6 Jun 2003, K Old wrote: : : [...] : : > Well, here are the errors I'm getting: : > : > When I *force* and install of Apache::Request and a script calls : > Apache::Request, this is in the error_log: [Fri Jun 6 : 17:27:31 2003] : > [error] Can't locate object method "new" via package : "Apache::Request" : > at : > : /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache/Request. : > pm : > line 22. : > : > This is from doing a make test when trying to install : Apache::Request : > manually: : > : > 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. : : This patch resolves this problem: : http://marc.theaimsgroup.com/?l=apreq-dev&m=105965131008577&w= 2 it should go in in the next release. __ Stas BekmanJAm_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
Re: Trouble with Apache::Request
On 6 Jun 2003, K Old wrote: [...] Well, here are the errors I'm getting: When I *force* and install of Apache::Request and a script calls Apache::Request, this is in the error_log: [Fri Jun 6 17:27:31 2003] [error] Can't locate object method "new" via package "Apache::Request" at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache/Request.pm line 22. This is from doing a make test when trying to install Apache::Request manually: 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. This patch resolves this problem: http://marc.theaimsgroup.com/?l=apreq-dev&m=105965131008577&w=2 it should go in in the next release. __ Stas BekmanJAm_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
Re: Trouble with Apache::Request
On Sun, 8 Jun 2003, K Old wrote: > On Sun, 2003-06-08 at 01:50, Randy Kobes wrote: > > On Fri, 7 Jun 2003, K Old wrote: > > [ .. ] > > > Stas, thanks for your reply. I downloaded the CVS source and > > > it still failed all tests. Below is the output from make test > > > and the output from perl -V. Any help is appreciated! > > > > Another thing that may be worth trying - if you've installed > > libapreq, try going back to the mod_perl sources and running > > those tests again. Do the modules/request.t and modules/cookie.t > > tests pass, or if not, do you receive the same errors? > > Well, I've recompile a fresh version of Perl 5.8.0 (without threads), > Apache, mod_perl and PHP and still no luckon that box. I have > another Mandrake 9.0 box and tried to compile the new libapreq that Stas > pointed to from CVS and got the following errors Any suggestions? > > I did: > > perl Makefile.PL -httpd /usr/sbin/httpd && make test > > And got: > > In file included from apache_request.c:59: > apache_request.h:5:19: httpd.h: No such file or directory [ .. ] Is /usr/sbin/httpd is a symbolic link to a real httpd, which could be something like /usr/local/httpd/bin/httpd? And is this httpd the one you compiled? If so, try giving the full path to this httpd as the Makefile.PL argument (there should be a /usr/local/httpd/include/ directory which has the header (.h) files that couldn't be found). -- best regards, randy
Re: Trouble with Apache::Request
On Sun, 2003-06-08 at 01:50, Randy Kobes wrote: > On Fri, 7 Jun 2003, K Old wrote: > [ .. ] > > Stas, thanks for your reply. I downloaded the CVS source and > > it still failed all tests. Below is the output from make test > > and the output from perl -V. Any help is appreciated! > > Another thing that may be worth trying - if you've installed > libapreq, try going back to the mod_perl sources and running > those tests again. Do the modules/request.t and modules/cookie.t > tests pass, or if not, do you receive the same errors? Well, I've recompile a fresh version of Perl 5.8.0 (without threads), Apache, mod_perl and PHP and still no luckon that box. I have another Mandrake 9.0 box and tried to compile the new libapreq that Stas pointed to from CVS and got the following errors Any suggestions? I did: perl Makefile.PL -httpd /usr/sbin/httpd && make test And got: In file included from apache_request.c:59: apache_request.h:5:19: httpd.h: No such file or directory apache_request.h:6:25: http_config.h: No such file or directory apache_request.h:7:23: http_core.h: No such file or directory apache_request.h:8:22: http_log.h: No such file or directory apache_request.h:9:23: http_main.h: No such file or directory apache_request.h:10:27: http_protocol.h: No such file or directory apache_request.h:11:25: util_script.h: No such file or dmake[1]: Leaving directory `/root/tmp/httpd-apreq/c' pache_request.h:38: parse error before "table" apache_request.h:38: warning: no semicolon at end of struct or union apache_request.h:47: parse error before '*' token apache_request.h:47: warning: data definition has no type or storage class apache_request.h:49: parse error before '}' token apache_request.h:49: warning: data definition has no type or storage class apache_request.h:56: parse error before "table" apache_request.h:56: warning: no semicolon at end of struct or union apache_request.h:57: warning: data definition has no type or storage class apache_request.h:59: parse error before '*' token apache_request.h:59: warning: data definition has no type or storage class apache_request.h:60: parse error before '}' token apache_request.h:90: parse error before '*' token apache_request.h:90: parse error before '*' token apache_request.h:90: warning: data definition has no type or storage class apache_request.h:91: parse error before '*' token apache_request.h:92: parse error before '*' token apache_request.h:93: parse error before '*' token apache_request.h:94: parse error before '*' token apache_request.h:95: parse error before '*' token apache_request.h:96: parse error before '*' token apache_request.h:96: parse error before '*' token apache_request.h:96: warning: data definition has no type or storage class apache_request.h:97: parse error before '*' token apache_request.h:98: parse error before '*' token apache_request.h:101: parse error before '*' token apache_request.h:101: parse error before '*' token apache_request.h:101: warning: data definition has no type or storage class apache_request.h:102: parse error before '*' token apache_request.h:102: parse error before '*' token apache_request.h:102: warning: data definition has no type or storage class apache_request.h:104: parse error before '*' token apache_request.h:104: parse error before '*' token apache_request.h:104: warning: data definition has no type or storage class apache_request.h:105: parse error before '*' token apache_request.h:124: parse error before '*' token apache_request.h:127: parse error before '*' token In file included from apache_request.c:60: apache_multipart_buffer.h:16: parse error before "request_rec" apache_multipart_buffer.h:16: warning: no semicolon at end of struct or union apache_multipart_buffer.h:29: parse error before '}' token apache_multipart_buffer.h:29: warning: data definition has no type or storage class apache_multipart_buffer.h:31: parse error before '*' token apache_multipart_buffer.h:32: parse error before "request_rec" apache_multipart_buffer.h:32: warning: data definition has no type or storage class apache_multipart_buffer.h:33: parse error before '*' token apache_multipart_buffer.h:33: parse error before '*' token apache_multipart_buffer.h:33: warning: data definition has no type or storage class apache_multipart_buffer.h:34: parse error before '*' token apache_multipart_buffer.h:35: parse error before '*' token apache_multipart_buffer.h:36: parse error before '*' token apache_request.c:61: parse error before '*' token apache_request.c:69: parse error before '*' token apache_request.c: In function `util_read': apache_request.c:71: `request_rec' undeclared (first use in this function) apache_request.c:71: (Each undeclared identifier is reported only once apache_request.c:71: for each function it appears in.) apache_request.c:71: request for member `r' in something not a structure or union apache_request.c:72: `OK' undeclared (first use in this function) apache_request.c:74: `REQUEST_CHUNKED_ERROR' undeclared
Re: Trouble with Apache::Request
On Fri, 7 Jun 2003, K Old wrote: [ .. ] > Stas, thanks for your reply. I downloaded the CVS source and > it still failed all tests. Below is the output from make test > and the output from perl -V. Any help is appreciated! Another thing that may be worth trying - if you've installed libapreq, try going back to the mod_perl sources and running those tests again. Do the modules/request.t and modules/cookie.t tests pass, or if not, do you receive the same errors? -- best regards, randy
RE: Trouble with Apache::Request
Hi there, (Replying to off-list post just this once:} On 6 Jun 2003, K Old wrote: > Mandrake 9.0 (and several other linux distros) come out of the box with > Perl 5.8.0 built with threads. Ah. For some reason I was thinking you'd built the Perl yourself. > I'm guessing that having Perl compiled with threads might be what's > causing the problem So are you telling me you built Apache and mod_perl but you didn't build the Perl? That could be a problem. The standard advice is that the same compiler must be used to build Perl and mod_perl. > Just this afternoon I build Apache::Request without any problems on > an RH 7.3 box with Perl 5.6.1 compiled without threads. Nothing wrong with 5.6.1 if you can use that. 73, Ged.
Re: Trouble with Apache::Request
[ CC'ing the apreq-dev list. In the future please post apreq build problems questions to the apreq-dev list: http://httpd.apache.org/apreq/ ] K Old, please try the httpd-apreq cvs version: I just did: % cd httpd-apreq % perl-5.8.0-ithread Makefile.PL -httpd /home/httpd/httpd_perl/bin/httpd && make test ... All tests successful. This version will be soon released on CPAN, it wasn't released yet due to some polishing of Apache::Test that is now used by Apache::Request for its test suite. Here is how to get the cvs version: % cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login CVS password: anonymous % cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co httpd-apreq % cd httpd-apreq % cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co \ -d Apache-Test httpd-test/perl-framework/Apache-Test notice that in the example above, you need to adjust a path to your httpd and of course the path to perl, perl-5.8.0-ithread in my case is a symlink to perl-5.8.0 built with threads. If your problem still persists please post the output of your 'perl -V' that you have used to build Apache::Request __ Stas BekmanJAm_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
RE: Trouble with Apache::Request
Hi Ged, On Fri, 2003-06-06 at 13:55, Ged Haywood wrote: > Hi there, > > On 6 Jun 2003, K Old wrote: > > > No, I didn't build a threaded Perl, it seems to be the popular thing > > among any linux distro these days to build it with threads. > > > > I'll build a version without threads just to see if it works > > Want to run that by me again?? > Mandrake 9.0 (and several other linux distros) come out of the box with Perl 5.8.0 built with threads. I'm guessing that having Perl compiled with threads might be what's causing the problem in getting Apache::Request installed. > > > I'm having trouble getting Apache::Request installed on my Mandrake 9.0 > [snip] > > > 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. > > Is it *exactly* the same error? Well, here are the errors I'm getting: When I *force* and install of Apache::Request and a script calls Apache::Request, this is in the error_log: [Fri Jun 6 17:27:31 2003] [error] Can't locate object method "new" via package "Apache::Request" at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache/Request.pm line 22. This is from doing a make test when trying to install Apache::Request manually: 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. Still with the forced install of Apache::Request, if I try to call it from httpd.conf via PerlModule Apache::Request, I get this error. Syntax error on line 590 of /usr/local/apache/conf/httpd.conf: Can't load '/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/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 4) line 3. > > > > Any chance I should build perl without the threads? I've heard that can > > > be the cause of a lot of problems. > > Just Perl 5.8.0 can cause problems... do you have any others kicking around? > I'm thinking of 5.7.2 for example (ducks in case Stas throws something :) > which has done me good service. Wouldn't recommend 5.6.anything. I'm starting to agree. Just this afternoon I build Apache::Request without any problems on an RH 7.3 box with Perl 5.6.1 compiled without threads. Anyone else have Apache::Request running under Perl 5.8.0 with threads enabled? > > [snip] > > > 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 > [snip] > > Is there in fact no such file or directory? > The file Requests.so does exist and it is in the location being referenced. The permissions are 755. > I don't like that it's even looking in there... Are you building it all > as root? Bad idea generally, although -MCPAN does rather encourage it. Yeah, I hear ya on the CPAN thingI am building it as root, but have tried it as a regular user and get the same errors Any ideas? Thanks for your help, Kevin -- K Old <[EMAIL PROTECTED]>
Re: Trouble with Apache::Request
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
RE: Trouble with Apache::Request
Hi there, On 6 Jun 2003, K Old wrote: > No, I didn't build a threaded Perl, it seems to be the popular thing > among any linux distro these days to build it with threads. > > I'll build a version without threads just to see if it works Want to run that by me again?? > > I'm having trouble getting Apache::Request installed on my Mandrake 9.0 [snip] > > 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. Is it *exactly* the same error? > > Any chance I should build perl without the threads? I've heard that can > > be the cause of a lot of problems. Just Perl 5.8.0 can cause problems... do you have any others kicking around? I'm thinking of 5.7.2 for example (ducks in case Stas throws something :) which has done me good service. Wouldn't recommend 5.6.anything. [snip] > > 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 [snip] Is there in fact no such file or directory? I don't like that it's even looking in there... Are you building it all as root? Bad idea generally, although -MCPAN does rather encourage it. 73, Ged.
RE: Trouble with Apache::Request
Kitch, No, I didn't build a threaded Perl, it seems to be the popular thing among any linux distro these days to build it with threads. I'll build a version without threads just to see if it works, as I'm out of things to try. Thanks, Kevin On Fri, 2003-06-06 at 12:39, Kitch, David wrote: > Did you do a threaded build of Perl 5.8.0? > You might try a non-threaded Perl build. > > Regards, > Kitch > [EMAIL PROTECTED] > > -Original Message- > From: K Old [mailto:[EMAIL PROTECTED] > Sent: Friday, June 06, 2003 11:27 AM > To: ModPerl List > Subject: 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!
RE: Trouble with Apache::Request
Did you do a threaded build of Perl 5.8.0? You might try a non-threaded Perl build. Regards, Kitch [EMAIL PROTECTED] -Original Message- From: K Old [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 11:27 AM To: ModPerl List Subject: 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 <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>