Re: mp2 on osx jaguar won't load mod_perl.so

2003-08-16 Thread Michael Chamberlain
On Saturday, August 16, 2003, at 07:03  am, Douglas Theobald wrote:

I've been quite successful with mp1 (Apache/1.3.28, mod_perl/1.28, perl
5.8.0, OSX jaguar 10.2.6.), but I'd really like to get mp2 going on 
OSX.
Has anyone had any luck or experienced this same problem?

Rebuild your perl with threads support, and only use '-lm -lc'.

All should work fine as a DSO then.

Mike.



--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: mp2 on osx jaguar won't load mod_perl.so

2003-08-16 Thread Michael Chamberlain
On Saturday, August 16, 2003, at 05:16  pm, Stas Bekman wrote:

Michael Chamberlain wrote:
On Saturday, August 16, 2003, at 07:03  am, Douglas Theobald wrote:
I've been quite successful with mp1 (Apache/1.3.28, mod_perl/1.28, 
perl
5.8.0, OSX jaguar 10.2.6.), but I'd really like to get mp2 going on 
OSX.
Has anyone had any luck or experienced this same problem?

Rebuild your perl with threads support, and only use '-lm -lc'.
Michael, what's the deal with using only '-lm -lc' on jaguar? Care to 
send a patch so it'll work out of box?

I'll double check if it's significant or not. I was having major 
problems getting stuff to build
before you posted your link initially to that working config. The -lm 
-lc and threads bits
where the only areas which where different. Changing to those 
everything worked.

Mike.



--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


[mp2] Building modperl2 on mac os x?

2003-06-28 Thread Michael Chamberlain
Hi

Has anyone had any success in getting modperl2 to work on mac os x?

make test
cd src/modules/perl  make -f Makefile.modperl
make[1]: Nothing to be done for `all'.
/usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -clean
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -clean
APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE= APXS= \
/usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -verbose=0
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -verbose=0
/usr/local/apache2/bin/httpd  -d /Users/mach/src/mod_perl-1.99_09/t -f 
/Users/mach/src/mod_perl-1.99_09/t/conf/httpd.conf -DAPACHE2
using Apache/2.0.45 (prefork MPM)

waiting for server to start: ...[Sat Jun 28 12:36:19 2003] [info] 
19 Apache:: modules loaded
[Sat Jun 28 12:36:19 2003] [info] 3 APR:: modules loaded
[Sat Jun 28 12:36:20 2003] [info] base server + 8 vhosts ready to run 
tests

waiting for server to start: giving up after 61 secs
!!! server failed to start! (please examine t/logs/error_log)
make: *** [run_tests] Error 1
**

Date/Time:  2003-06-28 12:36:27 +0100
OS Version: 10.2.6 (Build 6L60)
Host:   imac.local.
Command:httpd
PID:3012
Exception:  EXC_BAD_ACCESS (0x0001)
Codes:  KERN_INVALID_ADDRESS (0x0001) at 0x3b0a2020
Thread 0 Crashed:
 #0   0x0073b944 in Perl_hv_store_flags
 #1   0x006eb2d0 in Perl_gv_fetchpv
 #2   0x00715bb0 in Perl_newATTRSUB
 #3   0x0070ae3c in Perl_yyparse
 #4   0x00771f1c in S_doeval
 #5   0x00773520 in Perl_pp_require
 #6   0x00741978 in Perl_runops_standard
 #7   0x006e58e0 in Perl_call_sv
 #8   0x006e9418 in S_call_list_body
 #9   0x006e8f9c in Perl_call_list
 #10  0x00716f88 in Perl_newATTRSUB
 #11  0x00711e2c in Perl_utilize
 #12  0x0070afd0 in Perl_yyparse
 #13  0x00771f1c in S_doeval
 #14  0x00773520 in Perl_pp_require
 #15  0x00741978 in Perl_runops_standard
 #16  0x006e58e0 in Perl_call_sv
 #17  0x006e9418 in S_call_list_body
 #18  0x006e8f9c in Perl_call_list
 #19  0x00716f88 in Perl_newATTRSUB
 #20  0x00711e2c in Perl_utilize
 #21  0x0070afd0 in Perl_yyparse
 #22  0x00771f1c in S_doeval
 #23  0x00773520 in Perl_pp_require
 #24  0x00741978 in Perl_runops_standard
 #25  0x006e58e0 in Perl_call_sv
 #26  0x006e9418 in S_call_list_body
 #27  0x006e8f9c in Perl_call_list
 #28  0x00716f88 in Perl_newATTRSUB
 #29  0x00711e2c in Perl_utilize
 #30  0x0070afd0 in Perl_yyparse
 #31  0x00771f1c in S_doeval
 #32  0x00773520 in Perl_pp_require
 #33  0x00741978 in Perl_runops_standard
 #34  0x006e5dfc in Perl_eval_sv
 #35  0x006e613c in Perl_require_pv
 #36  0x003bca1c in modperl_require_file
 #37  0x003b89fc in modperl_config_apply_PerlRequire
 #38  0x003b6864 in modperl_startup
 #39  0x003b6eb8 in modperl_hook_init
 #40  0x003b9bbc in modperl_cmd_load_module
 #41  0x00035504 in invoke_cmd (config.c:828)
 #42  0x00035bc4 in ap_walk_config_sub (config.c:1083)
 #43  0x00035c64 in ap_walk_config (config.c:1122)
 #44  0x000367d8 in ap_process_config_tree (config.c:1595)
 #45  0x00023478 in main (main.c:639)
 #46  0x2034 in _start (crt.c:267)
 #47  0x1eb4 in start
PPC Thread State:
  srr0: 0x0073b944 srr1: 0x0200f030vrsave: 0x
   xer: 0x   lr: 0x0073b528  ctr: 0x0074ffb4   mq: 0x
r0: 0x   r1: 0xbfffc610   r2: 0x007d1560   r3: 0x
r4: 0x00d15950   r5: 0x000e   r6: 0x00d140b0   r7: 0x0908d3ab
r8: 0x002c   r9: 0x  r10: 0x000f  r11: 0x00d0e4d0
   r12: 0x3b0a2020  r13: 0x007ca294  r14: 0x006e  r15: 0x007ca294
   r16: 0x00d140b0  r17: 0x007d166c  r18: 0x3ff0  r19: 0x200b
   r20: 0x00d15950  r21: 0x00d14b0c  r22: 0x  r23: 0x000e
   r24: 0x  r25: 0x00d0b2c8  r26: 0x22442244  r27: 0x003f4ad0
   r28: 0x0908d3ab  r29: 0x007cb528  r30: 0x3b0a2020  r31: 0x0073b528




Mike.