Hi there,
running make test fails and produces the errors listed at the end of this
message. I searched the list archives and found a posting that suggested
rebuilding Perl with the same compiler and tools that I use for apache and
mod_perl. So I did but it didn't fix the problem. I did in fact build Perl
the first time with gcc 2.8.1, then built gcc 2.95.2 from source. But I
rebuilt Perl with the new compiler and get the same results. Any ideas,
pointers, etc. in troubleshooting are appreciated.
The environment, etc. is:
Solaris 2.6 on an Ultra 1
gcc 2.95.2
Sun's build tools (ld, nm, ar, etc.)
Perl 5.005_03
apache 1.3.11
mod_perl 1.21
Other "3rd party" mods I'm including:
php 4.0b3
mod_ssl 2.5.0-1.3.11
Appended are perl -V output and the errors from make test
Thanks for your help.
--Jeff
Perl Version:
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=solaris, osvers=2.6, archname=sun4-solaris
uname='sunos wiggy 5.6 generic sun4u sparc sunw,ultra-1 '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='gcc -B/usr/ccs/bin/ -B/usr/ccs/bin/', optimize='-O',
gccversion=2.95.2 19991024 (release)
cppflags='-I/usr/local/include'
ccflags ='-I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='gcc -B/usr/ccs/bin/ -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
libc=, so=so, useshrplib=false, libperl=libperl.a
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):
Built under solaris
Compiled at Jan 23 2000 14:15:33
@INC:
/usr/local/lib/perl5/5.00503/sun4-solaris
/usr/local/lib/perl5/5.00503
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris
/usr/local/lib/perl5/site_perl/5.005
make test errors:
[Thu Jan 27 13:51:41 2000] [error] Can't load
'/usr/local/lib/perl5/5.00503/sun4-solaris/auto/IO/IO.so' for module IO:
ld.so.1: ../apache_1.3.11/src/httpd: fatal: relocation error: file
/usr/local/lib/perl5/5.00503/sun4-solaris/auto/IO/IO.so: symbol main:
referenced symbol not found at
/usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.
Jeff Beard
_______________________________
Web: www.cyberxape.com
Phone: 303.443.9339
Location: Boulder, CO, USA