On Fri, Feb 23, 2001 at 12:11:41PM +0100, [EMAIL PROTECTED] wrote:
> > to import symbols from the main program. The patch already does that in
> > makedef.pl for the perl.exp file, but only on AIX 4.3 and above because
> > the older AIX linkers do strange things if this option is used.
>
> I tried your patch on v5.6.1 trial2. It built and the resulting perl
> passed all its tests.
>
> However when I try to use this perl to build mod_perl, it doesn't
> even succeed in performing the configuration. I use the
> following configuration command:
>
> /usr/local/bin/perl5.6.1 Makefile.PL \
> USE_APXS=1 WITH_APXS=/usr/local/bin/apxs \
> PERL_USELARGEFILES=0
I have not used the APXS configuration method for a long time (due to
the inherent memory leaks it has), so I could imagine that a problem is
still lurking here. Could you try if the normal APACI mathod works? For
example:
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"
> The only thing I can imagine is that the "new" perl is
> trying to open modules in the 5.6.0 or 5.5.3 site_perl subdirectories,
> and that there is an incompatibility with the link options. But I can't
> imagine what that incompatibility is.
It is the probably the import file with a dot thing ("#! ."), the
emulation I did in the past handled that differently. The dot thing
means importing from the main program, whereas before without the dot it
meant import later by use of the loadbind() system call explicetely. But
the native dlopen from AIX does not use loadbind(), so the old plug-ins
references back into the main part do not get resolved.
--
Jens-Uwe Mager
HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany
Phone: +49 5131 709320
FAX: +49 5131 709325
Internet: [EMAIL PROTECTED]