doug,
>> just curious, any comments re: the "bus error" i'd rec'd and the code i
>> commented out (previous msg ....)?
>
> no ideas unless i can reproduce or you can post a stacktrace.
>
here's the invoke & resulting stack trace ......
[root@server]perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 MP_USE_DSO=1 MP_USE_STATIC=0 MP_STATIC_EXTS=0
Reading Makefile.PL args from @ARGV
MP_AP_PREFIX = /usr/local/apache2
MP_USE_DSO = 1
MP_USE_STATIC =
MP_STATIC_EXTS =
Configuring Apache/2.0.36 mod_perl/1.99_02-dev Perl/v5.8.0
Bus error
[root@server]
**********
Date/Time: 2002-06-01 17:39:38 -0700
OS Version: 10.1.4 (Build 5Q125)
Host: server.internal.presence-group.net
Command: perl
PID: 20193
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x700c92fc
Thread 0 Crashed:
#0 0x70003b08 in memmove
#1 0x00008540 in __res_vinit
#2 0x00007624 in gen_res_get
#3 0x000058f0 in net_data_create
#4 0x0000582c in __net_data_init
#5 0x00004340 in init
#6 0x00003254 in gethostbyaddr
#7 0x004658b8 in Perl_pp_ghostent
#8 0x004656e4 in Perl_pp_ghbyaddr
#9 0x003f8120 in Perl_runops_standard
#10 0x00373e7c in S_run_body
#11 0x003739c4 in perl_run
#12 0x00001c20 in main
#13 0x00001a54 in _start
#14 0x00001884 in start
PPC Thread State:
srr0: 0x70003b08 srr1: 0x0000f030 vrsave: 0x00000000
xer: 0x00000020 lr: 0x00008540 ctr: 0x70003a00 mq: 0x00000000
r0: 0x10020035 r1: 0xbfffe7f0 r2: 0x700c930c r3: 0x700c92fc
r4: 0x00a57230 r5: 0x00000000 r6: 0xac1e0a02 r7: 0x00000000
r8: 0x00000000 r9: 0x00a57210 r10: 0x00000000 r11: 0x0003350c
r12: 0x70003a00 r13: 0x00000000 r14: 0x80008a98 r15: 0x8000219c
r16: 0xbfffec28 r17: 0xbfffec48 r18: 0x8000214c r19: 0x00000000
r20: 0x00000001 r21: 0x87859393 r22: 0xc24bc195 r23: 0x87859393
r24: 0x8000213c r25: 0x00000000 r26: 0xbffff424 r27: 0x00000000
r28: 0x00000000 r29: 0x00000000 r30: 0xbfffe833 r31: 0x00007f90
**********
commenting out --
# 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;
# }
in modperl-2.0/Makefile.PL, w/
perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 MP_USE_DSO=1 MP_USE_STATIC=0 MP_STATIC_EXTS=0
results in a 'successful' result of:
Writing Makefile for ModPerl::XS
Writing Makefile for mod_perl
Note (probably harmless): No library found for -lm
Note (probably harmless): No library found for -lc
Note (probably harmless): No library found for -lm
Note (probably harmless): No library found for -lc
*** mod_perl dso library will be built as mod_perl.so
*** You'll need to add the following to httpd.conf:
*** LoadModule perl_module modules/mod_perl.so
Why no -lm or -lc found? (i'm looking ....)
richard
--------------------------------------
R Blake
blakers <at> mac.com
http://homepage.mac.com/blakers
--------------------------------------
MacOSX ..... because Windows sux.
--------------------------------------
- Re: failed MODPERL-2 build on MacOSX (Apache/2.0.36 mod... Doug MacEachern
- Re: failed MODPERL-2 build on MacOSX (Apache/2.0.3... Per Einar Ellefsen
- Re: failed MODPERL-2 build on MacOSX (Apache/2.0.3... Arthur Bergman
- Re: failed MODPERL-2 build on MacOSX (Apache/2.0.3... R Blake
- follow-up: failed MODPERL-2 build on MacOSX (A... Richard S. Blake
- Re: failed MODPERL-2 build on MacOSX (Apache/2... Doug MacEachern
- Re: failed MODPERL-2 build on MacOSX (Apac... R Blake
- Re: failed MODPERL-2 build on MacOSX (... Doug MacEachern
- Re: failed MODPERL-2 build on Mac... R Blake
- Re: failed MODPERL-2 build on... Doug MacEachern
- Re: Stacktrace for BusError: ... R Blake
- Re: Stacktrace for BusError: ... Doug MacEachern
- Re: Stacktrace for BusError: ... R Blake
- Re: Stacktrace for BusError: ... Doug MacEachern
- fixed -undefined suppress; no... R Blake
- Re: fixed -undefined suppress... Doug MacEachern
- Re: failed MODPERL-2 build on Mac... Per Einar Ellefsen
- Re: failed MODPERL-2 build on... Doug MacEachern
- Re: failed MODPERL-2 build on... Per Einar Ellefsen
- tracked down BUS ERROR: MODPERL-2 build on... R Blake
