Re: make errors with mod_perl-1.99_08 on aix 4.3.3 & 5.1

2003-03-26 Thread Stas Bekman
Priest, Darryl - BALTO wrote:
Thanks. Compiles ok now, but I'm having trouble with 'make test'. 
[...]
waiting for server to start: .Syntax error on line 12 of
/tmp/modperl-2.0/t/conf/httpd.conf:
Cannot load /tmp/modperl-2.0/src/modules/perl/mod_perl.so into server: 
[...]
I tried with Apache 2.0.43, got the above messages, so I got the most recent
CVS version and still have the problem.
Too bad, I guess my solution of using -berok to ignore the linking errors at 
ld time and resolving everything at run-time doesn't work everywhere, so I 
probably have to go back to the drawing board and get the ld-time resolving 
working.

However if somebody can give me an access to a fast aix machine, I'll be much 
more productive. The machine that I have an access to is a way too slow (takes 
an hour and longer to build mod_perl).

Meanwhile, can you please test whether you have the same problem with Apache 
2.0.45-tobe, which you can get with:

% cvs login
(The password is "anoncvs", without the quotation marks)
% cvs checkout -d httpd-2.0 -r APACHE_2_0_BRANCH httpd-2.0
% ./buildconf
% ./configure ...
since that's the version I have tested with.

Also is do you have this problem on 4.3.3 and 5.1 or only one of these, I 
couldn't find which one you have referred to in this report.

__
Stas BekmanJAm_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


RE: make errors with mod_perl-1.99_08 on aix 4.3.3 & 5.1

2003-03-26 Thread Priest, Darryl - BALTO
Thanks. Compiles ok now, but I'm having trouble with 'make test'. 

Here's the output:

root%make test
cd "src/modules/perl" && make -f Makefile.modperl
Target "all" is up to date.
/usr/bin/perl -Iblib/arch -Iblib/lib  t/TEST -clean
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -clean
APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE= APXS=  /usr/bin/perl
-Iblib/arch -Iblib/lib  t/TEST
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST 
*** root mode: changing the fs ownership to 'nobody' (4294967294:4294967294)
/usr/local/apache/bin/httpd  -d /tmp/modperl-2.0/t -f
/tmp/modperl-2.0/t/conf/httpd.conf -DAPACHE2 
using Apache/2.1.0-dev (prefork MPM)

waiting for server to start: .Syntax error on line 12 of
/tmp/modperl-2.0/t/conf/httpd.conf:
Cannot load /tmp/modperl-2.0/src/modules/perl/mod_perl.so into server: 
..
waiting for server to start: giving up after 61 secs
!!! server failed to start! (t/logs/error_log wasn't created, start the
server in the debug mode)
make: 1254-004 The error code from the last command is 1.


I tried with Apache 2.0.43, got the above messages, so I got the most recent
CVS version and still have the problem.

%perl -V:ld -V:cc  
ld='ld';
cc='cc';with the cc being vac.C 4.4.0.3

I'm not sure where to go from here?

-Darryl



-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 2:50 AM
To: Justin Derrick
Cc: Priest, Darryl - BALTO; '[EMAIL PROTECTED]'
Subject: Re: make errors with mod_perl-1.99_08 on aix 4.3.3 & 5.1


I've applied some fixes for mod_perl to build on aix.
I could only test with aix 5.1 on powerpc. Please test that things work on 
other configurations.

__
Stas BekmanJAm_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





Re: make errors with mod_perl-1.99_08 on aix 4.3.3 & 5.1

2003-03-23 Thread Stas Bekman
I've applied some fixes for mod_perl to build on aix.
I could only test with aix 5.1 on powerpc. Please test that things work on 
other configurations.

__
Stas BekmanJAm_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


RE: make errors with mod_perl-1.99_08 on aix 4.3.3 & 5.1

2003-03-04 Thread Justin Derrick
I've been following this thread for a few days now, and I just 
thought that I'd mention that this compile problem appears to be the 
same on AIX 5.1 ML02 with C for AIX 6.0.  I may be able to offer 
access to this system for one individual to assist in the process of 
debugging this, since it's been mentioned that access to an AIX boxen 
is a problem.

-JD.

At 5:02 PM -0500 3/3/03, 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/libmod_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?
Without PERL_INC I got this error:

ld -bhalt:4 -bM:SRE -bI:/perl.exp -bE:.exp -bnoentry -lc
-L/usr/local/libmod_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-003 Cannot find or read import file: /perl.exp
ld:accessx(): A file or directory in the path name does not exist.
ld: 0706-004 Cannot find or read export file: .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.
So, I looked at the -bI:/perl.exp and looked at the Makefile.modperl and saw
that it referenced PERL_INC, which didn't appear to be defined, although it
was referenced, after setting it to PERL_INC =
/usr/local/perl5.8.0/lib/5.8.0/aix/CORE and got this error next:
ld -bhalt:4 -bM:SRE
-bI:/usr/local/perl5.8.0/lib/5.8.0/aix/CORE/perl.exp -bE:.exp -bnoentry -lc
-L/usr/local/libmod_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: .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.
Noticed -bE:.exp and looked in the makefile for where that was coming from,
which led me to set BASEEXT = mod_perl since it was defined in
Makefile.modperl but was referenced. Which led a bit further but still
without success.
#
#> BASEEXT = mod_perl
#
#what if you replace it