You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Issac Goldstand <ma...@beamartyr.net> on 2003/09/25 20:08:38 UTC

Perl 5.8.1 is out

So much for all the questions of when to put out the next mp1_99 release :-)

http://www.perl.com/CPAN/src/perl-5.8.1.tar.gz


Re: Perl 5.8.1 is out

Posted by Stas Bekman <st...@stason.org>.
Carl Brewer wrote:
> Stas Bekman wrote:
> 
>> So what hostname do you normally use? Have you tried that? Philippe 
>> has reported that this change has worked for him.
>>
>> http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=105514290024419&w=2
> 
> 
> I used this patch just now on a current CVS, and still see the same
> problems (or similar).
> 
> Stas, do you want to have a play on the box to see if you can
> figure it out?

Not really, I simpy don't know IPv6 and what does it want from Apache to fix 
the problem at the moment. I don't think it's an issue of having a machine 
running IPv6. I have a way too many unfinished mp2 issue that require to be 
completed first. Next I can start reading on IPv6 and solve it unless someone 
does it before me.

You could solve that problem easily if you know IPv6. Just fix the 
autogenerated t/conf/httpd.conf (and may be some other included conf files 
from httpd.conf) and send a diff with the original file to the list. From 
there it'll be easy to create a code patch that will generate a valid 
IPv6-complient httpd.conf. Please give it a try.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: Perl 5.8.1 is out

Posted by Carl Brewer <ca...@bl.echidna.id.au>.
Stas Bekman wrote:

> So what hostname do you normally use? Have you tried that? Philippe has 
> reported that this change has worked for him.
> 
> http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=105514290024419&w=2

I used this patch just now on a current CVS, and still see the same
problems (or similar).

Stas, do you want to have a play on the box to see if you can
figure it out?

Carl



Re: Perl 5.8.1 is out

Posted by Stas Bekman <st...@stason.org>.
Carl Brewer wrote:
> Stas Bekman wrote:
> 
> 
>> However you can try the following:
>>
>> perl Makefile.PL ...
>> make
>> t/TEST -conf
>> perl -pi -e 's|Listen\s+(\d+)|Listen YOURHOSTNAME:$1|' t/conf/httpd.conf
>> t/TEST
>> cd ModPerl-Registry
>> t/TEST -conf
>> perl -pi -e 's|Listen\s+(\d+)|Listen YOURHOSTNAME:$1|' t/conf/httpd.conf
>> t/TEST
>>
>> replace YOURHOSTNAME with your hostname ;) may be localhost will do, I 
>> haven't played on Ipv6 system yet.
> 
> 
> Localhost didn't work :)

Thanks Carl

So what hostname do you normally use? Have you tried that? Philippe has 
reported that this change has worked for him.

http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=105514290024419&w=2

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: Perl 5.8.1 is out

Posted by Carl Brewer <ca...@bl.echidna.id.au>.
Stas Bekman wrote:


> However you can try the following:
> 
> perl Makefile.PL ...
> make
> t/TEST -conf
> perl -pi -e 's|Listen\s+(\d+)|Listen YOURHOSTNAME:$1|' t/conf/httpd.conf
> t/TEST
> cd ModPerl-Registry
> t/TEST -conf
> perl -pi -e 's|Listen\s+(\d+)|Listen YOURHOSTNAME:$1|' t/conf/httpd.conf
> t/TEST
> 
> replace YOURHOSTNAME with your hostname ;) may be localhost will do, I 
> haven't played on Ipv6 system yet.

Localhost didn't work :)

cheers

Carl



Re: Perl 5.8.1 is out

Posted by Stas Bekman <st...@stason.org>.
Carl Brewer wrote:
> Stas Bekman wrote:
> 
> 
>> If you are eager to start testing you can start doing so right now 
>> with the latest cvs. I'm doing some last testing and will post the 
>> 1.99_10 release candidate in about 10 hours.
[...]
>   no problems at compile time, the usual make test IPv6 problems though
>   seems fine operationally though.

it's an issue with Apache::Test, not mp2. I've added this to the Apache-Test/ToDo:

- Apache-Test doesn't run on IPv6 systems, need to change the
   autogeneration of httpd.conf to support IPv6. It requires a
   replacement of 'Listen 80' with 'Listen servername:80'
   Philippe posted patch here:
   http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=105514290024419&w=2

However you can try the following:

perl Makefile.PL ...
make
t/TEST -conf
perl -pi -e 's|Listen\s+(\d+)|Listen YOURHOSTNAME:$1|' t/conf/httpd.conf
t/TEST
cd ModPerl-Registry
t/TEST -conf
perl -pi -e 's|Listen\s+(\d+)|Listen YOURHOSTNAME:$1|' t/conf/httpd.conf
t/TEST

replace YOURHOSTNAME with your hostname ;) may be localhost will do, I haven't 
played on Ipv6 system yet.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: Perl 5.8.1 is out

Posted by Carl Brewer <ca...@bl.echidna.id.au>.
Carl Brewer wrote:

 > report from NetBSD 1.6.1

*doh*

Should have gone to dev .. Mea Culpa

Carl




Re: Perl 5.8.1 is out

Posted by Carl Brewer <ca...@bl.echidna.id.au>.
Stas Bekman wrote:


> If you are eager to start testing you can start doing so right now with 
> the latest cvs. I'm doing some last testing and will post the 1.99_10 
> release candidate in about 10 hours.

steel1: {8} perl mp2bug

-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

   no problems at compile time, the usual make test IPv6 problems though
   seems fine operationally though.

2. Used Components and their Configuration:

*** mod_perl version 1.9910

*** using /data/src/modperl-2.0/bin/../lib/Apache/BuildConfig.pm
*** Makefile.PL options:
   MP_APXS        => /usr/local/apache2/bin/apxs
   MP_COMPAT_1X   => 1
   MP_GENERATE_XS => 1
   MP_LIBNAME     => mod_perl
   MP_USE_DSO     => 1
   MP_USE_STATIC  => 1


*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.0.47
Server built:   Jul 10 2003 10:10:41
Server's Module Magic Number: 20020903:4
Architecture:   32-bit
Server compiled with....
  -D APACHE_MPM_DIR="server/mpm/prefork"
  -D APR_HAS_MMAP
  -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)
  -D APR_USE_SYSVSEM_SERIALIZE
  -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
  -D APR_HAS_OTHER_CHILD
  -D AP_HAVE_RELIABLE_PIPED_LOGS
  -D HTTPD_ROOT="/usr/local/apache2"
  -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
  -D DEFAULT_PIDLOG="logs/httpd.pid"
  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
  -D DEFAULT_LOCKFILE="logs/accept.lock"
  -D DEFAULT_ERRORLOG="logs/error_log"
  -D AP_TYPES_CONFIG_FILE="conf/mime.types"
  -D SERVER_CONFIG_FILE="conf/httpd.conf"


*** /usr/local/perl-5.8.0/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
   Platform:
     osname=netbsd, osvers=1.6.1, archname=i386-netbsd
     uname='netbsd steel1.stealstopper.com 1.6.1 netbsd 1.6.1 (generic) 
#0: tue apr 8 12:05:52 utc 2003 
autobuild@tgm.daemon.org:autobuildnetbsd-1-6i386objautobuildnetbsd-1-6srcsysarchi386compilegeneric 
i386 '
     config_args=''
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
     usemymalloc=y, bincompat5005=undef
   Compiler:
     cc='cc', ccflags ='-fno-strict-aliasing',
     optimize='-O',
     cppflags='-fno-strict-aliasing'
     ccversion='', gccversion='2.95.3 20010315 (release) (NetBSD nb3)', 
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, prototype=define
   Linker and Libraries:
     ld='cc', ldflags =' -Wl,-rpath,/usr/pkg/lib 
-Wl,-rpath,/usr/local/lib -L/usr/local/lib'
     libpth=/usr/local/lib /usr/lib
     libs=-lm -lc -lposix -lcrypt -lutil
     perllibs=-lm -lc -lposix -lcrypt -lutil
     libc=/usr/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, 
ccdlflags='-Wl,-whole-archive -lgcc -Wl,-no-whole-archive 
      -Wl,-E  -Wl,-R/usr/local/perl-5.8.0/lib/5.8.0/i386-netbsd/CORE'
     cccdlflags='-DPIC -fPIC ', lddlflags='--whole-archive -shared 
-L/usr/local/lib'


Characteristics of this binary (from libperl):
   Compile-time options: USE_LARGE_FILES
   Built under netbsd
   Compiled at Jun  4 2003 20:01:13
   %ENV:
     PERL_LWP_USE_HTTP_10="1"
   @INC:
     /usr/local/perl-5.8.0/lib/5.8.0/i386-netbsd
     /usr/local/perl-5.8.0/lib/5.8.0
     /usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-netbsd
     /usr/local/perl-5.8.0/lib/site_perl/5.8.0
     /usr/local/perl-5.8.0/lib/site_perl
     .


3. This is the core dump trace: (if you get a core dump):

   [CORE TRACE COMES HERE]

This report was generated by mp2bug on Fri Sep 26 08:52:44 2003 GMT.

-------------8<---------- End Bug Report --------------8<----------


> 
> __________________________________________________________________
> Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/     mod_perl Guide ---> http://perl.apache.org
> mailto:stas@stason.org http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org   http://ticketmaster.com
> 



Re: Perl 5.8.1 is out

Posted by Stas Bekman <st...@stason.org>.
Stas Bekman wrote:
> Issac Goldstand wrote:
> 
>> So much for all the questions of when to put out the next mp1_99 
>> release :-)
>>
>> http://www.perl.com/CPAN/src/perl-5.8.1.tar.gz
> 
> 
> Indeed. A new mp1_99 release candidate should be available really soon 
> now. Watch this space.

If you are eager to start testing you can start doing so right now with the 
latest cvs. I'm doing some last testing and will post the 1.99_10 release 
candidate in about 10 hours.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: Perl 5.8.1 is out

Posted by Stas Bekman <st...@stason.org>.
Issac Goldstand wrote:
> So much for all the questions of when to put out the next mp1_99 release :-)
> 
> http://www.perl.com/CPAN/src/perl-5.8.1.tar.gz

Indeed. A new mp1_99 release candidate should be available really soon now. 
Watch this space.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com