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-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-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

2003-03-06 Thread ODELL, TODD E (SWBT)
Hello,

I've been following the thread on AIX4.3.3 and mod_perl1.99_08 from Darryl
Priest. I've been trying to install the mod_perl and by following the thread
I was able to get to the point below by touching
./src/modules/perl/mod_perl.exp. I wasn't able to find any mod_perl.exp that
was generated before.

Before the error though I run into a lot of warnings like:
ld: 0711-415 WARNING:Symbol perl_alloc is already exported.
and
ld: 0711-224 WARNING: Duplicate symbol: PL_patchlevel

I know these are only warnings but is there something that's not quite right
when you see all of those? 

LD_RUN_PATH= ld -bhalt:4 -bM:SRE
-bI:/usr/local/perl5.8.0/lib/5.8.0/aix/CORE/perl.exp -bE:Base64.exp
-bnoentry -lc -L/usr/local/lib Base64.o -o
.../../../blib/arch/auto/APR/Base64/Base64.so 
ld: 0711-317 ERROR: Undefined symbol: .apr_base64_encode_len
ld: 0711-317 ERROR: Undefined symbol: .apr_base64_decode_len
ld: 0711-317 ERROR: Undefined symbol: .apr_base64_decode_binary
ld: 0711-317 ERROR: Undefined symbol: .apr_base64_encode_binary
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information. 
Thanks!
Todd O'Dell



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

2003-02-28 Thread Priest, Darryl - BALTO
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/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.

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 -   1.92
+++ lib/ModPerl/Code.pm 28 Feb 2003 00:24:45 -
@@ -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 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

2003-02-28 Thread Stas Bekman
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?

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 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

2003-02-27 Thread Priest, Darryl - BALTO
Thanks for the quick response, additional information as requested is below.


Priest, Darryl - BALTO wrote:
 I'm getting the error below for every cc in the make:
 
 
 /usr/local/perl5.8.0/lib/5.8.0/aix/CORE/config.h, line 41.9: 1506-236
(W)
 Macro name __attribute__ has been redefined.
 /usr/local/perl5.8.0/lib/5.8.0/aix/CORE/config.h, line 41.9: 1506-358
(I)
 __attribute__ is defined on line 28 of /usr/local/apache/include/apr.h.

I'll take this issue to the apr/p5p lists, but this is non-fatal.

 But the make sails along until:
 
 cc -I/tmp/mod_perl-1.99_08/src/modules/perl
 -I/tmp/mod_perl-1.99_08/xs -I/usr/local/apache/include -D_ALL_SOURCE
 -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias
 -DUSE_NATIVE_DLOPEN   -I/usr/local/perl5.8.0/lib/5.8.0/aix/CORE -DMOD_PERL
 -O   -c modperl_sys.c  mv modperl_sys.o modperl_sys.lo
 modperl_largefiles.h, line 15.9: 1506-199 (S) #define directive requires
a
 macro name.
 modperl_largefiles.h, line 17.9: 1506-199 (S) #define directive requires
a
 macro name.
[...]
 Is it just a coincidence that perl has USE_LARGE_FILES on and the file
that
 make finally fails on is modperl_largefiles.h ?

Can you please post your src/modules/perl/modperl_largefiles.h and the
output of:

#ifndef MODPERL_LARGEFILES_H
#define MODPERL_LARGEFILES_H

/*
 * *** WARNING **
 * This file generated by ModPerl::Code/0.01
 * Any changes made here will be lost
 * ***
 * 01: lib/ModPerl/Code.pm:648
 * 02: lib/ModPerl/Code.pm:674
 * 03: Makefile.PL:209
 * 04: Makefile.PL:91
 */

#define -q32 
#define _LARGE_FILES 
#define -qlonglong 

#endif /* MODPERL_LARGEFILES_H */



   % perl -MConfig -e 'print $Config{ccflags_uselargefiles}'

-q32 -D_LARGE_FILES -qlonglong

__
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

2003-02-27 Thread Stas Bekman
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
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 -   1.92
+++ lib/ModPerl/Code.pm 28 Feb 2003 00:22:23 -
@@ -512,6 +512,7 @@
 return unless $flags;
 for my $flag (split /\s+/, $flags) {
+next if /^-/; # skip -foo flags
 my($name, $val) = split '=', $flag;
 $val ||= '';
 $name =~ s/^-D//;
__
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

2003-02-27 Thread Stas Bekman
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 -   1.92
+++ lib/ModPerl/Code.pm 28 Feb 2003 00:24:45 -
@@ -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 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


make errors with mod_perl-1.99_08 on aix 4.3.3

2003-02-26 Thread Priest, Darryl - BALTO
I'm getting the error below for every cc in the make:


/usr/local/perl5.8.0/lib/5.8.0/aix/CORE/config.h, line 41.9: 1506-236 (W)
Macro name __attribute__ has been redefined.
/usr/local/perl5.8.0/lib/5.8.0/aix/CORE/config.h, line 41.9: 1506-358 (I)
__attribute__ is defined on line 28 of /usr/local/apache/include/apr.h.


But the make sails along until:

cc -I/tmp/mod_perl-1.99_08/src/modules/perl
-I/tmp/mod_perl-1.99_08/xs -I/usr/local/apache/include -D_ALL_SOURCE
-D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias
-DUSE_NATIVE_DLOPEN   -I/usr/local/perl5.8.0/lib/5.8.0/aix/CORE -DMOD_PERL
-O   -c modperl_sys.c  mv modperl_sys.o modperl_sys.lo
modperl_largefiles.h, line 15.9: 1506-199 (S) #define directive requires a
macro name.
modperl_largefiles.h, line 17.9: 1506-199 (S) #define directive requires a
macro name.
/usr/local/perl5.8.0/lib/5.8.0/aix/CORE/config.h, line 41.9: 1506-236 (W)
Macro name __attribute__ has been redefined.
/usr/local/perl5.8.0/lib/5.8.0/aix/CORE/config.h, line 41.9: 1506-358 (I)
__attribute__ is defined on line 28 of /usr/local/apache/include/apr.h.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 2.

Stop.




perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
osname=aix, osvers=4.3.3.0, archname=aix
uname='aix mtwdbdev 3 4 000135194c00 '
config_args='-Dprefix=/usr/local/perl5.8.0'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
  Compiler:
cc='cc', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -q32 -D_LARGE_FILES
-qlonglong',
optimize='-O',
cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
-qnoansialias -DUSE_NATIVE_DLOPEN'
ccversion='4.4.0.3', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
  Linker and Libraries:
ld='ld', ldflags =' -brtl -L/usr/local/lib -b32'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lbind -lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW
perllibs=-lbind -lnsl -ldl -lld -lm -lc -lcrypt -lbsd -lPW
libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
gnulibc_version=''
  Dynamic Linking:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-bE:/usr/local/perl5.8.0/lib/5.8.0/aix/CORE/perl.exp'
cccdlflags=' ', lddlflags=' -bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp
-bE:$(BASEEXT).exp -bnoentry -lc -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under aix
  Compiled at Feb 25 2003 14:02:45
  @INC:
/usr/local/perl5.8.0/lib/5.8.0/aix
/usr/local/perl5.8.0/lib/5.8.0
/usr/local/perl5.8.0/lib/site_perl/5.8.0/aix
/usr/local/perl5.8.0/lib/site_perl/5.8.0
/usr/local/perl5.8.0/lib/site_perl




apachectl -V
Server version: Apache/2.0.43
Server built:   Feb 26 2003 13:32:10
Server's Module Magic Number: 20020903:0
Architecture:   32-bit
Server compiled with
 -D APACHE_MPM_DIR=server/mpm/prefork
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT=/usr/local/apache
 -D SUEXEC_BIN=/usr/local/apache/bin/suexec
 -D DEFAULT_PIDLOG=logs/httpd.pid
 -D DEFAULT_SCOREBOARD=logs/apache_runtime_status
 -D DEFAULT_LOCKFILE=logs/accept.lock
 -D DEFAULT_ERRORLOG=logs/error_log
 -D AP_TYPES_CONFIG_FILE=conf/mime.types
 -D SERVER_CONFIG_FILE=conf/httpd.conf




Is it just a coincidence that perl has USE_LARGE_FILES on and the file that
make finally fails on is modperl_largefiles.h ?

I've searched the archives but couldn't find too much pertaining to this
compile error or to AIX, so I'm at a loss.  

Thanks in advance for any suggestions,

-Darryl




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 

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

2003-02-26 Thread Stas Bekman
Priest, Darryl - BALTO wrote:
I'm getting the error below for every cc in the make:

/usr/local/perl5.8.0/lib/5.8.0/aix/CORE/config.h, line 41.9: 1506-236 (W)
Macro name __attribute__ has been redefined.
/usr/local/perl5.8.0/lib/5.8.0/aix/CORE/config.h, line 41.9: 1506-358 (I)
__attribute__ is defined on line 28 of /usr/local/apache/include/apr.h.
I'll take this issue to the apr/p5p lists, but this is non-fatal.

But the make sails along until:

cc -I/tmp/mod_perl-1.99_08/src/modules/perl
-I/tmp/mod_perl-1.99_08/xs -I/usr/local/apache/include -D_ALL_SOURCE
-D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias
-DUSE_NATIVE_DLOPEN   -I/usr/local/perl5.8.0/lib/5.8.0/aix/CORE -DMOD_PERL
-O   -c modperl_sys.c  mv modperl_sys.o modperl_sys.lo
modperl_largefiles.h, line 15.9: 1506-199 (S) #define directive requires a
macro name.
modperl_largefiles.h, line 17.9: 1506-199 (S) #define directive requires a
macro name.
[...]
Is it just a coincidence that perl has USE_LARGE_FILES on and the file that
make finally fails on is modperl_largefiles.h ?
Can you please post your src/modules/perl/modperl_largefiles.h and the output of:

  % perl -MConfig -e 'print $Config{ccflags_uselargefiles}'

__
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


make errors - i am going crazy

2000-10-24 Thread Alexander Koeb

Hi folks,

  I think now I tried every combination of compilers, perl-versions, perl
compile-flags, mod_perl-versions and so on, but nothing works...

My last try had following configuration:
perl 5.6.0, compiled with -Ubincompat5005 -Uuselargefiles -Dcc=gcc
apache 1.3.14, with mod_ssl-2.7.1-1.3.14 and php 4.0.3pl1 (this one works)
mod_perl 1.24_01 with APXS (USE_APXS=1 WITH_APXS=/usr/local/apache/bin/apxs
EVERYTHING=1)
on a solaris 2.6 box

and after:
gcc -c -I../ -I/usr/local/apache/include -I/usr/local/apache/include 
-I/usr/local/include -O -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fPIC 
-I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE  Connection.c 


I got following error:
Connection.xs:2: mod_perl.h: No such file or directory

I got the same error also with different perl-configuration.

I also tried to compile mod_perl statically or with APACI to apache but then I
got segmentation fault on startup which is not logged.

I know it is stupid 'cause there are lots of postings with similar problems,
but I think I tried all those suggestions with no success...

Can anyone help me??

Thanks in advance
alex


-- 
ZENTRALES VERZEICHNIS ANTIQUARISCHER BUECHER

E-Mail[EMAIL PROTECTED]
WWW   http://www.zvab.com
Fon   +49 30 / 533 12 44 00
Fax   +49 30 / 533 12 44 05

Ein Unternehmensbereich der buecher.de AG



make errors

2000-08-09 Thread Pamela O'Shea

Hi, i am trying to install mod_perl-1.24 on a redhat linux 6.2 box with
kernel 2.2.16-3 and apache 1.3.12. Somebody had previosly installed
modperl into the httpd binary on this box but it was not fully working,
i am assuming that the previous installation is causing the make errors.
I cant find the orginal mod_perl source in this box so i downloaded the
lastest and tried installing this, i also took any refernces of perl
support out of http.conf and overwrote the httpd binary with a backup
that didnt have the perl module support buit in, i  would like to know
what i can do to solve this please. I get the following errors when i
run make:

(cd /usr/local/src/APACHE/apache_1.3.12  make)
make[1]: Entering directory `/usr/local/src/APACHE/apache_1.3.12'
=== src
make[2]: Entering directory `/usr/local/src/APACHE/apache_1.3.12'
make[3]: Entering directory `/usr/local/src/APACHE/apache_1.3.12/src'
=== src/regex
make[4]: *** No rule to make target `regcomp.c', needed by `regcomp.o'.
Stop.
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/usr/local/src/APACHE/apache_1.3.12/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/usr/local/src/APACHE/apache_1.3.12'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/local/src/APACHE/apache_1.3.12'
make: *** [apaci_httpd] Error 2

Thanks in advance,

Regards.




Re: make errors

2000-08-09 Thread G.W. Haywood

Hi there,

On Wed, 9 Aug 2000, Pamela O'Shea wrote:

 errors when i run make:

I'd delete the entire Apache and mod_perl source trees and start from
scratch with new tarballs.  Otherwise you could try `make clean' in
both directories followed by the instructions in the Guide.

http://perl.apache.org/guide

Good luck!

73,
Ged.




Re: Make errors

1999-10-31 Thread Doug MacEachern

On Fri, 15 Oct 1999, John Whitehead wrote:

 I can succesfully make Apache and perl with the following versions ;
  
 apache_1.2.6
 perl5.004_05
 
 when trying to make mod_perl-1.21

mod_perl no longer supports 1.2.x, try 1.3.9 instead.



Make errors

1999-10-25 Thread John Whitehead




I can succesfullymake Apache and perl with 
the following versions ;

apache_1.2.6
perl5.004_05

when trying to make mod_perl-1.21

I get the following errors ;



cc -I. -I../.. -I../../regex -I../../../ 
-I../../regex -O2 -DLINUX=2 
-DSERVER_SUBVERSION=\"mod_perl/1.21\" -DMOD_PERL 
`/usr/bin/perl -MExtUtils::Embed -e ccopts` -DNO_PERL_DISPATCH 
-DNO_PERL_CHILD_INIT -DNO_PERL_CHILD_EXIT -DNO_PERL_POST_READ_REQUEST 
-DNO_PERL_TRANS -DNO_PERL_HEADER_PARSER -DNO_PERL_ACCESS -DNO_PERL_AUTHEN 
-DNO_PERL_AUTHZ -DNO_PERL_TYPE -DNO_PERL_FIXUP -DNO_PERL_LOG 
-DNO_PERL_INIT -DNO_PERL_CLEANUP -DNO_PERL_RESTART 
-DNO_PERL_STACKED_HANDLERS -DNO_PERL_SECTIONS -DNO_PERL_METHOD_HANDLERS 
-DNO_PERL_SSI -DNO_PERL_DIRECTIVE_HANDLERS 
-DMOD_PERL_VERSION=\"1.21\" -c Apache.c 
-o Apache.oApache.xs: In function 
`XS_Apache_read_client_block':Apache.xs:874: `APLOG_MARK' undeclared (first 
use this function)Apache.xs:874: (Each undeclared identifier is reported 
only onceApache.xs:874: for each function it appears in.)Apache.xs:874: 
`APLOG_ERR' undeclared (first use this function)Apache.xs:874: 
`APLOG_NOERRNO' undeclared (first use this function)make[3]: *** [Apache.o] 
Error 1make[3]: Leaving directory 
`/opt/apache_1.2.6/src/modules/perl'make[2]: *** [perl] Error 2make[2]: 
Leaving directory `/opt/apache_1.2.6/src/modules'make[1]: *** 
[modules/last-built] Error 2make[1]: Leaving directory 
`/opt/apache_1.2.6/src'make: *** [apache_httpd] Error 2

Can anybody tell me what I am doing wrong ?

John Whitehead.