Priest, Darryl - BALTO wrote:
I got the new CVS version applied the patch and I got a bit further

good, I've committed that patch.


, but
it's still dying with:

        cd "src/modules/perl" && make -f Makefile.modperl
        rm -f mod_perl.so
        ld -bhalt:4 -bM:SRE
-bI:/usr/local/perl5.8.0/lib/5.8.0/aix/CORE/perl.exp -bE:mod_perl.exp
-bnoentry -lc -L/usr/local/lib    mod_perl.lo modperl_interp.lo
modperl_tipool.lo modperl_log.lo modperl_config.lo modperl_cmd.lo
modperl_options.lo modperl_callback.lo modperl_handler.lo modperl_gtop.lo
modperl_util.lo modperl_io.lo modperl_filter.lo modperl_bucket.lo
modperl_mgv.lo modperl_pcw.lo modperl_global.lo modperl_env.lo
modperl_cgi.lo modperl_perl.lo modperl_perl_global.lo modperl_perl_pp.lo
modperl_sys.lo modperl_module.lo modperl_svptr_table.lo modperl_const.lo
modperl_constants.lo modperl_hooks.lo modperl_directives.lo modperl_flags.lo
modperl_xsinit.lo  -bE:/usr/local/perl5.8.0/lib/5.8.0/aix/CORE/perl.exp
-brtl -L/usr/local/lib -b32
/usr/local/perl5.8.0/lib/5.8.0/aix/auto/DynaLoader/DynaLoader.a
-L/usr/local/perl5.8.0/lib/5.8.0/aix/CORE -lperl -lbind -lnsl -ldl -lld -lm
-lc -lcrypt -lbsd -lPW  -o mod_perl.so
ld: 0706-004 Cannot find or read export file: mod_perl.exp
        ld:accessx(): A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 255.

To get that far, in the src/modules/perl/Makefile.modperl I added
definitions for BASEEXT and PERL_INC, as copied from modperl-2.0/Makefile,
as shown below, since they were missing.

why would you need them? I mean what was the error that you had to add them?


BASEEXT = mod_perl

what if you replace it with


BASEEXT = modperl

In any case, AIX seems to be a special case, and without having an access to it it's hard to debug the problem. So if you can debug what happens in the function write_export_file() in lib/ModPerl/WrapXS.pm (where the exp files are generated) and either it's a problem of the exp file not being generated or just not being found.

Apparently, the exp files are needed only for AIX. Though currently generated for all, and I can see only these:
./xs/apache_global.exp
./xs/apache_inline.exp
./xs/apache_ithreads.exp
./xs/modperl_global.exp
./xs/modperl_inline.exp
./xs/modperl_ithreads.exp


what if you create an empty mod_perl.exp in src/modules/perl?

PERL_INC = /usr/local/perl5.8.0/lib/5.8.0/aix/CORE

Thanks.


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Reply via email to