--On Saturday, June 15, 2002 10:23 AM -0700 Doug MacEachern <[EMAIL PROTECTED]> wrote:

> On Sat, 15 Jun 2002, Doug MacEachern wrote:
>
>> how did '-undefined suppress' end up in your ldflags? they should only
>> be in lddflags.
>
> still curious if you have an answer. but i edited my Config.pm by hand
> and added these flags to see it break. then applied a similar patch to
> Apache::Build that rips them out. let us know if it works for you.
>
>


for the life of me, i dunno ..... i'd set it properly in both my .cshrc & in the perl step-by-step configure

either i did it in a haze, or something did it for me ....

nonetheless, your pointer fixed it. i cleaned-house, re-dl'd and rebuilt everything (apache, openssl, perl & modperl), MAKING SURE that my flags are properly set in Perl's config.sh and now modperl builds fine (again).

for the record, here are the criticals:

perl -V:

[server:~] root# perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0 patch 17251) configuration:
Platform:
osname=darwin, osvers=5.4, archname=darwin-thread-multi
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 -Duseperlio -Dusethreads'
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='cc', ccflags ='-pipe -fno-common -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN -no-cpp-precomp -fno-strict-aliasing -I/usr/include -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/X11R6/include',
optimize='-O3',
cppflags='-no-cpp-precomp -pipe -fno-common -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN -no-cpp-precomp -fno-strict-aliasing -I/usr/include -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/X11R6/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/lib -L/usr/X11R6/lib -L/usr/local/BerkeleyDB/lib'
libpth=/System/Library/Frameworks /usr/lib /usr/local/lib /usr/X11R6/lib /usr/local/BerkeleyDB/lib /usr/local/mysql/lib/mysql /usr/local/expat/lib /usr/local/gettext/lib /usr/local/libiconv/lib /usr/local/ssl/lib
libs=-ldb -ldl -lm -lc
perllibs=-ldl -lm -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib
gnulibc_version=''
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/lib -L/usr/X11R6/lib -L/usr/local/BerkeleyDB/lib'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Locally applied patches:
DEVEL17237
Built under darwin
Compiled at Jun 15 2002 11:05:13
@INC:
/usr/local/perl/lib
/usr/local/perl/lib
/usr/local/perl/lib
/usr/local/perl/lib
.

[server:~] root# httpd -V
Server version: Apache/2.0.38-dev
Server built: Jun 15 2002 04:05:05
Server's Module Magic Number: 20020612: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_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="/etc/httpd/httpd.conf"

modperl2 (from cvs; 6/15/2002)
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co modperl-2.0

perl Makefile.PL MP_INST_APACHE2=1 MP_AP_PREFIX=/usr/local/apache2 MP_USE_DSO=1 MP_USE_STATIC=0 MP_STATIC_EXTS=0
make
make install

please also note that after tracking down the "-lbind" vs. "bus error" problem, i no longer have to change your Makefile.PL .....

(EDITOR) Makefile.PL
# for my $util (qw(Report Smoke)) {
# my $class = "Apache::Test${util}Perl";
# $class->generate_script;
# }
#
# for my $util (qw(Run)) {
# my $class = "ModPerl::Test${util}";
# $class->generate_script;
# }


if its of value, i'll post results of "make test" on OSX. pls let me know .....

i'll also now "bone up" on testing modperl in apache2 (which, BTW, launches just fine ....), and check-in if i see any trouble.

thanks for ALL your help, and especially your patience.

regards,

richard


--------------------------------------
R Blake
blakers <at> mac.com
http://homepage.mac.com/blakers
--------------------------------------


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to