Re: Bus error on Mac OS X 10.3.9 while configuring mod_perl-2.0.0-RC5

[prev] [thread] [next] [Date index for 2005/04/26]

From: OpenMacNews
Subject: Re: Bus error on Mac OS X 10.3.9 while configuring mod_perl-2.0.0-RC5
Date: 16:23 on 26 Apr 2005
hi matisse,

> Thanks - I will try the later mod_perl and apache 2.

also, fwiw, my apache2 & perl configs follow; note, in particular, threading ...

APACHE2:
    ./configure \
    --enable-layout=custom --with-port=80 \
    --with-mpm=worker \
    --with-apr=/usr/local/apache2 \
    --with-apr-util=/usr/local/apache2 \
    --enable-mods-shared=all --disable-static \
    --enable-so \
    --disable-auth-digest \
    --disable-suexec \
    --with-z \
    --enable-cgi \
    --enable-dav --enable-dav-fs --enable-dav-lock \
    --enable-ssl --with-ssl=/usr/local/ssl \
    --enable-authn-dbm --enable-authz-dbm \
    --with-berkeley-db=/usr/local/berkeley-db \
    --with-pcre=/usr/local/pcre50/ \
    --enable-proxy \
    --enable-proxy-connect \
    --enable-proxy-ftp \
    --enable-proxy-http \
    --enable-logio \
    --with-imap

    % httpd -l
        Compiled in modules:
          core.c
          worker.c
          http_core.c
          mod_so.c
    % httpd -V
    Server version: Apache/2.1.5-dev
    Server built:   Apr  7 2005 14:57:22
    Server's Module Magic Number: 20050305:0
    Architecture:   32-bit
    Server MPM:     Worker
      threaded:     yes (fixed thread count)
        forked:     yes (variable process count)
    Server compiled with....
     -D APACHE_MPM_DIR="server/mpm/worker"
     -D APR_HAS_MMAP
     -D APR_USE_SYSVSEM_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="/var/settings/Apache2/mime.types"
     -D SERVER_CONFIG_FILE="/var/settings/Apache2/httpd.conf"


PERL5:
% perl -V
    (revision 5 version 8 subversion 6) configuration:
      Platform:
        osname=darwin, osvers=7.8.0, archname=darwin-thread-multi-2level
        uname='darwin tiedgar.internal.presence-group.net 7.8.0 darwin kernel
        version 7.8.0: wed dec 22 14:26:17 pst 2004;
        root:xnuxnu-517.11.1.obj~1release_ppc power macintosh powerpc '
        config_args='-Dfirstmakefile=GNUmakefile -Dprefix=/usr/local/perl5
        -Dloclibpth=/usr/local/berkeley-db/lib /usr/local/lib /usr/lib
        -Dlocincpth=/usr/local/berkeley-db/include /usr/local/include
        /usr/include -Dldflags=-L/usr/local/berkeley-db/lib -L/usr/local/lib
        -L/usr/lib -Dperllibs=-ldb -lc -lm -dl -Dlibs=-ldb -lc -lm -ldl
        -Dinstallusrbinperl -Duseshrplib -Duseperlio -Duseithreads'
        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 ='-fno-common -DPERL_DARWIN -no-cpp-precomp
        -fno-strict-aliasing -pipe -I/usr/local/berkeley-db/include
        -I/usr/local/include', optimize='-Os',
        cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp
        -fno-strict-aliasing -pipe -I/usr/local/berkeley-db/include
        -I/usr/local/include' ccversion='', gccversion='3.3 20030304 (Apple
        Computer, Inc. build 1671)', 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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags
        ='-L/usr/local/berkeley-db/lib -L/usr/local/lib -L/usr/lib'
        libpth=/usr/local/berkeley-db/lib /usr/local/lib /usr/lib /lib
        libs=-ldb -lc -lm -ldl
        perllibs=-lc -lm -ldl
        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='-L/usr/local/berkeley-db/lib
        -L/usr/local/lib -L/usr/lib -bundle -undefined dynamic_lookup'

    Characteristics of this binary (from libperl):
      Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
    PERL_IMPLICIT_CONTEXT
      Built under darwin
      Compiled at Mar 11 2005 21:39:01

> I'm not sure I want to
> ditch the old mp1 installation, since it might be used at some point by
> Apple's installed apache 1.3.x.

fair point.  i never use apple's install, so haven't noticed any issues as yet 
...

g'luck!

richard

Re: Bus error on Mac OS X 10.3.9 while configuring mod_perl-2.0.0-RC5
OpenMacNews 16:23 on 26 Apr 2005

Generated at 09:30 on 27 Apr 2005 by mariachi v0.52