Re: Apache::compat was Apache::DBI with mod_perl 2.0

2002-06-27 Thread Stas Bekman

Zac Morris wrote:
> Ok, still getting the same errors during "make test".
> 
> One of the first lines of the "perl Makefile.PL --blahblah" shows:
> 
> Configuring Apache/2.0.39 mod_perl/1.99_04 Perl/v5.8.0
> 
> Does this mean that the make install I did on the Perl/v5.8.0_RC2 didn't
> "take"?

may be you didn't install it after the build? I suggest installing 
everything into a new location so there will be no doubts. Just to test. 
just write a script that does all the work so you don't have to waste 
time. you can ignore the 'make test' in the perl source which is very 
long (assuming that it works for you)

> When I "perl --version" should it show me 5.8.0 RC2?

nope. it shows 5.8.0



__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com




Re: Apache::compat was Apache::DBI with mod_perl 2.0

2002-06-27 Thread Zac Morris

Ok, still getting the same errors during "make test".

One of the first lines of the "perl Makefile.PL --blahblah" shows:

Configuring Apache/2.0.39 mod_perl/1.99_04 Perl/v5.8.0

Does this mean that the make install I did on the Perl/v5.8.0_RC2 didn't
"take"?

When I "perl --version" should it show me 5.8.0 RC2?

Thanks,
-Zac



- Original Message -
From: "Stas Bekman" <[EMAIL PROTECTED]>
To: "Zac Morris" <[EMAIL PROTECTED]>
Cc: "mod_perl" <[EMAIL PROTECTED]>
Sent: Thursday, June 27, 2002 9:35 AM
Subject: Re: Apache::compat was Apache::DBI with mod_perl 2.0


> Zac Morris wrote:
> > Ok, I understand.  Maybe some kind of message/logic in the make to tell
you
> > that you have to have specifically x, y, z.  Because I honestly DID hear
you
> > say x, y, z but my brain assumed x+, y+, z+
>
> I've updated the README file, which now states what you need.
>
> All the troubles will go away, after perl 5.8.0 (RSN) and Apache 2.0
> (ASAP) will freeze their APIs and be released.
>
> __
> Stas BekmanJAm_pH --> Just Another mod_perl Hacker
> http://stason.org/ mod_perl Guide ---> http://perl.apache.org
> mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org   http://ticketmaster.com
>
>




Re: Apache::compat was Apache::DBI with mod_perl 2.0

2002-06-27 Thread Stas Bekman

Zac Morris wrote:
> Ok, I understand.  Maybe some kind of message/logic in the make to tell you
> that you have to have specifically x, y, z.  Because I honestly DID hear you
> say x, y, z but my brain assumed x+, y+, z+

I've updated the README file, which now states what you need.

All the troubles will go away, after perl 5.8.0 (RSN) and Apache 2.0 
(ASAP) will freeze their APIs and be released.

__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com





Re: Apache::compat was Apache::DBI with mod_perl 2.0

2002-06-27 Thread Zac Morris

Ok, I understand.  Maybe some kind of message/logic in the make to tell you
that you have to have specifically x, y, z.  Because I honestly DID hear you
say x, y, z but my brain assumed x+, y+, z+

Just a thought.

Thanks,
-Zac


- Original Message -
From: "Stas Bekman" <[EMAIL PROTECTED]>
To: "Zac Morris" <[EMAIL PROTECTED]>
Cc: "mod_perl" <[EMAIL PROTECTED]>
Sent: Thursday, June 27, 2002 6:08 AM
Subject: Re: Apache::compat was Apache::DBI with mod_perl 2.0


> Zac Morris wrote:
> > Ok, I went and installed Apache from CVS this time, but it looks like
that
> > installed 2.0.40-dev
> >
> > and I'm still getting errors during "make test" of mod_perl 2.  Does it
have
> > to be 2.0.39 specifically to compile?
>
> Yes, to compile 1.99_04
>
> > Sorry if I'm just not getting it...
>
> It's easy:
>
> * httpd is changing all the time
> * Perl is changing too
> * mod_perl uses both APIs and therefore depends on the above two
>
> in order to give you a version where mod_perl uses the right APIs from
> httpd and Perl, we say the versions that you've to use.
>
> Now if you go for the cvs versions, chances are that we didn't have a
> chance to update mod_perl to the latest cvs changes in httpd, perl or
> both. And this is the case that you hit.
>
> get 5.8.0-RC2 and 2.0.39 and then 1.99_04 will compile and pass all
> tests 100%.
>
> __
> Stas BekmanJAm_pH --> Just Another mod_perl Hacker
> http://stason.org/ mod_perl Guide ---> http://perl.apache.org
> mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org   http://ticketmaster.com
>




Re: Apache::compat was Apache::DBI with mod_perl 2.0

2002-06-27 Thread Stas Bekman

Zac Morris wrote:
> Ok, I went and installed Apache from CVS this time, but it looks like that
> installed 2.0.40-dev
> 
> and I'm still getting errors during "make test" of mod_perl 2.  Does it have
> to be 2.0.39 specifically to compile?

Yes, to compile 1.99_04

> Sorry if I'm just not getting it...

It's easy:

* httpd is changing all the time
* Perl is changing too
* mod_perl uses both APIs and therefore depends on the above two

in order to give you a version where mod_perl uses the right APIs from 
httpd and Perl, we say the versions that you've to use.

Now if you go for the cvs versions, chances are that we didn't have a 
chance to update mod_perl to the latest cvs changes in httpd, perl or 
both. And this is the case that you hit.

get 5.8.0-RC2 and 2.0.39 and then 1.99_04 will compile and pass all 
tests 100%.

__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com




Re: Apache::compat was Apache::DBI with mod_perl 2.0

2002-06-27 Thread Zac Morris

Ok, I went and installed Apache from CVS this time, but it looks like that
installed 2.0.40-dev

and I'm still getting errors during "make test" of mod_perl 2.  Does it have
to be 2.0.39 specifically to compile?

Sorry if I'm just not getting it...
-Zac


using Apache/2.0.40-dev (prefork MPM)
[Thu Jun 27 03:43:52 2002] [info] 20 Apache:: modules loaded
[Thu Jun 27 03:43:52 2002] [info] 5 APR:: modules loaded
[Thu Jun 27 03:43:52 2002] [info] base server + 5 vhosts ready to run
tests
[Thu Jun 27 03:43:54 2002] [info] 19 Apache:: modules loaded
[Thu Jun 27 03:43:54 2002] [info] 5 APR:: modules loaded
[Thu Jun 27 03:43:54 2002] [info] base server + 5 vhosts ready to run
tests

waiting for server to start: ok (waited 10 secs)
server localhost.localdomain:8529 started
server localhost.localdomain:8530 listening (TestDirective::perlmodule)
server localhost.localdomain:8531 listening (TestDirective::perlrequire)
server localhost.localdomain:8532 listening (TestProtocol::echo)
server localhost.localdomain:8533 listening (TestProtocol::echo_filter)
server localhost.localdomain:8534 listening (TestFilter::input_msg)
apache/cgihandlerok
apache/compatok
apache/compat2...ok
apache/conftree..ok
apache/constants.ok
apache/post..ok
apache/read..ok
apache/scanhdrs..ok
apache/subprocessok
apache/write.ok
api/access...ok
api/aplogok
api/conn_rec.ok
api/lookup_uri...ok
api/lookup_uri2..ok
api/module...ok
api/r_subclass...ok
api/request_rec..ok
api/response.ok
api/rutilok
api/send_fd..ok 2/3# Failed test 3 in api/send_fd.t at line 23
api/send_fd..FAILED test 3
Failed 1/3 tests, 66.67% okay
api/sendfile.ok 2/3# Failed test 3 in api/sendfile.t at line
23
api/sendfile.FAILED test 3
Failed 1/3 tests, 66.67% okay
api/server_rec...ok
api/server_util..ok
api/uri..ok
apr/base64...ok
apr/constantsok
apr/date.ok
apr/netlib...ok
apr/os...ok
apr/perlio...skipped
all skipped: no reason given
apr/pool.ok
apr/string...ok
apr/tableok
apr/util.ok
apr/uuid.ok
directive/envok
directive/perlmodule.ok
directive/perlrequireok
directive/setupenv...ok
filter/api...ok
filter/buckets...ok
filter/input_bodyok
filter/input_msg.ok
filter/lcok
filter/reverse...ok
hooks/access.NOK 2# Failed test 2 in hooks/access.t at line 15
hooks/access.FAILED test 2
Failed 1/4 tests, 75.00% okay
hooks/authen.ok 1/4# Failed test 2 in
/opt2/src/mod_perl-1.99_04/Apache-Test/lib/Apache/Test.pm at line 46 fail
#2
hooks/authen.NOK 2# Failed test 3 in
/opt2/src/mod_perl-1.99_04/Apache-Test/lib/Apache/Test.pm at line 46 fail
#3
hooks/authen.FAILED tests 2-3
Failed 2/4 tests, 50.00% okay
hooks/authz..NOK 2# Failed test 2 in hooks/authz.t at line 15
# Failed test 3 in hooks/authz.t at line 17
hooks/authz..FAILED tests 2-3
Failed 2/4 tests, 50.00% okay
hooks/fixup..ok
hooks/headerparser...ok
hooks/init...ok
hooks/trans..# Failed test 1 in hooks/trans.t at line 12
hooks/trans..FAILED test 1
Failed 1/3 tests, 66.67% okay
modperl/dir_config...ok
modperl/endavok
modperl/env..ok
modperl/exit.ok
modperl/getc.ok
modperl/method...ok
modperl/methodname...ok
modperl/methodobjok
modperl/pnotes...ok
modperl/printok
modperl/printf...ok
modperl/readline.ok
modperl/sameinterp...ok
modperl/subenv...ok
modules/cgi..ok
modules/cgiuploadok
modules/include..ok
protocol/echook
protocol/echo_filter.ok
Failed TestStat Wstat Total Fail  Failed  List of Failed

---
api/send_fd.t 31  33.33%  3
api/sendfile.t31  33.33%  3
hooks/access.t41  25.00%  2
hooks/authen.t42  50.00%  2-3
hooks/authz.t 42  50.00%  2-3
hooks/trans.t 31  33.33%  1
1 test skipped.
*** server localhost.localdomain:8529 shutdown
!!! error running tests (please examine t/logs/error_log)
make: *** [run_tests] Error 1





- Original Message -
From: "Stas Bekman" <[EMAIL PROTECTED]>
To: "Zac Morris" <[EMAIL PROTECTED]>
Sent: Thursday, June 27, 2002 2:33 AM
Subject: Re: Apache::compat was Apache::DBI with mod_perl 2.0


>
> > errors:
> >