Hi All
I've spent the last two days reading various docs and posts trying to resolve
this problem. If this is a known issue or has been answered previously please
accept my apologies and by all means point me in the direction of the correct
documentation / newsgroup / mailing list archive.
I am attempting to build mod_perl from the 1.99_05 source with Apache 2.0.40 and
perl 5.8.0 both of which were built from source with the HP ANSI C compiler :
B3901BA B.11.01.07 HP C/ANSI C Developer's Bundle for
HP-UX 11.00 (S800)
(I'm using the HP compiler because a) we have it available and it's recommended
in the Perl hpux.readme and b) I had problems trying to build perl with gcc 3.x
as supplied via the HPUX Porting and Archive site)
Perl and Apache built without problems and Apache runs fine without mod-perl. (I
have served some test html and cgi queries fine)
During the mod-perl build I get the same warning from each component build :
cpp: "/usr/local/lib/perl5/5.8.0/PA-RISC1.1-thread-multi/CORE/config.h", line
41: warning 2002: Redefinition of param names for macro __attribute__.
I tried to run a 'make test' anyhow since I've had cases in the past where
warnings similar to the above haven't caused any issues. When the test routine
tries to start it's httpd to test against it eventually falls over with the
following message :
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST
/usr/local/apache2/bin/httpd -d /oracle/db/GSE/04/techweb/mod_perl-1.99_05/t -f
/oracle/db/GSE/04/techweb/mod_perl-1.99_05/t/conf/httpd.conf -DAPACHE2
-DPERL_USEITHREADS
using Apache/2.0.40 (prefork MPM)
waiting for server to start:
.
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)
*** Error exit code 1
In actual fact a server is started but the httpd process just spins consuming >
90% of one CPU and the only way to stop it is to issue a kill -9 (_SIGKILL) to
the process.
Has any one out there successful build on HPUX 11 ?
I have attached the output of t/REPORT.
Many thanks in advance.
Paul
-8<-- Start Bug Report 8<--
1. Problem Description:
2. Used Components and their Configuration:
*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_APXS=> /usr/local/apache2/bin/apxs
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
MP_USE_STATIC => 1
*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.0.40
Server built: Sep 26 2002 08:50:18
Server's Module Magic Number: 20020628:0
Architecture: 32-bit
Server compiled with
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/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"
*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=hpux, osvers=11.00, archname=PA-RISC1.1-thread-multi
uname='hp-ux tutdarlb b.11.00 a 9000831 282814 two-user license '
config_args='-de'
hint=previous, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE
-Wl,+vnocompatwarnings -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 +Z',
optimize='+O2 +Onolimit',
cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L
-D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include
-D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +Z
-D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +Z'
ccversion='A.11.01.00', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lnsl -lnm -lndbm -lmallo