You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Issac Goldstand <ma...@beamartyr.net> on 2002/04/06 23:51:34 UTC

estimate on beta release

Any ideas when a basically functional mod_perl 2's gonna be ready?

  Issac


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


Re: estimate on beta release

Posted by Issac Goldstand <ma...@beamartyr.net>.
Doug MacEachern wrote:

>hopefully today.  i'm doing some more testing, there's a snapshot here if 
>anybody wants to test:
>http://perl.apache.org/~dougm/mod_perl-1.99_01-dev.tar.gz
>
>please report test results and perl -V if you have a chance.  thanks.
>
apache/subprocess...ok, 1/4 unexpectedly 
succeeded                          
apr/perlio..........skipped: iolayers is not available with this version 
of Perl
All tests successful (1 subtest UNEXPECTEDLY SUCCEEDED), 1 test skipped.
Files=66, Tests=421, 65 wallclock secs (52.42 cusr +  4.62 csys = 57.04 CPU)

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.4.9-13, archname=i686-linux-thread-multi-64all-ld
    uname='linux deepthought.beamartyr.net 2.4.7-10 #1 thu sep 6 
16:46:36 edt 2001 i686 unknown '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=define
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -fno-strict-aliasing 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.1 
2.96-98)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='long double', nvsize=12, 
Off_t='off_t', lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/lib /lib /usr/local/lib /usr/local/httpd/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
    libc=/lib/libc-2.2.4.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic 
-Wl,-rpath,/usr/local/httpd/lib/perl5/5.6.1/i686-linux-thread-multi-64all-ld/CORE'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT 
USE_64_BIT_ALL USE_LONG_DOUBLE USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Dec 26 2001 12:06:00
  @INC:
    /usr/local/httpd/lib/perl5/5.6.1/i686-linux-thread-multi-64all-ld
    /usr/local/httpd/lib/perl5/5.6.1
    
/usr/local/httpd/lib/perl5/site_perl/5.6.1/i686-linux-thread-multi-64all-ld
    /usr/local/httpd/lib/perl5/site_perl/5.6.1
    /usr/local/httpd/lib/perl5/site_perl
    /usr/local/httpd/lib/perl
    .
[issac@deepthought mod_perl-1.99_01-dev] $


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


Re: estimate on beta release

Posted by Geoffrey Young <ge...@modperlcookbook.org>.
> > Yes, the bleadperl loses CFLAGS as reported by Doug at p5p. One of the
> > recent updates to MakeMaker broke things.
> 
> has been fixed within patch level 15808

indeed :)  nice work guys!

--Geoff

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


Re: estimate on beta release

Posted by Stas Bekman <st...@stason.org>.
Stas Bekman wrote:
> Geoffrey Young wrote:
> 
>> Doug MacEachern wrote:
>>
>>> hopefully today.  i'm doing some more testing, there's a snapshot 
>>> here if
>>> anybody wants to test:
>>> http://perl.apache.org/~dougm/mod_perl-1.99_01-dev.tar.gz
>>>
>>> please report test results and perl -V if you have a chance.  thanks.
>>
>>
>>
>> I am having trouble with current CVS of httpd (prefork) and mod_perl 
>> under bleedperl. 
> 
> 
>> failed to start server! (please examine t/logs/error_log)
>> oh golly, server dumped core for stacktrace, run: gdb 
>> /usr/local/apache-2.0/bin/httpd -core /src/modperl-2.0/t/core
> 
> 
> Yes, the bleadperl loses CFLAGS as reported by Doug at p5p. One of the 
> recent updates to MakeMaker broke things.

has been fixed within patch level 15808

__________________________________________________________________
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


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


Re: estimate on beta release

Posted by Stas Bekman <st...@stason.org>.
Geoffrey Young wrote:
> Doug MacEachern wrote:
> 
>>hopefully today.  i'm doing some more testing, there's a snapshot here if
>>anybody wants to test:
>>http://perl.apache.org/~dougm/mod_perl-1.99_01-dev.tar.gz
>>
>>please report test results and perl -V if you have a chance.  thanks.
> 
> 
> I am having trouble with current CVS of httpd (prefork) and mod_perl under bleedperl. 

> failed to start server! (please examine t/logs/error_log)
> oh golly, server dumped core 
> for stacktrace, run: gdb /usr/local/apache-2.0/bin/httpd -core /src/modperl-2.0/t/core

Yes, the bleadperl loses CFLAGS as reported by Doug at p5p. One of the 
recent updates to MakeMaker broke things.

Try using earlier snapshots. I think before 15700 patch level should be 
fine.

> BTW, it's probably just because I'm slow, but even though I knew mod_perl 2.0 was DSO only
> I forgot to build apache first (too used to mod_perl 1.3 doing it for me I guess).
> 
> thus I would suggest a patch similar to the following patch in INSTALL if you want to get
> simple minded folks like me started quickly.

I believe Doug meant that the released modperl will be tested against 
the released 2.0.35 and not cvs version. Since it's still possible that 
some httpd APIs will change, and then the currently released modperl 
1.99 won't built against the blead httpd.

For complete install docs use:
docs/user/install/install.pod

> --Geoff
> 
> Index: INSTALL
> ===================================================================
> RCS file: /home/cvspublic/modperl-2.0/INSTALL,v
> retrieving revision 1.5
> diff -u -r1.5 INSTALL
> --- INSTALL     7 Apr 2002 00:27:59 -0000       1.5
> +++ INSTALL     8 Apr 2002 13:24:36 -0000
> @@ -1,5 +1,11 @@
>  Simple install:
>  
> +% cd httpd-2.0
> +% make distclean && ./buildconf
> +% ./configure --prefix=/usr/local/apache-2.0 --with-mpm=prefork
> +% make && make install
> +
> +% cd ../modperl-2.0
>  % perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2
>  % make && make test
>  % make install

__________________________________________________________________
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


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


Re: estimate on beta release

Posted by Geoffrey Young <ge...@modperlcookbook.org>.
Doug MacEachern wrote:
> 
> hopefully today.  i'm doing some more testing, there's a snapshot here if
> anybody wants to test:
> http://perl.apache.org/~dougm/mod_perl-1.99_01-dev.tar.gz
> 
> please report test results and perl -V if you have a chance.  thanks.

I am having trouble with current CVS of httpd (prefork) and mod_perl under bleedperl. 

APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE=/usr/local/apache-2.0/bin/httpd APXS= \
/src/bleedperl/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST
setting ulimit to allow core files
ulimit -c unlimited; t/TEST 
cannot build c-modules without apxs
/usr/local/apache-2.0/bin/httpd  -d /src/modperl-2.0/t -f
/src/modperl-2.0/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREADS
using Apache/2.0.36-dev (prefork MPM)
waiting for server to start: ok (waited 3 secs)
server localhost:8529 started
server localhost:8530 listening (TestDirective::perlmodule)
server localhost:8531 listening (TestDirective::perlrequire)
server localhost:8532 listening (TestProtocol::eliza)
server localhost:8533 listening (TestProtocol::echo)
server localhost:8534 listening (TestProtocol::echo_filter)
server localhost:8535 listening (TestFilter::input_msg)
the server is down, giving up after 63 secs
failed to start server! (please examine t/logs/error_log)
oh golly, server dumped core 
for stacktrace, run: gdb /usr/local/apache-2.0/bin/httpd -core /src/modperl-2.0/t/core
make: *** [run_tests] Error 1

here's the gdb output:

Core was generated by `/usr/local/apache-2.0/bin/httpd -d /src/modperl-2.0/t -f
/src/modperl-2.0/t/con'.
Program terminated with signal 11, Segmentation fault.
...
#0  0x4027aeb6 in modperl_hash_tied_object (my_perl=0x82bcc68, classname=0x40428e3f
"APR::Table", tsv=0x82d970c)
    at modperl_util.c:402
402                         return (void *)MgObjIV(mg);

perl -V below.

BTW, it's probably just because I'm slow, but even though I knew mod_perl 2.0 was DSO only
I forgot to build apache first (too used to mod_perl 1.3 doing it for me I guess).

thus I would suggest a patch similar to the following patch in INSTALL if you want to get
simple minded folks like me started quickly.

--Geoff

Index: INSTALL
===================================================================
RCS file: /home/cvspublic/modperl-2.0/INSTALL,v
retrieving revision 1.5
diff -u -r1.5 INSTALL
--- INSTALL     7 Apr 2002 00:27:59 -0000       1.5
+++ INSTALL     8 Apr 2002 13:24:36 -0000
@@ -1,5 +1,11 @@
 Simple install:
 
+% cd httpd-2.0
+% make distclean && ./buildconf
+% ./configure --prefix=/usr/local/apache-2.0 --with-mpm=prefork
+% make && make install
+
+% cd ../modperl-2.0
 % perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2
 % make && make test
 % make install


Summary of my perl5 (revision 5.0 version 7 subversion 3 patch 15794) configuration:
  Platform:
    osname=linux, osvers=2.2.14-5.0, archname=i686-linux-thread-multi
    uname='linux mainsheet.laserlink.net 2.2.14-5.0 #1 tue mar 7 21:07:39 est 2000 i686
unknown '
    config_args='-des -Dusethreads -Dprefix=/src/bleedperl -Doptimize=-g -Dusedevel
-Dinstallusrbinperl -Uversiononly'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-g',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)',
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 =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lpthread -lc -lposix -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lpthread -lc -lposix -lcrypt -lutil
    libc=/lib/libc-2.1.3.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 MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
  Locally applied patches:
        DEVEL15771
  Built under linux
  Compiled at Apr  7 2002 22:04:55
  @INC:
    /src/bleedperl/lib/5.7.3/i686-linux-thread-multi
    /src/bleedperl/lib/5.7.3
    /src/bleedperl/lib/site_perl/5.7.3/i686-linux-thread-multi
    /src/bleedperl/lib/site_perl/5.7.3
    /src/bleedperl/lib/site_perl/5.7.2/i686-linux-thread-multi
    /src/bleedperl/lib/site_perl/5.7.2
    /src/bleedperl/lib/site_perl
    .

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


Re: estimate on beta release

Posted by Doug MacEachern <do...@covalent.net>.
hopefully today.  i'm doing some more testing, there's a snapshot here if 
anybody wants to test:
http://perl.apache.org/~dougm/mod_perl-1.99_01-dev.tar.gz

please report test results and perl -V if you have a chance.  thanks.



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