You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Michael Fourneau <Mi...@Sun.COM> on 2005/09/13 10:29:19 UTC
FIXED -- [Fwd: Cannot build static mod_perl 2.0.1 / Apache 2.0.54 on
Solaris 9]
Hi,
This has been fixed. Thank you very much to Cory Omand who pointed me
to http://www.blastwave.org where Solaris builds for lots of
applications are already available.
Best regards,
Michael
-------- Original Message --------
Subject: Cannot build static mod_perl 2.0.1 / Apache 2.0.54 on Solaris 9
Date: Fri, 09 Sep 2005 16:27:05 +0200
From: Michael FOURNEAU - Sun Proactive Services <Mi...@Sun.COM>
Organization: Sun Microsystems Belgium / Luxembourg
To: modperl@perl.apache.org
Hi,
I'm not subscribed to this mailing list, so please respond to me... and
actually, I'm not a developer...
In order to install AxKit, since a few days, I'm still unsuccessfully
trying to configure mod_perl 2.0.1 with the following environment :
Solaris 9 (KJP 117171-17) / PERL 5.8.7 / Apache 2.0.54 /
make=/usr/ccs/bin/make
* PERL was successfully built with the following options :
./configure -des -Dusethreads -Dcc="gcc -B /usr/ccs/bin"
* Bundle::Apache2 was added within CPAN.
* I tried to configure a static mod_perl in Apache with the following
options :
perl Makefile.PL MP_USE_STATIC=1 \
MP_AP_PREFIX=/usr/src/apache/httpd-2.0.54 \
MP_AP_CONFIGURE="--with-mpm=prefork"
* Although the previous command successfully ended, make ends with the
following messages :
Perl_Tstack_max_ptr
/usr/share/src/mod_perl/mod_perl-2.0.1/src/modules/perl/mod_perl.a(modperl_callback.o)
ld: fatal: Symbol referencing errors. No output written to .libs/httpd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `httpd'
Current working directory /usr/share/src/apache/httpd-2.0.54
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/share/src/apache/httpd-2.0.54
*** Error code 1
make: Fatal error: Command failed for target `ap_build'
Thru perl.apache.org and Google, I can't figure out what those
messages mean...
* Apache 2.0.54 alone can successfully install with the following option :
./configure --with-mpm=prefork
I can't find any further references to help me on this. Any idea about
what could be wrong ?
Thanks beforehand,
Michael
===== Apache 2.0.54 configuration options =====
# ./httpd -V
Server version: Apache/2.0.54
Server built: Sep 8 2005 23:10:28
Server's Module Magic Number: 20020903:9
Architecture: 32-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_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-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"
===== PERL 5.8.7 configuration options =====
# perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=solaris, osvers=2.9, archname=sun4-solaris-thread-multi
uname='sunos proactive 5.9 generic_117171-17 sun4u sparc
sunw,ultra-enterprise '
config_args='-des -Dusethreads -Dcc=gcc -B /usr/ccs/bin'
hint=recommended, 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='gcc -B /usr/ccs/bin', ccflags ='-D_REENTRANT
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-D_REENTRANT -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.3.2', gccosandvers='solaris2.9'
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 -B /usr/ccs/bin', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lpthread -lc
perllibs=-lsocket -lnsl -ldl -lm -lpthread -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: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Built under solaris
Compiled at Sep 8 2005 19:05:09
@INC:
/usr/local/lib/perl5/5.8.7/sun4-solaris-thread-multi
/usr/local/lib/perl5/5.8.7
/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris-thread-multi
/usr/local/lib/perl5/site_perl/5.8.7
/usr/local/lib/perl5/site_perl/5.8.5
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
--