doug,

it turns out that the troubles building modperl2 on OSX (at least for me ....) turned out not to be (directly) PERL options related, but rather required an update to libtool-1.4d ......

i've now successsfully built modperl2 (_20020531163044 ) on OSX 10.1.4 Server ...... to get there req'd:

updgrade to & patch (!) of libtool-1.4d (From Apple's 1.3.5_)
rebuild Perl 5.8.0 RC1
rebuild Apache 2.0.36
build modperl (patch still req'd to Makefile.PL to avoid "bus error" ...... *no* i'll report the perl bug ...)

config/patch/build details are summarized on my site, http://homepage.mac.com/blakers

i've included the version/config report info below .....

[root@server]perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0 patch 16982) configuration:
Platform:
osname=darwin, osvers=5.4, archname=darwin-thread-multi-stdio
uname='darwin server.internal.net 5.4 darwin kernel version 5.4: wed apr 10 09:27:47 pdt 2002; root:xnuxnu-201.19.3.obj~1release_ppc power macintosh powerpc '
config_args='-Dfirstmakefile=GNUmakefile -Dusedevel'
hint=previous, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-pipe -fno-common -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB/include',
optimize='-O3',
cppflags='-pipe -fno-common -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB/include -pipe -fno-common -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB/include -pipe -fno-common -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB/include'
ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-flat_namespace -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/BerkeleyDB/lib'
libpth=/usr/lib /usr/local/lib /usr/local/BerkeleyDB/lib /usr/X11R6/lib
libs=-lbind -ldb -ldl -lm -lc
perllibs=-lbind -ldl -lm -lc
libc=/System/Library/Frameworks/System.framework/System, so=dylib, useshrplib=true, libperl=libperl.dylib
Dynamic Linking:
dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-flat_namespace -bundle -undefined suppress -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -L/usr/X11R6/lib'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Locally applied patches:
DEVEL16967
Built under darwin
Compiled at Jun 3 2002 16:26:47
@INC:
/usr/local/perl/lib/5.8.0/darwin
/usr/local/perl/lib/5.8.0
/usr/local/perl/lib/site_perl/5.8.0/darwin
/usr/local/perl/lib/site_perl/5.8.0
/usr/local/perl/lib/site_perl
.

[root@server]httpd -V
Server version: Apache/2.0.36
Server built: Jun 3 2002 23:11:27
Server's Module Magic Number: 20020329:1
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-D APR_HAS_MMAP
-D APR_USE_POSIXSEM_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_ERRORLOG="logs/error_log"
-D SERVER_CONFIG_FILE="/etc/httpd/httpd.conf"

[root@server]glibtool --version
ltmain.sh (GNU libtool) 1.4d (1.1086 2002/01/07 22:09:42)

Copyright 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@server]



*THANKX!!* for your help ....... I'll finish off Apache DSO installs, and begin tests on executables

regards,

richard


--------------------------------------
R Blake
blakers <at> mac.com
http://homepage.mac.com/blakers
--------------------------------------
MacOSX ..... because Windows sux.
--------------------------------------

Reply via email to