On Wed, Jan 17, 2001 at 01:51:47PM -0900, David Edge wrote:
> Thanks for the reply, I did get mod_perl-1.24_01 as well as apache_1.3.14 and
> re-built them using the apaci method. The httpd.exp file was not copied into
> /<path_to_apache>/libexec, so I did that manually. I also had to manually
> edit the Embperl Makefile to add the linker line for httpd.exp.
>
> This allowed me to build Embperl, but a 'make test' failed, again looking for
> those symbols. The Faq.pod mentions compiling apache and to not strip the
> executable. I added a --without-execstrip to the ./configure command, but the
> symbols are still not part of the httpd executable.
>
> I guess I'm at the point where I must create an httpd executable that still
> contains the symbols found in httpd.exp. I'll continue to work at it - if you
> (or others) know how this is done on AIX I'd be very happy to hear from you.
OK, I looked into it a bit more and I believe that this happens if you
do configure httpd in a way that no modules are being loaded
dynamically, then the httpd build procedure skips the httpd.exp step. I
use the following to configure modperl:
perl Makefile.PL EVERYTHING=1 DO_HTTPD=1 USE_APACI=1 APACI_ARGS="--enable-module=most
--enable-shared=max --disable-shared=perl --disable-shared=include"
I do get a problem in this configuration with homegrown perl compiles
though, this is due to the different dlopen() libraries used by perl and
apache if AIX it a level 4.3 or greater. The perl delivered with AIX 4.3
appears to work well with Apache.
The problem here is that both perl and apache come with a dlopen
emulation package which is needed only on AIX versions <4.3. Apache does
properly disable its copy if at AIX >= 4.3, but the perl 5.005_3 does
not know that yet as it is too old and must be overridden at build time
to not use its copy of the emulation routines. If both packages uses the
AIX native dlopen it works well.
--
Jens-Uwe Mager
HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany
Phone: +49 5131 709320
FAX: +49 5131 709325
Internet: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]