I got the new CVS version applied the patch and I got a bit further, 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.

BASEEXT = mod_perl

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




-----Original Message-----
From: Stas Bekman [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 7:24 PM
Cc: Priest, Darryl - BALTO; '[EMAIL PROTECTED]'
Subject: Re: make errors with mod_perl-1.99_08 on aix 4.3.3


Stas Bekman wrote:
> Priest, Darryl - BALTO wrote:
> 
>> Thanks for the quick response, additional information as requested is 
>> below.
> 
> 
> Cool, please let me know whether this patch solves the problem (you need 
> to apply the patch:
> 
> cd modperl-2.0
> patch -p0 < patch_itself
> rebuild mod_perl from scratch

oops, please try this one instead:

Index: lib/ModPerl/Code.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/ModPerl/Code.pm,v
retrieving revision 1.92
diff -u -r1.92 Code.pm
--- lib/ModPerl/Code.pm 8 Feb 2003 04:17:11 -0000       1.92
+++ lib/ModPerl/Code.pm 28 Feb 2003 00:24:45 -0000
@@ -512,6 +512,7 @@
      return unless $flags;

      for my $flag (split /\s+/, $flags) {
+        next if $flag =~ /^-/; # skip -foo flags
          my($name, $val) = split '=', $flag;
          $val ||= '';
          $name =~ s/^-D//;



__________________________________________________________________
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


____________________________________________________________________________
The information contained in this communication may be confidential, is
intended only for the use of the recipient named above, and may be legally
privileged.  If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, distribution, or copying of
this communication, or any of its contents, is strictly prohibited. If you
have received this communication in error, please re-send this communication
to the sender and delete the original message and any copy of it from your
computer system.
Thank you.

For more information please visit us at http://www.piperrudnick.com
____________________________________________________________________________


Reply via email to