Hi, I've compiled and installed Apache httpd 2.0.55 on HP-UX 11.11 in 64bit mode. The compilation of mod_perl 2.0.2 needed some tweaks (i.e., I had to remove the "+DD64" flag from the LDFLAGS lines in all Makefiles because ld doesn't like it) but after all it compiles without problems. Unfortunately the mod_perl tests fail because the Apache httpd refuses to load the module:
$ make test [...] /opt/apache2/bin/httpd -d /build/11.11/mod_perl-2.0.2/t -f /build/11.11/mod_perl-2.0.2/t/conf/httpd.conf -D APACHE2 using Apache/2.0.55 (prefork MPM) waiting 120 seconds for server to start: .Syntax error on line 180 of /build/11.11/mod_perl-2.0.2/t/conf/httpd.conf: Cannot load /build/11.11/mod_perl-2.0.2/src/modules/perl/mod_perl.so into server: Invalid argument Please see below for the compile flags used. What's going wrong? Thanks a lot for your hints, Stephan $ perl -V Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=hpux, osvers=11.11, archname=PA-RISC2.0-LP64 uname='hp-ux xxxxxx b.11.11 u 9000800 116444651 unlimited-user license ' config_args='-Duse64bitall -Duse64bitint -A prepend:libswanted=cl pthread ' 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=define use64bitall=define uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags =' +Z -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ', optimize='+O2 +Onolimit', cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE +Z -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/opt/gnu/include' ccversion='B.11.X.32509-32512.GP', gccversion='', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='/usr/bin/ld', ldflags =' +DD64 -L/opt/gnu/lib -L/lib/pa20_64' libpth=/opt/gnu/lib /lib/pa20_64 /lib /usr/lib /usr/ccs/lib libs=-lcl -lpthread -lnsl -lnm -ldl -ldld -lm -lsec -lc perllibs=-lcl -lpthread -lnsl -lnm -ldl -ldld -lm -lsec -lc libc=/lib/pa20_64/libc.sl, so=sl, useshrplib=true, libperl=libperl.sl gnulibc_version='' Dynamic Linking: dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred ' cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/opt/gnu/lib -L/lib/pa20_64' Characteristics of this binary (from libperl): Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES Built under hpux Compiled at Nov 24 2005 15:51:33 @INC: /opt/sodperl5/lib/5.8.7/PA-RISC2.0-LP64 /opt/sodperl5/lib/5.8.7 /opt/sodperl5/lib/site_perl/5.8.7/PA-RISC2.0-LP64 /opt/sodperl5/lib/site_perl/5.8.7 /opt/sodperl5/lib/site_perl . $ /opt/apache2/bin/httpd -V Server version: Apache/2.0.55 Server built: Oct 19 2005 15:13:18 Server's Module Magic Number: 20020903:11 Architecture: 64-bit Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/opt/apache2" -D SUEXEC_BIN="/opt/apache2/bin/suexec" -D DEFAULT_PIDLOG="/var/opt/apache2/logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/opt/apache2/logs/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="/etc/opt/apache2/mime.types" -D SERVER_CONFIG_FILE="/etc/opt/apache2/httpd.conf"