I was successfully able to gmake, gmake test, and gmake install with ./configure --with-apache2-apxs=/usr/local/sbin/apxs, but continuing to read the README file, I need the perl modules as well so running the following gave me an error with "make: don't know how to make w. Stop".
#./configure --with-apache2-apxs=/usr/local/sbin/apxs --enable-perl-glue # gmake Making all in . gmake[1]: Entering directory `/usr/home/admin/libapreq2-2.12' gmake[1]: Nothing to be done for `all-am'. gmake[1]: Leaving directory `/usr/home/admin/libapreq2-2.12' Making all in include gmake[1]: Entering directory `/usr/home/admin/libapreq2-2.12/include' gmake all-am gmake[2]: Entering directory `/usr/home/admin/libapreq2-2.12/include' gmake[2]: Leaving directory `/usr/home/admin/libapreq2-2.12/include' gmake[1]: Leaving directory `/usr/home/admin/libapreq2-2.12/include' Making all in library gmake[1]: Entering directory `/usr/home/admin/libapreq2-2.12/library' gmake all-am gmake[2]: Entering directory `/usr/home/admin/libapreq2-2.12/library' gmake[2]: Nothing to be done for `all-am'. gmake[2]: Leaving directory `/usr/home/admin/libapreq2-2.12/library' gmake[1]: Leaving directory `/usr/home/admin/libapreq2-2.12/library' Making all in module gmake[1]: Entering directory `/usr/home/admin/libapreq2-2.12/module' Making all in apache2 gmake[2]: Entering directory `/usr/home/admin/libapreq2-2.12/module/apache2' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/home/admin/libapreq2-2.12/module/apache2' gmake[2]: Entering directory `/usr/home/admin/libapreq2-2.12/module' gmake[2]: Nothing to be done for `all-am'. gmake[2]: Leaving directory `/usr/home/admin/libapreq2-2.12/module' gmake[1]: Leaving directory `/usr/home/admin/libapreq2-2.12/module' Making all in glue gmake[1]: Entering directory `/usr/home/admin/libapreq2-2.12/glue' cd perl; gmake gmake[2]: Entering directory `/usr/home/admin/libapreq2-2.12/glue/perl' make: don't know how to make w. Stop gmake[2]: *** [subdirs] Error 2 gmake[2]: Leaving directory `/usr/home/admin/libapreq2-2.12/glue/perl' gmake[1]: *** [perl_glue] Error 2 gmake[1]: Leaving directory `/usr/home/admin/libapreq2-2.12/glue' gmake: *** [all-recursive] Error 1 [r...@www /home/admin/libapreq2-2.12]# gmake WITH-MODPERL=yes Making all in . gmake[1]: Entering directory `/usr/home/admin/libapreq2-2.12' gmake[1]: Nothing to be done for `all-am'. gmake[1]: Leaving directory `/usr/home/admin/libapreq2-2.12' Making all in include gmake[1]: Entering directory `/usr/home/admin/libapreq2-2.12/include' gmake all-am gmake[2]: Entering directory `/usr/home/admin/libapreq2-2.12/include' gmake[2]: Leaving directory `/usr/home/admin/libapreq2-2.12/include' gmake[1]: Leaving directory `/usr/home/admin/libapreq2-2.12/include' Making all in library gmake[1]: Entering directory `/usr/home/admin/libapreq2-2.12/library' gmake all-am gmake[2]: Entering directory `/usr/home/admin/libapreq2-2.12/library' gmake[2]: Nothing to be done for `all-am'. gmake[2]: Leaving directory `/usr/home/admin/libapreq2-2.12/library' gmake[1]: Leaving directory `/usr/home/admin/libapreq2-2.12/library' Making all in module gmake[1]: Entering directory `/usr/home/admin/libapreq2-2.12/module' Making all in apache2 gmake[2]: Entering directory `/usr/home/admin/libapreq2-2.12/module/apache2' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/home/admin/libapreq2-2.12/module/apache2' gmake[2]: Entering directory `/usr/home/admin/libapreq2-2.12/module' gmake[2]: Nothing to be done for `all-am'. gmake[2]: Leaving directory `/usr/home/admin/libapreq2-2.12/module' gmake[1]: Leaving directory `/usr/home/admin/libapreq2-2.12/module' Making all in glue gmake[1]: Entering directory `/usr/home/admin/libapreq2-2.12/glue' cd perl; gmake gmake[2]: Entering directory `/usr/home/admin/libapreq2-2.12/glue/perl' make: don't know how to make w. Stop gmake[2]: *** [subdirs] Error 2 gmake[2]: Leaving directory `/usr/home/admin/libapreq2-2.12/glue/perl' gmake[1]: *** [perl_glue] Error 2 gmake[1]: Leaving directory `/usr/home/admin/libapreq2-2.12/glue' gmake: *** [all-recursive] Error 1 Allan Feid Unix Administrator B.S. Network Engineering On Wed, Oct 28, 2009 at 12:04 AM, Randy Kobes <[email protected]> wrote: > On Tue, Oct 27, 2009 at 7:15 PM, Allan <[email protected]> wrote: > >> Hello, >> >> I'm trying to get the Apache2 perl modules to work properly. My system is >> FreeBSD 7.2-RELEASE and I'm using perl 5.8.9. I've installed the following >> from ports: >> >> libapreq2 >> p5-libapreq2 >> mod_perl2 >> >> Upon initial testing, I noticed that with >> >> LoadModule apreq_module libexec/apache22/mod_apreq2.so >> LoadModule perl_module libexec/apache22/mod_perl.so >> >> In the Apache configuration file, whenever I run a perl script containing >> any of the Apache2 modules (Apache2::Cookie for example) it will cause the >> child process to seg fault as shown here: >> >> [Wed Oct 28 18:22:56 2009] [notice] child pid 62128 exit signal >> Segmentation fault (11) >> >> So to take Apache out of the equations I ran a simple one liner to see >> what happens. >> >> # perl -MApache2::Request -e '$req = Apache2::Request::->new();' >> /libexec/ld-elf.so.1: >> /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/APR/Request/Apache2/Apache2.so: >> Undefined symbol "modperl_xs_sv2request_rec" >> >> > That symbol is in mod_perl.so, which is only available within the Apache2 > environment. > > If you manually build libapreq2 against the installed Apache2/mod_perl, do > all the tests pass? > > -- > best regards, > Randy > >
