You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Doug MacEachern <do...@covalent.net> on 2001/07/06 23:30:01 UTC

announce: mod_perl-1.25_01

this is a 1.26 canidate, test reports most appreciated as always..

Changes since 1.25:

add symbols to mod_perl.exp for aix/axkit

add Apache::add_version_component() function

make sure Apache::ExtUtils can be found when building inside of the
apache source tree, thanks to Jonathan Swartz for the spot

add perl_call_handler to mod_perl.def for win32/axkit
[Randy Kobes <ra...@theoryx5.uwinnipeg.ca>]

fix -[TB] file tests against $r->finfo, thanks to Geoffrey Young for
the spot

Apache::SizeLimit enhancements [Perrin Harkins <pe...@elem.com>]:
- Added support for minimum shared memory and maximum unshared memory
settings.
- Added extra diagnostics to tell how many requests a process served,
how long it lived, and how much shared memory it was using when
SizeLimit killed it.

win32 enhancement: APACHE_SRC can be either the build or install tree
[Randy Kobes <ra...@theoryx5.uwinnipeg.ca>]

perl_destruct_level must always be 2 for DSO builds to prevent
leaking on restarts, thanks to Paul G. Weiss for the spot

make sure file to be reloaded can be found in @INC, adjusting based on
%INC value if needed
[Ilya Konstantinov <mo...@future.galanet.net>]

croak if the filehandle passed to $r->send_fd is NULL, otherwise
apache will segfault

if PREFIX is given to Makefile.PL add it to @INC at startup
[Philippe M . Chiasson <go...@cpan.org>]

add %Apache::MyConfig aliases for Apache::src backwards compat
[Philippe M . Chiasson <go...@cpan.org>]

$r->custom_response($code, undef) will now unset the current
CustomResponse
[Geoffrey Young <gy...@laserlink.net>]

fix to compile with sfio+ithreads, thanks to Joe Schaefer for the spot

win32 fixes for apache 1.3.20 [Randy Kobes <ra...@theoryx5.uwinnipeg.ca>]

adjust perl_clear_symtab() to deal properly bleedperl's version of
cv_undef() (which broke modules with directive handlers)
thanks to Geoffrey Young for the spot

add $r->allowed method [Philippe Troin <ph...@fifi.org>]

fix 'make offsite-tar' [Geoffrey Young <gy...@laserlink.net>]

win32 fixes [Randy Kobes <ra...@theoryx5.uwinnipeg.ca>]

fix double-loading bug of Perl{Require,Module}s at startup time

improve Apache::MyConfig [Stas Bekman <sb...@stason.org>]

back out 'stop win32 crash when bringing down service' change, no
longer needed with 1.3.19
[John Sterling, Will Rowe]

$r->no_cache(0) will unset cache headers
[Geoffrey Young <gy...@laserlink.net>]

export hvrv2table (needed by Apache::Request) for aix and win32
[Jens-Uwe Mager <ju...@helios.de>, Randy Kobes
<ra...@theoryx5.uwinnipeg.ca>]

fix 'make tar_Apache' [Geoffrey Young <gy...@laserlink.net>]

make sure global for Apache->request is reset after configuring %ENV
[Gerald Richter <ri...@ecos.de>]

adjust 'U' magic functions to Perl 5.7.x-dev prototype change

Put Apache's CFLAGS into AP_CFLAGS instead of CFLAGS, so that
people who like to override CFLAGS from the make line (make
CFLAGS='-arch ppc -arch i386') can do so without stomping the
Apache flags.  [ Wilfredo Sanchez <ws...@KnowNow.com> ]



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: announce: mod_perl-1.25_01

Posted by Gerald Richter <ri...@ecos.de>.

> this is a 1.26 canidate, test reports most appreciated as always..
>
> Changes since 1.25:
>

I don't have tested this with this version, but there is a problem with
setup of environemt variables when a PerlInitHandler is active. I don't see
in the changes that this is fixed. (See my other mail for details). Sorry I
don't have time to make a patch yet.

Gerald

> add symbols to mod_perl.exp for aix/axkit
>
> add Apache::add_version_component() function
>
> make sure Apache::ExtUtils can be found when building inside of the
> apache source tree, thanks to Jonathan Swartz for the spot
>
> add perl_call_handler to mod_perl.def for win32/axkit
> [Randy Kobes <ra...@theoryx5.uwinnipeg.ca>]
>
> fix -[TB] file tests against $r->finfo, thanks to Geoffrey Young for
> the spot
>
> Apache::SizeLimit enhancements [Perrin Harkins <pe...@elem.com>]:
> - Added support for minimum shared memory and maximum unshared memory
> settings.
> - Added extra diagnostics to tell how many requests a process served,
> how long it lived, and how much shared memory it was using when
> SizeLimit killed it.
>
> win32 enhancement: APACHE_SRC can be either the build or install tree
> [Randy Kobes <ra...@theoryx5.uwinnipeg.ca>]
>
> perl_destruct_level must always be 2 for DSO builds to prevent
> leaking on restarts, thanks to Paul G. Weiss for the spot
>
> make sure file to be reloaded can be found in @INC, adjusting based on
> %INC value if needed
> [Ilya Konstantinov <mo...@future.galanet.net>]
>
> croak if the filehandle passed to $r->send_fd is NULL, otherwise
> apache will segfault
>
> if PREFIX is given to Makefile.PL add it to @INC at startup
> [Philippe M . Chiasson <go...@cpan.org>]
>
> add %Apache::MyConfig aliases for Apache::src backwards compat
> [Philippe M . Chiasson <go...@cpan.org>]
>
> $r->custom_response($code, undef) will now unset the current
> CustomResponse
> [Geoffrey Young <gy...@laserlink.net>]
>
> fix to compile with sfio+ithreads, thanks to Joe Schaefer for the spot
>
> win32 fixes for apache 1.3.20 [Randy Kobes <ra...@theoryx5.uwinnipeg.ca>]
>
> adjust perl_clear_symtab() to deal properly bleedperl's version of
> cv_undef() (which broke modules with directive handlers)
> thanks to Geoffrey Young for the spot
>
> add $r->allowed method [Philippe Troin <ph...@fifi.org>]
>
> fix 'make offsite-tar' [Geoffrey Young <gy...@laserlink.net>]
>
> win32 fixes [Randy Kobes <ra...@theoryx5.uwinnipeg.ca>]
>
> fix double-loading bug of Perl{Require,Module}s at startup time
>
> improve Apache::MyConfig [Stas Bekman <sb...@stason.org>]
>
> back out 'stop win32 crash when bringing down service' change, no
> longer needed with 1.3.19
> [John Sterling, Will Rowe]
>
> $r->no_cache(0) will unset cache headers
> [Geoffrey Young <gy...@laserlink.net>]
>
> export hvrv2table (needed by Apache::Request) for aix and win32
> [Jens-Uwe Mager <ju...@helios.de>, Randy Kobes
> <ra...@theoryx5.uwinnipeg.ca>]
>
> fix 'make tar_Apache' [Geoffrey Young <gy...@laserlink.net>]
>
> make sure global for Apache->request is reset after configuring %ENV
> [Gerald Richter <ri...@ecos.de>]
>
> adjust 'U' magic functions to Perl 5.7.x-dev prototype change
>
> Put Apache's CFLAGS into AP_CFLAGS instead of CFLAGS, so that
> people who like to override CFLAGS from the make line (make
> CFLAGS='-arch ppc -arch i386') can do so without stomping the
> Apache flags.  [ Wilfredo Sanchez <ws...@KnowNow.com> ]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: announce: mod_perl-1.25_01

Posted by Matt Sergeant <ma...@sergeant.org>.
On Tue, 10 Jul 2001, Doug MacEachern wrote:

> On Tue, 10 Jul 2001, Matt Sergeant wrote:
>
> > FWIW, perl_clear_symtab is the only part of config directives now that
> > cause segfaults for AxKit users. Without that line, we're totally clear
> > of complaints (removed for AxKit 1.4_80), apart from the old expat
> > segfaults.
>
> using 1.25_01?  do you have a stacktrace, or better yet, steps on
> howto reproduce?

Unfortunately I've just started $new_job, and haven't been able to
reproduce this at all on either of my two machines. As usual, it maybe
only happens with AxKit.

Matt.


Re: announce: mod_perl-1.25_01

Posted by Matt Sergeant <ma...@sergeant.org>.
On Tue, 10 Jul 2001, Doug MacEachern wrote:

> On Tue, 10 Jul 2001, Matt Sergeant wrote:
>
> > FWIW, perl_clear_symtab is the only part of config directives now that
> > cause segfaults for AxKit users. Without that line, we're totally clear
> > of complaints (removed for AxKit 1.4_80), apart from the old expat
> > segfaults.
>
> using 1.25_01?  do you have a stacktrace, or better yet, steps on
> howto reproduce?

Unfortunately I've just started $new_job, and haven't been able to
reproduce this at all on either of my two machines. As usual, it maybe
only happens with AxKit.

Matt.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: announce: mod_perl-1.25_01

Posted by Doug MacEachern <do...@covalent.net>.
On Tue, 10 Jul 2001, Matt Sergeant wrote:
 
> FWIW, perl_clear_symtab is the only part of config directives now that
> cause segfaults for AxKit users. Without that line, we're totally clear
> of complaints (removed for AxKit 1.4_80), apart from the old expat
> segfaults.

using 1.25_01?  do you have a stacktrace, or better yet, steps on
howto reproduce?


Re: announce: mod_perl-1.25_01

Posted by Doug MacEachern <do...@covalent.net>.
On Tue, 10 Jul 2001, Matt Sergeant wrote:
 
> FWIW, perl_clear_symtab is the only part of config directives now that
> cause segfaults for AxKit users. Without that line, we're totally clear
> of complaints (removed for AxKit 1.4_80), apart from the old expat
> segfaults.

using 1.25_01?  do you have a stacktrace, or better yet, steps on
howto reproduce?


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: announce: mod_perl-1.25_01

Posted by Matt Sergeant <ma...@sergeant.org>.
On Fri, 6 Jul 2001, Doug MacEachern wrote:

> adjust perl_clear_symtab() to deal properly bleedperl's version of
> cv_undef() (which broke modules with directive handlers)
> thanks to Geoffrey Young for the spot

FWIW, perl_clear_symtab is the only part of config directives now that
cause segfaults for AxKit users. Without that line, we're totally clear
of complaints (removed for AxKit 1.4_80), apart from the old expat
segfaults.

-- 
<Matt/>

    /||    ** Founder and CTO  **  **   http://axkit.com/     **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
     \\//
     //\\
    //  \\


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: announce: mod_perl-1.25_01

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Fri, 6 Jul 2001, Doug MacEachern wrote:

> this is a 1.26 canidate, test reports most appreciated as always..

This compiles without warnings on Win32, using ActivePerl based
on 5.6.1, and all tests pass.

best regards,
randy kobes



Re: announce: mod_perl-1.25_01

Posted by Doug MacEachern <do...@covalent.net>.
On Mon, 9 Jul 2001, The Doctor wrote:
 
> Is there a mod_perl we can test for apache 2.0 Beta?

modperl-2.0 in cvs works with apache-2.0, see 1.x's mod_perl_cvs.pod,
replace 'modperl' with 'modperl-2.0' to check it out.
 
> Will said module have a static/dynamin option?

yes, but only dynamic is supported at the moment.
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: announce: mod_perl-1.25_01

Posted by Doug MacEachern <do...@covalent.net>.
On Mon, 9 Jul 2001, The Doctor wrote:
 
> Is there a mod_perl we can test for apache 2.0 Beta?

modperl-2.0 in cvs works with apache-2.0, see 1.x's mod_perl_cvs.pod,
replace 'modperl' with 'modperl-2.0' to check it out.
 
> Will said module have a static/dynamin option?

yes, but only dynamic is supported at the moment.
 


Re: announce: mod_perl-1.25_01

Posted by The Doctor <do...@doctor.nl2k.ab.ca>.
On Mon, Jul 09, 2001 at 07:48:32AM -0700, Doug MacEachern wrote:
> On Fri, 6 Jul 2001, Ken Williams wrote:
> 
> > dougm@covalent.net (Doug MacEachern) wrote:
> > >this is a 1.26 canidate, test reports most appreciated as always..
> > 
> > I just tested on Darwin (Mac OS X) with Apache 1.3.20 and using a simple
> > 'perl Makefile.PL EVERYTHING=1' .  All tests pass, with no warnings
> > emitted during compilation.  I think this is the first time that's
> > happened for me on Darwin.  =)
> 
> great news!
> 

While we are at news:

Is there a mod_perl we can test for apache 2.0 Beta?

Will said module have a static/dynamin option?

Re: announce: mod_perl-1.25_01

Posted by The Doctor <do...@doctor.nl2k.ab.ca>.
On Mon, Jul 09, 2001 at 07:48:32AM -0700, Doug MacEachern wrote:
> On Fri, 6 Jul 2001, Ken Williams wrote:
> 
> > dougm@covalent.net (Doug MacEachern) wrote:
> > >this is a 1.26 canidate, test reports most appreciated as always..
> > 
> > I just tested on Darwin (Mac OS X) with Apache 1.3.20 and using a simple
> > 'perl Makefile.PL EVERYTHING=1' .  All tests pass, with no warnings
> > emitted during compilation.  I think this is the first time that's
> > happened for me on Darwin.  =)
> 
> great news!
> 

While we are at news:

Is there a mod_perl we can test for apache 2.0 Beta?

Will said module have a static/dynamin option?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: announce: mod_perl-1.25_01

Posted by Doug MacEachern <do...@covalent.net>.
On Fri, 6 Jul 2001, Ken Williams wrote:

> dougm@covalent.net (Doug MacEachern) wrote:
> >this is a 1.26 canidate, test reports most appreciated as always..
> 
> I just tested on Darwin (Mac OS X) with Apache 1.3.20 and using a simple
> 'perl Makefile.PL EVERYTHING=1' .  All tests pass, with no warnings
> emitted during compilation.  I think this is the first time that's
> happened for me on Darwin.  =)

great news!


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: announce: mod_perl-1.25_01

Posted by Doug MacEachern <do...@covalent.net>.
On Fri, 6 Jul 2001, Ken Williams wrote:

> dougm@covalent.net (Doug MacEachern) wrote:
> >this is a 1.26 canidate, test reports most appreciated as always..
> 
> I just tested on Darwin (Mac OS X) with Apache 1.3.20 and using a simple
> 'perl Makefile.PL EVERYTHING=1' .  All tests pass, with no warnings
> emitted during compilation.  I think this is the first time that's
> happened for me on Darwin.  =)

great news!


Re: announce: mod_perl-1.25_01

Posted by Ken Williams <ke...@forum.swarthmore.edu>.
dougm@covalent.net (Doug MacEachern) wrote:
>this is a 1.26 canidate, test reports most appreciated as always..

I just tested on Darwin (Mac OS X) with Apache 1.3.20 and using a simple
'perl Makefile.PL EVERYTHING=1' .  All tests pass, with no warnings
emitted during compilation.  I think this is the first time that's
happened for me on Darwin.  =)


  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  ken@forum.swarthmore.edu                            The Math Forum

Re: announce: mod_perl-1.25_01

Posted by Matt Sergeant <ma...@sergeant.org>.
On Fri, 6 Jul 2001, Doug MacEachern wrote:

> adjust perl_clear_symtab() to deal properly bleedperl's version of
> cv_undef() (which broke modules with directive handlers)
> thanks to Geoffrey Young for the spot

FWIW, perl_clear_symtab is the only part of config directives now that
cause segfaults for AxKit users. Without that line, we're totally clear
of complaints (removed for AxKit 1.4_80), apart from the old expat
segfaults.

-- 
<Matt/>

    /||    ** Founder and CTO  **  **   http://axkit.com/     **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
     \\//
     //\\
    //  \\


Re: announce: mod_perl-1.25_01

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Fri, 6 Jul 2001, Doug MacEachern wrote:

> this is a 1.26 canidate, test reports most appreciated as always..

This compiles without warnings on Win32, using ActivePerl based
on 5.6.1, and all tests pass.

best regards,
randy kobes



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: announce: mod_perl-1.25_01

Posted by Stas Bekman <st...@stason.org>.
> > ====================================
> >
> > under bleed-perl (one week old compilation) (the rest is the same) there
> > are some problems: (perl build args are at the end of this post)
> >
> > $ ./t/TEST -v modules/cgi
> > fails to start the server, whereas
>
> 1.xx never did start the server like that, its a 2.0 only feature.

I'm spoiled with 2.0 :)

> > reason:
> > [Sat Jul  7 20:57:02 2001] [error] (13)Permission denied: exec of
> > /usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl failed
> > [Sat Jul  7 20:57:02 2001] [error] [client 127.0.0.1] Premature end of
> > script headers: /usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl
>
> this only happens when running this test standalone or also during full
> 'make test' ?  is it setup to use the correct perl?
> % head -1 t/net/perl/cgi.pl

A correct one.

But I cannot reproduce the problem anymore. I've recompiled with 5.6.1 and
then back with bleed-perl, and it's fine now. Sorry about that.

_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:stas@stason.org   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/




Re: announce: mod_perl-1.25_01

Posted by Doug MacEachern <do...@covalent.net>.
On Sat, 7 Jul 2001, Stas Bekman wrote:

> On Fri, 6 Jul 2001, Doug MacEachern wrote:
 
> all tests pass cleanly.

cool.
 
> ====================================
> 
> under bleed-perl (one week old compilation) (the rest is the same) there
> are some problems: (perl build args are at the end of this post)
> 
> $ ./t/TEST -v modules/cgi
> fails to start the server, whereas

1.xx never did start the server like that, its a 2.0 only feature.

> $ make start_httpd
> cp t/conf/mod_perl_srm.conf t/conf/srm.conf
> ../apache_1.3.20/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
> httpd listening on port 8529
> will write error_log to: t/logs/error_log
> letting apache warm up...\c
> done
> 
> (it reports 'done' even if it's failed to start the server, because there
> was another server running already on the same port. try to run 'make
> start_httpd' twice in a row and you will see)
> 
> $ more t/logs/error_log
> [Sat Jul  7 20:55:01 2001] [crit] (98)Address already in use: make_sock:
> could not bind to port 8529

same problem if you 'make test' and there's already a server
running.  has always been this way.  2.0 however, first tests that the
port is available before attempting to start the server.
 
> reason:
> [Sat Jul  7 20:57:02 2001] [error] (13)Permission denied: exec of
> /usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl failed
> [Sat Jul  7 20:57:02 2001] [error] [client 127.0.0.1] Premature end of
> script headers: /usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl

this only happens when running this test standalone or also during full
'make test' ?  is it setup to use the correct perl?
% head -1 t/net/perl/cgi.pl

> build warnings:
...
> mod_perl.c:333: warning: unused variable `my_perl'

these have also been here as long as ithreads, left as a reminder, 1.xx
should be optimized for ithreads.



Re: announce: mod_perl-1.25_01

Posted by Stas Bekman <st...@stason.org>.
On Fri, 6 Jul 2001, Doug MacEachern wrote:

> this is a 1.26 canidate, test reports most appreciated as always..

 - Linux 2.2.19-4.1mdk i686 unknown.
 - perl 5.6.1
 - apache 1.20
 - mod_perl 1.25_01
 - perl Makefile.PL APACHE_SRC=../apache_1.3.20/src \
        DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 \
        APACHE_PREFIX=/home/httpd/httpd_perl \
        APACI_ARGS='--prefix=/home/httpd/httpd_perl --enable-module=info \
        --enable-module=rewrite --enable-module=proxy \
        --without-execstrip' \
        PERL_TRACE=1 PERL_DEBUG=1

all tests pass cleanly.

====================================

under bleed-perl (one week old compilation) (the rest is the same) there
are some problems: (perl build args are at the end of this post)

$ ./t/TEST -v modules/cgi
fails to start the server, whereas
$ make start_httpd
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../apache_1.3.20/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
done

(it reports 'done' even if it's failed to start the server, because there
was another server running already on the same port. try to run 'make
start_httpd' twice in a row and you will see)

$ more t/logs/error_log
[Sat Jul  7 20:55:01 2001] [crit] (98)Address already in use: make_sock:
could not bind to port 8529

------

./t/TEST -v modules/cgi
modules/cgi.........module CGI is installed
1..5
ok 1
ok 2
ok 3
ok 4 #(fileupload)
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>500 Internal Server Error</TITLE>
</HEAD><BODY>
<H1>Internal Server Error</H1>
The server encountered an internal error or
misconfiguration and was unable to complete
your request.<P>
Please contact the server administrator,
 [no address given] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.<P>
More information about this error may be available
in the server error log.<P>
</BODY></HTML>
FAILED test 5
	Failed 1/5 tests, 80.00% okay
Failed Test   Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------modules/cgi.t
5    1  20.00%  5
Failed 1/1 test scripts, 0.00% okay. 1/5 subtests failed, 80.00% okay.

reason:
[Sat Jul  7 20:57:02 2001] [error] (13)Permission denied: exec of
/usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl failed
[Sat Jul  7 20:57:02 2001] [error] [client 127.0.0.1] Premature end of
script headers: /usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl

but it shouldn't be a problem:

 ~stas/perl-bleed/bin/perl
/usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl
x-perl-script: cgi.pl
Content-Type: text/plain; charset=ISO-8859-1

---------------

./t/TEST -v modules/include
modules/include.....1..4
ok 1
ok 3
FAILED tests 2, 4
	Failed 2/4 tests, 50.00% okay
Failed Test       Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------modules/include.t
4    2  50.00%  2, 4
Failed 1/1 test scripts, 0.00% okay. 2/4 subtests failed, 50.00% okay.

reason:
[Sat Jul  7 20:59:17 2001] [error] (13)Permission denied: exec of
/usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl failed
[Sat Jul  7 20:59:17 2001] [error] [client 127.0.0.1] Premature end of
script headers: /usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl
[Sat Jul  7 20:59:17 2001] [error] (13)Permission denied: exec of
/usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl failed
[Sat Jul  7 20:59:17 2001] [error] [client 127.0.0.1] Premature end of
script headers: /usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl

the same as for modules/cgi:

-rwxr-xr-x    1 stas     stas          452 Jul  7 20:42 /usr/src/http
d_perl/mod_perl-1.25_01/t/net/perl/cgi.pl*

I didn't have all the tests running since I miss some modules, will try
later

--------
build warnings:

===> src/modules/perl
cc -g -I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-D_REENTRANT -Wall -DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL_VERSION=\"1.25_01\"
-DMOD_PERL_STRING_VERSION=\"mod_perl/1.25_01\" -DPERL_TRACE=1 -I../..
-I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-I../../os/unix -I../../include    -DLINUX=22 -I/usr/include/db1
-DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT -Wall -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -D_REENTRANT -Wall
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DPERL_DESTRUCT_LEVEL=2 `../../apaci` -c
mod_perl.c
mod_perl.c: In function `perl_restart':
mod_perl.c:333: warning: unused variable `my_perl'
mod_perl.c:359: warning: unused variable `my_perl'
mod_perl.c: In function `perl_handler':
mod_perl.c:853: warning: unused variable `my_perl'
mod_perl.c:879: warning: unused variable `my_perl'
mod_perl.c:826: warning: unused variable `my_perl'
mod_perl.c: In function `mod_perl_cleanup_handler':
mod_perl.c:1175: warning: unused variable `my_perl'
mod_perl.c:1177: warning: unused variable `my_perl'
mod_perl.c: In function `perl_run_stacked_handlers':
mod_perl.c:1348: warning: unused variable `my_perl'
mod_perl.c:1350: warning: unused variable `my_perl'
mod_perl.c:1294: warning: unused variable `my_perl'
mod_perl.c: In function `perl_call_handler':
mod_perl.c:1590: warning: unused variable `my_perl'
mod_perl.c:1667: warning: unused variable `my_perl'

cc -g -I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-D_REENTRANT -Wall -DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL_VERSION=\"1.25_01\"
-DMOD_PERL_STRING_VERSION=\"mod_perl/1.25_01\" -DPERL_TRACE=1 -I../..
-I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-I../../os/unix -I../../include    -DLINUX=22 -I/usr/include/db1
-DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT -Wall -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -D_REENTRANT -Wall
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DPERL_DESTRUCT_LEVEL=2 `../../apaci` -c
perl_config.c
perl_config.c: In function `perl_perl_create_cfg':
perl_config.c:906: warning: unused variable `my_perl'
perl_config.c:919: warning: unused variable `my_perl'
perl_config.c: In function `perl_perl_merge_cfg':
perl_config.c:971: warning: unused variable `my_perl'
perl_config.c:983: warning: unused variable `my_perl'
perl_config.c: In function `perl_cmd_perl_TAKE123':
perl_config.c:1042: warning: unused variable `my_perl'
perl_config.c:1065: warning: unused variable `my_perl'
perl_config.c: In function `perl_section_hash_init':
perl_config.c:1621: warning: unused variable `my_perl'
perl_config.c:1627: warning: unused variable `my_perl'


cc -g -I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-D_REENTRANT -Wall -DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL_VERSION=\"1.25_01\"
-DMOD_PERL_STRING_VERSION=\"mod_perl/1.25_01\" -DPERL_TRACE=1 -I../..
-I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-I../../os/unix -I../../include    -DLINUX=22 -I/usr/include/db1
-DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT -Wall -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -D_REENTRANT -Wall
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DPERL_DESTRUCT_LEVEL=2 `../../apaci` -c
perl_util.c
perl_util.c: In function `mod_perl_slurp_filename':
perl_util.c:219: warning: unused variable `my_perl'
perl_util.c:227: warning: unused variable `my_perl'
perl_util.c: In function `perl_tie_hash':
perl_util.c:260: warning: unused variable `my_perl'
perl_util.c:277: warning: unused variable `my_perl'
perl_util.c: In function `perl_run_blocks':
perl_util.c:293: warning: unused variable `my_perl'
perl_util.c:296: warning: unused variable `my_perl'
perl_util.c:304: warning: unused variable `my_perl'
perl_util.c: In function `perl_run_rgy_endav':
perl_util.c:406: warning: unused variable `my_perl'
perl_util.c:410: warning: unused variable `my_perl'
perl_util.c: In function `perl_call_halt':
perl_util.c:453: warning: unused variable `my_perl'
perl_util.c:457: warning: unused variable `my_perl'

cc -g -I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-D_REENTRANT -Wall -DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL_VERSION=\"1.25_01\"
-DMOD_PERL_STRING_VERSION=\"mod_perl/1.25_01\" -DPERL_TRACE=1 -I../..
-I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-I../../os/unix -I../../include    -DLINUX=22 -I/usr/include/db1
-DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT -Wall -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -D_REENTRANT -Wall
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DPERL_DESTRUCT_LEVEL=2 `../../apaci` -c Log.c
Log.c: In function `ApacheLog':
Log.c:58: warning: unused variable `my_perl'
Log.c:65: warning: unused variable `my_perl'

cc -g -I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-D_REENTRANT -Wall -DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL_VERSION=\"1.25_01\"
-DMOD_PERL_STRING_VERSION=\"mod_perl/1.25_01\" -DPERL_TRACE=1 -I../..
-I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-I../../os/unix -I../../include    -DLINUX=22 -I/usr/include/db1
-DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT -Wall -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -D_REENTRANT -Wall
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DPERL_DESTRUCT_LEVEL=2 `../../apaci` -c Table.c
Table.c: In function `Apache_table_do':
Table.c:26: warning: unused variable `my_perl'
Table.c:36: warning: unused variable `my_perl'

cc -c  -D_REENTRANT -Wall -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g
-DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fpic
-I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE  Leak.c
/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE/patchlevel.h:71:
warning: `local_patches' defined but not used


Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.2.17-21mdk, archname=i686-linux
    uname='linux llp.extropia.com 2.2.17-21mdk #1 thu oct 5 13:16:08 cest 2000 i686 unknown '
    config_args='-des -Dusethreads -Doptimize=-g -Dprefix=/home/stas/perl-5.6.1 -Duseshrplib'
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='cc', ccflags ='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-g',
    cppflags='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    ccversion='', gccversion='2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldl -lm -lc -lposix -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lposix -lcrypt -lutil
    libc=/lib/libc-2.2.2.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: DEBUGGING USE_LARGE_FILES
  Built under linux
  Compiled at Apr 20 2001 22:58:59
  @INC:
    /usr/lib/perl5/5.6.1/i686-linux
    /usr/lib/perl5/5.6.1
    /usr/lib/perl5/site_perl/5.6.1/i686-linux
    /usr/lib/perl5/site_perl/5.6.1
    /usr/lib/perl5/site_perl/5.6.0
    /usr/lib/perl5/site_perl/5.005
    /usr/lib/perl5/site_perl
    .

_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:stas@stason.org   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



Re: announce: mod_perl-1.25_01

Posted by Ken Williams <ke...@forum.swarthmore.edu>.
dougm@covalent.net (Doug MacEachern) wrote:
>this is a 1.26 canidate, test reports most appreciated as always..

I just tested on Darwin (Mac OS X) with Apache 1.3.20 and using a simple
'perl Makefile.PL EVERYTHING=1' .  All tests pass, with no warnings
emitted during compilation.  I think this is the first time that's
happened for me on Darwin.  =)


  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  ken@forum.swarthmore.edu                            The Math Forum

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: announce: mod_perl-1.25_01

Posted by Eric Cholet <ch...@logilune.com>.
On 07/06/01 14:30:01 -0700 Doug MacEachern mumbled:
> this is a 1.26 canidate, test reports most appreciated as always..

No problems seen here in production after a few days with Apache CVS head
and PHP under FreeBSD 4.1 and 4.3, Perl 5.6.1

--
Eric
B995 E519 1594 10D0 4271 1EA5 8DF3 8004

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org