Re: Problems with installing mod_perl

2000-06-09 Thread Doug MacEachern

On Thu, 8 Jun 2000, Wrobel, Thomas wrote:

 Hi,
 
 I have some problems installing mod_perl.
 My system is a Mandrake 7.0 Kernel 2.2.14.
 I have compiled apache 1.3.12 mod_ssl 2.6.4/openssl 0.9.5a
 with DSO. Next, I compiled php4RC2 with apxs and
 apache runs correctly.
 But after installing mod_perl with:
 perl Makefile.PL USE_APXS=1 WITH_APXS=/home/httpd/bin/apxs EVERYTHING=1
 make
 make install
 i become an error: document contains no data ...
 In the error_log i have the warning:
  [warn] x pid child stopped, segmantation fault (11)
 If i deactivate mod_perl the server runs correctly.

what version of Perl?  what version of mod_perl?  if Perl 5.6.0, try
rebuilding Perl with:
% Configure -des -Uuselargefiles




Re: Problems with installing mod_perl

2000-06-09 Thread Steffers

Thomas wrote:
  I have some problems installing mod_perl.
  My system is a Mandrake 7.0 Kernel 2.2.14.
  I have compiled apache 1.3.12 mod_ssl 2.6.4/openssl 0.9.5a
  with DSO. Next, I compiled php4RC2 with apxs and
  apache runs correctly.
  But after installing mod_perl with:
  perl Makefile.PL USE_APXS=1 WITH_APXS=/home/httpd/bin/apxs EVERYTHING=1
  make
  make install
  i become an error: document contains no data ...
  In the error_log i have the warning:
   [warn] x pid child stopped, segmantation fault (11)
  If i deactivate mod_perl the server runs correctly.
 
 what version of Perl?  what version of mod_perl?  if Perl 5.6.0, try
 rebuilding Perl with:
 % Configure -des -Uuselargefiles

that shouldnt really matter, since its a signal 11 from a
process, then its either :

a) hardware fault, check the load time on the server without
mod_perl and see if it significantly jumps up (or peaks) 
when you PerlModule in mod_perl
or
b) you need to upgrade your gcc, some gcc's compile 'dubious'
instructions under certain cases (-O3 apache generates a
sig 11 on my dual celeron here, but -O1 doesnt. go figure,
but its probably due to the several o/c chips ;)

Currently running here : Apache 1.3.12, mandrake 7.1, mod_perl 1.24,
mod_ssl 2.6.4 (with openssl 0.94) and gcc version 2.95.3 19991030
(prerelease)
(obtained from gcc -v ;)

Works fine, no problems. 
regards
^Stefs^
(oh. for what its worth, try running mod_perl without mod_php, i
know that they should work together, but since Im a perl bigot I
never really compiled in php{anyversion})




Re: Problems with installing mod_perl

2000-06-09 Thread Doug MacEachern

On Fri, 9 Jun 2000, Steffers wrote:
 
 that shouldnt really matter, since its a signal 11 from a
 process, then its either :

it does matter, there are several discussions you'll find in the archives
on how Perl's largefile support triggers this problem.




Re: Problems with installing mod_perl

2000-06-09 Thread Steffers

  that shouldnt really matter, since its a signal 11 from a
  process, then its either : 
 it does matter, there are several discussions you'll find in the archives
 on how Perl's largefile support triggers this problem.
 

fair enough, always willing to conceed that i can be wrong
+BUT+ 
since signal-11 is a 'well defined' unix standard meaning 
hardware 'error' isnt it rather a bad signal to choose for a
non-hardware error ?

(hell, even HP-UX uses sig11 for hardware error)
regards,
Stefs




Problems with installing mod_perl

2000-06-08 Thread Wrobel, Thomas

Hi,

I have some problems installing mod_perl.
My system is a Mandrake 7.0 Kernel 2.2.14.
I have compiled apache 1.3.12 mod_ssl 2.6.4/openssl 0.9.5a
with DSO. Next, I compiled php4RC2 with apxs and
apache runs correctly.
But after installing mod_perl with:
perl Makefile.PL USE_APXS=1 WITH_APXS=/home/httpd/bin/apxs EVERYTHING=1
make
make install
i become an error: document contains no data ...
In the error_log i have the warning:
 [warn] x pid child stopped, segmantation fault (11)
If i deactivate mod_perl the server runs correctly.

Can everybody help me?

best regards

Thomas Wrobel