On Fri, Sep 15, 2000 at 10:42:19AM +0000, MJ M wrote:
> Hello,
> 
> I am trying to build mod_perl on AIX with the apxs DSO style but get an 
> error on link time.
> 
> My config is:
> 
> AIX-4.1.5

Make sure that you apply the following for AIX < 4.2.1, you will get
strange errors otherwise:

--- src/support/httpd.exp.orig  Wed Mar  1 16:35:34 2000
+++ src/support/httpd.exp       Wed Mar  1 16:35:42 2000
@@ -1,4 +1,4 @@
-#! .
+#!
 ap_MD5Encode
 ap_MD5Final
 ap_MD5Init

> Perl-5.6.0 with AIX patch distributed by Jens-Uwe Mager on this list
>     a few months ago.
> Apache-1.3.12
> mod_perl-1.24
> 
> I configured mod_perl with the command:
> perl Makefile.PL \
>    USE_APXS=1 \
>    EVERYTHING=1 \
>    WITH_APXS=/usr/local/apache/bin/apxs
> 
> And I got the following error message after issuing a make:
> 
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more 
> information.
> ld: 0711-317 ERROR: Undefined symbol: ap_configtestonly
> make[1]: *** [libperl.so] Error 8
> make[1]: Leaving directory `/u/mijmm/apache/mod_perl-1.24/apaci'
> make: *** [apxs_libperl] Error 2

There was some discussion about this on the new-httpd mailing list, and
the consensus I think was to remove the reference to that symbol from
mod_perl.  I would believe if you use the current CVS sources of
mod_perl then you do not see a reference to the symbol any more.
Otherwise you can temporarily patch Apache like this:

--- apache_1.3.12/src/support/httpd.exp.orig1   Mon Jun 12 01:01:11 2000
+++ apache_1.3.12/src/support/httpd.exp Mon Jun 12 01:01:53 2000
@@ -74,6 +74,7 @@
 ap_clear_pool
 ap_clear_table
 ap_close_piped_log
+ap_configtestonly
 ap_construct_server
 ap_construct_url
 ap_content_type_tolower

-- 
Jens-Uwe Mager

HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany

Phone:          +49 5131 709320
FAX:            +49 5131 709325
Internet:       [EMAIL PROTECTED]

Reply via email to