Hello,
I'm not having a great day here! :-(
Trying to install mod_perl 1.27 with apache 1.3.26 and perl 5.8.0 on
Solaris 8 using gcc 2.95.2.
I keep getting the following error when I run make test in the mod_perl
source tree:
letting apache warm up...Syntax error on line 7 of
/opt/src/mod_perl-1.27/t/conf/httpd.conf:
Cannot load
/opt/src/mod_perl-1.27/t/../../apache_1.3.26/src/modules/standard/mod_negotiation.so
into server: ld.so.1: ../apache_1.3.26/src/httpd: fatal: relocation
error: file
/opt/src/mod_perl-1.27/t/../../apache_1.3.26/src/modules/standard/mod_negotiation.so:
symbol __floatdisf: referenced symbol not found
If I comment out the offending line for mod_negotiation.so I get a
similar error on libproxy.so. With both commented out the test completes
with :
Failed 2/33 test scripts, 93.94% okay. 23/280 subtests failed, 91.79%
okay.
make: *** [run_tests] Error 29
I think the errors are:
internal/http-get.Internal Server Error
internal/http-postInternal Server Error
My main concern is the first error though. I've tried many options and
settings and browsed the archives but I'm still not able to get this
working. :-(
Any help is appreciated,
Tom
My Configs:-
PATH=/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/bin
gcc -v :-
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)
apache config.status :-
CC="gcc" \
CFLAGS=" -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64" \
LDFLAGS="/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/libgcc.a" \
./configure \
"--activate-module=src/modules/perl/libperl.a" \
"--disable-rule=EXPAT" \
"--with-layout=opt" \
"--enable-module=most" \
"--enable-shared=max" \
"--with-perl=/usr/local/bin/perl" \
"$@"
mod_perl config :-
LDFLAGS=`gcc -print-libgcc-file-name`
CFLAGS=" -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64"
perl Makefile.PL USE_APACI=1 APACI_ARGS='--with-layout=opt,
--enable-module=most, --enable-shared=max,
--with-perl=/usr/local/bin/perl'
perl -V :-
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris
uname='sunos maserati 5.8 generic_108528-11 sun4u sparc
sunw,ultra-250 '
config_args=''
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='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.95.2 19991024 (release)',
gccosandvers='solaris2.8'
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='gcc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Aug 12 2002 14:08:36
@INC:
/usr/local/lib/perl5/5.8.0/sun4-solaris
/usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl