Hello, [EMAIL PROTECTED] told me to forward this mail to [EMAIL PROTECTED]
....
   please read on... I will be re-compiling with a patch mod to
mod_include.c as suggested by [EMAIL PROTECTED] ...
   Thanks in advance for a response.  John Thielen

Apache was compiled with gcc  and mod_perl (apache_1.3.12/src/modules/perl)
was compiled with cc.

oslevel = AIX 4.3.2.0

Ran this from mod_perl-1.24 home directory.

See below further for the perl -V output.
$ perl Makefile.PL \
     APACHE_SRC=../apache_1.3.12/src \
     DO_HTTPD=1 \
     USE_APACI=1 \
     PREP_HTTPD=1 \
     EVERYTHING=1 \
     [...]
 $ make
 $ make test    # not really
 $ make install
 $ cd ../apache_1.3.12

Then, from the apache_1.3.12 directory....

#!/bin/sh
##
##  config.status -- APACI auto-generated configuration restore script
##
##  Use this shell script to re-run the APACI configure script for
##  restoring your configuration. Additional parameters can be supplied.
##

CC="gcc -g" \
CPP="gcc -E" \
./configure \
"--with-layout=Apache" \
"--prefix=/usr/local/apache" \
"--activate-module=src/modules/perl/libperl.a" \
"$@"

make
make install


=================================================
John Thielen
UnitedHealth Group, UNIX Services & Consulting
6300 Olson Memorial Highway, Golden Valley, MN 55427
Voice: 612.797.4813  Pager: 651.908.0725  Fax:612.797.4333
Email: [EMAIL PROTECTED]  MailRoute: MN010-W116
================================================

----- Original Message -----
From: John Thielen <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 26, 2000 11:14 AM
Subject: Core Dump @ boot_IO with apache_1.3.12 and mod_perl-1.24


> Doug,   I found some old mail from 1997 that describes the problem that I
am
> having with apache/mod_perl building..
> I have recently downloaded mod_perl 1.24 and apache 1.3.12.
> I have been able to get the apache/mod_perl to compile and create an httpd
> binary.
> (One problem I was unable to resolve properly at this time.)
> Compilation is being done with gcc on AIX 4.3.2.0
> /usr/include/net/if_arp.h pre-declares the token struct the
> perl/mod_include.c is using.
> I gutted the union that was defining the token struct in the if_arp.h file
> for the mod_include compile.
>
>
> After getting the compilation done, httpd core dumps in boot_IO when
trying
> to start
> httpd with the supplied TEST httpd.conf file.  Was there any
reply/response
> mail to the below
> that described how to fix this problem?  Is this an AIX'ism?   Thanks in
> advance for a response. John
>
> When I run perl -MIO::File -e `print "ok" if IO->bootstrap`  it does
return
> "OK"......
>
> yeti #perl -V
> Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
>   Platform:
>     osname=aix, osvers=4.3.2.0, archname=aix
>     uname='aix yeti 3 4 000018538000 '
>     hint=recommended, useposix=true, d_sigaction=define
>     usethreads=undef useperlio=undef d_sfio=undef
>   Compiler:
>     cc='cc', optimize='-O', gccversion=
>
>
>
>
>
cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192 -I/us
> r/local/include'
>     ccflags
>
='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192 -I/usr/local/
> include'
>     stdchar='unsigned char', d_stdstdio=define, usevfork=false
>     intsize=4, longsize=4, ptrsize=4, doublesize=8
>     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
>     alignbytes=8, usemymalloc=n, prototype=define
>   Linker and Libraries:
>     ld='ld', ldflags =' -L/usr/local/lib'
>     libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
>     libs=-lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW
>     libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
>   Dynamic Linking:
>     dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-bE:perl.exp'
>     cccdlflags=' ',
> lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -b
> noentry -lc -L/usr/local/lib'
>
>
> Characteristics of this binary (from libperl):
>   Built under aix
>   Compiled at Mar 13 1999 19:55:19
>   @INC:
>     /usr/local/lib/perl5/5.00502/aix
>     /usr/local/lib/perl5/5.00502
>     /usr/local/lib/perl5/site_perl/5.005/aix
>     /usr/local/lib/perl5/site_perl/5.005
>
> Thread: SIGSEGV with mod_perl-1.00, AIX 4.1,
> Print | Monitor This List | Reply To Author
>
> Message: 1018692
> FROM: Doug MacEachernDATE: 07/31/1997 16:45:14SUBJECT: RE:  SIGSEGV with
> mod_perl-1.00, AIX 4.1, Liza Daly < [EMAIL PROTECTED] > wrote:
>
>  > Hi everyone.
>  >
>  > I can`t seem to get off the ground with mod_perl.  Compilation seems to
>  > go just fine for both Apache and the module, but I run into trouble
>  > immediately
>  > with `make test` (I`d disabled cgi.t):
> [...]
>  > If I go ahead and run the server anyway, it serves HTML just fine, but
>  > dumps core with SIGSEGV on any test script (I was using perlio.pl). The
>  > server continues running in these cases.
> [...]
>  > #0  0xd02299b0 in boot_IO ()
>
> Apache::Registry runs most of the test scripts, which will
> `use FileHandle ()`, which, in newer Perls is really just a stub that
> pulls in IO::*.  With your perl, what happens when you say:
>
>  perl -MIO::File -e `print "ok" if IO->bootstrap`
>
> Does it print "ok" or croak?
>
> Can I see your perl -V?
>
> -Doug
>
>
> =================================================
> John Thielen
> UnitedHealth Group, UNIX Services & Consulting
> 6300 Olson Memorial Highway, Golden Valley, MN 55427
> Voice: 612.797.4813  Pager: 651.908.0725  Fax:612.797.4333
> Email: [EMAIL PROTECTED]  MailRoute: MN010-W116
> ================================================
>
>

Reply via email to