|
Date: 8/12/2008 8:43 pm · Subject: Re: Can't locate handle in APR::Request::Apache2 · Rating: 0
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) ---
|