Click here to register.
      
PBWG Banner


     Discuss > Install/Upgrade Help

Can't locate handle in APR::Request::Apache2

User hightekvagabond
Date 8/7/2008 4:52 am
Views 731
Rating 0    Rate [
|
]
Previous · Next
User Message
hightekvagabond

 

ok, So, I'm trying to install  WebGUI 7.4.40 for the first time (that is supposed to be the stable version right?) on FreeBSD 6.0 with Apache/2.2.9 (FreeBSD) WebGUI/7.4.40 mod_ssl/2.2.9 OpenSSL/0.9.7i DAV/2 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.8.7

Installing from source.

 

And I'm seeing this error:


[Thu Aug 07 04:41:45 2008] [info] [client 75.72.71.182] Module bug?  Request filename is missing for URI /
[Thu Aug 07 04:41:45 2008] [error] [client 75.72.71.182] Can't locate object method "handle" via package "APR::Request::Apache2" at /usr/local/lib/perl5/site_perl/5.8.7/mach/Apache2/Request.pm line 15.\n

 

 

 

I know the error is really an error with APR and not specifically with WebGUI but I was wondering if anyone else in here has ever seen it before and recognizes the cause. I didn't see anything like it in the previous support forum posts.

 

I even went through all the install info on this page on top of the what the docs said:

http://www.plainblack.com/uploads/T3/33/T333tjy0y8E3wbmpQ6Jt2Q/WebGUI-7.0.7-on-FreeBSD-5.5.htm

 

Just to make sure there were no incompatabilities.

 

Like I said, if any of you have any clues of roads I should go down for troubleshooting this particular error I'd apprecaite the crumb.

--- (Edited on 8/7/2008 4:52 am [GMT-0500] by hightekvagabond) ---



Back to Top
Rate [
|
]
 
 
hightekvagabond

For those of you playing along in the home audience the answer has been found to this problem.

 

It was a failed install of the libapreq2 library. which looks like this when it fails:

 

checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd6.3 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for ranlib... (cached) ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether to enable maintainer-specific portions of Makefiles... no
./configure: line 1: apxs: command not found
./configure: line 1: apxs: command not found
./configure: line 1: apxs: command not found
./configure: line 1: apxs: command not found
./configure: line 1: apxs: command not found
build/version_check.pl failed: no version_string found in '' for 'apache2'.
configure: error: Bad apache2 binary (/)

 

 

I found that both the port and the use of cpan to install APR::Request end in this same failure. I had to go download it from cpan and install it myself here:

http://search.cpan.org/CPAN/authors/id/J/JO/JOESUF/libapreq2-2.08.tar.gz

 

Which I found here:


http://search.cpan.org/~joesuf/libapreq2-2.08/glue/perl/xsbuilder/APR/Request/Request.pod

 

Then I ran configure with these flags:

 

 ./configure --enable-shared --with-gnu-ld --enable-perl-glue --with-perl=/usr/bin/perl --with-apache2-apxs=/usr/local/sbin/apxs --with-apache2-httpd=/usr/local/sbin/httpd

 

 

Followed by the standard perl Makefile.PL, then make, then make install... and life was good.

 

This post is mostly for the next pour schmuck who hits this issue.

--- (Edited on 8/12/2008 8:43 pm [GMT-0500] by hightekvagabond) ---



Back to Top
Rate [
|
]
 
 

Recent Discussions Color Key

Design:

Development:

Et Cetera:

Install/Upgrade:  

Smoketest:

Template Group:


Re: Shortcut of a thread by knowmad - Thu @ 07:33am

Re: Synopsis search results by knowmad - Thu @ 07:21am

Re: Templates workspace site by rogier - Thu @ 04:24am

Re: Templates workspace site by rogier - Thu @ 02:59am

Re: Shortcut of a thread by perlDreamer - Wed @ 11:46pm

Re: Ubuntu Load on Startup by SteveD - Wed @ 04:37pm

Shortcut of a thread by arjan - Wed @ 04:11pm

Re: preventing email spam mailto by lrobinson - Wed @ 03:51pm

preventing email spam mailto by sandraqu - Wed @ 03:39pm

Re: Data Form and Form Controls by martink - Tue @ 11:05am

Re: Synopsis search results by marieken - Tue @ 06:10am

Re: Übersetzungen vor dem nächsten Treffen by koen - Tue @ 04:24am

Re: Übersetzungen vor dem nächsten Treffen - Translations to be done before the next meeting will take place. by bernd - Tue @ 01:15am