Hi All,
I have a problem with building mod_perl on Solaris 8. Firstly, a quick overview of my setup (more detailed output from everything at the end) :-
OS: Solaris 8 2/02
GCC - tried 3.x and 2.95.3
Perl : 5.6.1 from SunFreeware
Apache : 1.3.29
Mod_Perl : 1.29
I can't change the Perl version, as this has been standardised across all our servers. I have also tried various combinations of Apache 1.3.28 and mod_perl 1.28 as well.
I have been struggling for a while now, and have found no solutions via newsgroups or google - hence this mail. I have two Solaris 8 systems - an E220R and a E250. Both are running Solaris 8 2/02 - one of these (the E250) builds mod_perl fine - however, the E220R fails during "make test" - the Apache process just hangs during "modules/status" . I get the following output :-
modules/status........fetch /perl/perl-status?hooks failed!
modules/status........dubious
Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 7-10
Failed 4/10 tests, 60.00% okay
And after this, all tests fail. If I try telnetting to the test server port (8529), I get no response either after this - the process has just "hung".
I have simplified everything, and since hitting this problem have just been trying to compile with the following in the mod_perl source dir :-
# perl Makefile.PL APACHE_SRC=../apache_1.3.29/src EVERYTHING=1 && gmake
I have tried different versions of GCC - each time, cleaning out and rebuilding any CPAN modules that mod_perl needs with the new compiler as well. Each time, I get the same error - yet on the E250, the build completes as expected.
Any advice would be greatly appreciated!
Thanks in advance,
-Mark
Just for reference, here is the output from perl -V and gcc -v
bash-2.03$ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris
uname='sunos solaris 5.8 generic sun4u sparc sunw,ultra-5_10 '
config_args='-Dcc=gcc -de'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=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.3 20010315 (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, usemymalloc=y, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, 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):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Apr 26 2001 04:07:49
@INC:
/usr/local/lib/perl5/5.6.1/sun4-solaris
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
.
bash-2.03$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)
This E-mail is from IPC Media Ltd whose registered office is at Kings
Reach Tower, Stamford Street, London SE1 9LS, registered number 53626.
The contents and any attachments to it include information that is private and confidential
and should only be read by those persons to whom they are addressed. IPC Media accepts no
liability for any loss or damage suffered by any person arising from the use of this e-mail.
Neither IPC Media nor the sender accepts any responsibility for viruses and it is your
responsibility to check the email and attachments (if any). No contracts may be
concluded on behalf of IPC Media by means of e-mail communications. If you have received
this e-mail in error, please destroy and delete the message from your computer.
For unbeatable savings on magazine subscriptions and great gift ideas visit www.ipcsubs.co.uk/IZAF
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html