You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Joe Schaefer <jo...@sunstarsys.com> on 2005/10/03 04:59:04 UTC

towards a 2.07 release

Note this is our first non-dev candidate, so please give it the 
extra scrutiny it deserves. Release Candidate #1 -

    http://people.apache.org/~joes/libapreq2-2.07-rc1.tar.gz

Thanks!
-- 
Joe Schaefer


Re: 2.07-rc3 (was Re: 2.07-rc2)

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Sun, 16 Oct 2005, Joe Schaefer wrote:

> Ok, please test rc3 instead:
>
>    http://people.apache.org/~joes/libapreq2-2.07-rc3.tar.gz

Builds and passes all tests, including the perl glue, on

- Win32 (ActivePerl 813: perl-5.8.7), mp 2.0.2 (rc2),
   Apache/2.0.54 (winnt)
- linux (perl-5.8.7), mp 2.0.1, Apache/2.0.54 (prefork)

There is a warning on Win32 at the perl Makefile.PL
stage about an unitialized value being used for the
--with-apache2-apxs option, if this is not specified;
this has been fixed in the current svn sources.

-- 
best regards,
randy

Re: 2.07-rc3 (was Re: 2.07-rc2)

Posted by Steve Hay <st...@uk.radan.com>.
Joe Schaefer wrote:
> Ok, please test rc3 instead:
> 
>     http://people.apache.org/~joes/libapreq2-2.07-rc3.tar.gz

All tests OK here (WinXP/VC6, perl-5.8.7, apache-2.0.54, mp-2.0.2-rc2). 
  Apache2::* installed OK too.


------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are confidential and intended for the addressee(s) only. If you have received this message in error or there are any problems, please notify the sender immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden. Note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Radan Computational Ltd. The recipient(s) of this message should check it and any attached files for viruses: Radan Computational will accept no liability for any damage caused by any virus transmitted by this email.

Re: 2.07-rc3 (was Re: 2.07-rc2)

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
I just compiled an svn version and I get

mod_apreq2-20050712/2.5.6-dev

That should be

2.0.7-dev

I would guess rc3 does something similiar.  I've also seen someone else post 
about this maybe on modperl@, and with v 2.1.3 I think.



-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com

Re: 2.07-rc3 (was Re: 2.07-rc2)

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Philip M. Gollucci wrote:
> I can't for the life of me figure out where cgi.t is generated from as 
> its not under SVN.
Call me an idiot, I was lookin in the rc3 dir not the svn dir. *sigh*

Here's a patch:
 >svn diff
Index: cgi.t
===================================================================
--- cgi.t       (revision 327592)
+++ cgi.t       (working copy)
@@ -7,7 +7,6 @@
  use Apache::TestRequest qw(GET_BODY UPLOAD_BODY
                             GET_BODY_ASSERT POST_BODY GET_RC GET_HEAD);
  use constant WIN32 => Apache::TestConfig::WIN32;
-use HTTP::Cookies;
  use Cwd;
  require File::Basename;

@@ -36,8 +35,10 @@
  my @big_keys    = ('a'..'z');

  plan tests => 10 + @key_len * @key_num + @big_key_len * @big_key_num +
-  @names * @methods, have_lwp && have_cgi;
+  @names * @methods, have_lwp && have_cgi && need_module('HTTP::Cookies');

+require HTTP::Cookies;
+
  my $location = '/cgi-bin';
  my $script = $location . '/test_cgi.pl';
  my $line_end = WIN32 ? "\r\n" : "\n";

-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com


Re: 2.07-rc3 (was Re: 2.07-rc2)

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Joe Schaefer wrote:
> Ok, please test rc3 instead:
> 
>     http://people.apache.org/~joes/libapreq2-2.07-rc3.tar.gz
I still get:
t/apreq/big_input....skipped
         all skipped: no reason given
t/apreq/cgi..........Can't locate HTTP/Cookies.pm in @INC (@INC contains: 
/usr/home/pgollucci/libapreq2-2.07/glue/perl/blib/lib /usr/home/pgollucci/libapreq2-2.07/glue/perl/blib/arch 
/usr/home/pgollucci/libapreq2-2.07/glue/perl blib/arch blib/lib /usr/home/pgollucci/release/perl/5.8.7/lib 
/usr/home/pgollucci/release/perl/5.8.7/lib /usr/home/pgollucci/release/perl/5.8.7/lib 
/usr/home/pgollucci/release/perl/5.8.7/lib .) at t/apreq/cgi.t line 10.
BEGIN failed--compilation aborted at t/apreq/cgi.t line 10

without it installed.

I can't for the life of me figure out where cgi.t is generated from as its not under SVN.

if I change cgi.t myself, or install HTTP::Cookies,

All tests pass, make install works, and make docs_instal work
on

FreeBSD 7.0-current
perl 5.8.7 w/out ithreads
httpd 2.0.54 apr w/o threads
mod_perl 2.0.2






-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com


2.07-rc3 (was Re: 2.07-rc2)

Posted by Joe Schaefer <jo...@sunstarsys.com>.
Randy Kobes <ra...@theoryx5.uwinnipeg.ca> writes:

> On Sat, 15 Oct 2005, Ville Skytt. wrote:
>
>> But I found a way to fix it; immediately after unpacking the tarball,
>> "rm glue/perl/pm_to_blib" and then proceeding as usual fixes it for me.
>> I wonder why that file is shipped in the tarball (and the top-level
>> MANIFEST) in the first place?  It was not in 2.06-dev.
>
> Nice catch! You're right about removing the pm_to_blib
> fixing the problem; it was probably just a stray that
> got picked up when making the distribution, and normally
> shouldn't be included.

Ok, please test rc3 instead:

    http://people.apache.org/~joes/libapreq2-2.07-rc3.tar.gz


-- 
Joe Schaefer


Re: 2.07-rc2 (was Re: towards a 2.07 release)

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Sat, 15 Oct 2005, Ville Skytt� wrote:

> But I found a way to fix it; immediately after unpacking the tarball,
> "rm glue/perl/pm_to_blib" and then proceeding as usual fixes it for me.
> I wonder why that file is shipped in the tarball (and the top-level
> MANIFEST) in the first place?  It was not in 2.06-dev.

Nice catch! You're right about removing the pm_to_blib
fixing the problem; it was probably just a stray that
got picked up when making the distribution, and normally
shouldn't be included.

-- 
best regards,
randy

Re: 2.07-rc2 (was Re: towards a 2.07 release)

Posted by Ville Skyttä <vs...@gmail.com>.
On Fri, 2005-10-14 at 18:33 -0500, Randy Kobes wrote:
> On Fri, 14 Oct 2005, Ville Skytt wrote:
> 
> > On Fri, 2005-10-14 at 00:40 -0500, Randy Kobes wrote:
> >> I also find that - I think the following should fix this:
> > [...]
> >> +    PMLIBDIRS => ['lib'],
> >
> > Unfortunately it doesn't seem to, the problem persists and I didn't
> > notice the above changing anything.
> 
> It works for me in installing the Apache2::* modules.
> You might have to do a make clean; first, and then
> rerun make; so that the changed Makefile.PL will
> regenerate the new Makefile.

As I'm building rpms, every build will be from a clean state anyway
("clean" as in "as is from the tarball"), there's no Makefile that could
be used to run a "make clean" from.

And BTW, according to my ExtUtils::MakeMaker (6.17 from Perl 5.8.6)
docs, "lib" is in PMLIBDIRS by default so I think the above patch might
be a no-op.

> If this still doesn't work, do the Apache2::* modules
> appear beneath glue/perl/blib/?

Nope.

But I found a way to fix it; immediately after unpacking the tarball,
"rm glue/perl/pm_to_blib" and then proceeding as usual fixes it for me.
I wonder why that file is shipped in the tarball (and the top-level
MANIFEST) in the first place?  It was not in 2.06-dev.


Re: 2.07-rc2 (was Re: towards a 2.07 release)

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Fri, 14 Oct 2005, Ville Skytt� wrote:

> On Fri, 2005-10-14 at 00:40 -0500, Randy Kobes wrote:
>> On Thu, 13 Oct 2005, Ville Skytt wrote:
>>
>>> On Thu, 2005-10-13 at 13:06 -0400, Joe Schaefer wrote:
>>>> Note this is our second non-dev candidate, so please give it the
>>>> extra scrutiny it deserves. Release Candidate #2 -
>>>
>>> None of the Apache2/*.pm files get installed with 2.07-rc2 here, but the
>>> Apache2::*.3 man pages do.  In 2.06-dev, all the *.pm (and man pages)
>>> were installed as expected.
>>
>> I also find that - I think the following should fix this:
> [...]
>> +    PMLIBDIRS => ['lib'],
>
> Unfortunately it doesn't seem to, the problem persists and I didn't
> notice the above changing anything.

It works for me in installing the Apache2::* modules.
You might have to do a make clean; first, and then
rerun make; so that the changed Makefile.PL will
regenerate the new Makefile.

If this still doesn't work, do the Apache2::* modules
appear beneath glue/perl/blib/?

-- 
best regards,
randy

Re: 2.07-rc2 (was Re: towards a 2.07 release)

Posted by Ville Skyttä <vs...@gmail.com>.
On Fri, 2005-10-14 at 00:40 -0500, Randy Kobes wrote:
> On Thu, 13 Oct 2005, Ville Skytt wrote:
> 
> > On Thu, 2005-10-13 at 13:06 -0400, Joe Schaefer wrote:
> >> Note this is our second non-dev candidate, so please give it the
> >> extra scrutiny it deserves. Release Candidate #2 -
> >
> > None of the Apache2/*.pm files get installed with 2.07-rc2 here, but the
> > Apache2::*.3 man pages do.  In 2.06-dev, all the *.pm (and man pages)
> > were installed as expected.
> 
> I also find that - I think the following should fix this:
[...]
> +    PMLIBDIRS => ['lib'],

Unfortunately it doesn't seem to, the problem persists and I didn't
notice the above changing anything.


Re: 2.07-rc2 (was Re: towards a 2.07 release)

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Thu, 13 Oct 2005, Ville Skytt� wrote:

> On Thu, 2005-10-13 at 13:06 -0400, Joe Schaefer wrote:
>> Note this is our second non-dev candidate, so please give it the
>> extra scrutiny it deserves. Release Candidate #2 -
>
> None of the Apache2/*.pm files get installed with 2.07-rc2 here, but the
> Apache2::*.3 man pages do.  In 2.06-dev, all the *.pm (and man pages)
> were installed as expected.

I also find that - I think the following should fix this:

=========================================================
--- glue/perl/Makefile.PL~	2005-10-14 00:25:15.000000000 -0500
+++ glue/perl/Makefile.PL	2005-10-14 00:29:46.000000000 -0500
@@ -162,6 +162,7 @@
  my %opts = (
      NAME => 'libapreq2',
      DIR => [qw(xs)],
+    PMLIBDIRS => ['lib'],
      clean => { FILES => "xs t/logs t/TEST @scripts" },
      realclean => { FILES => "xsbuilder/tables" },
  );

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

-- 
best regards,
randy kobes

Re: 2.07-rc2 (was Re: towards a 2.07 release)

Posted by Ville Skyttä <vs...@gmail.com>.
On Thu, 2005-10-13 at 13:06 -0400, Joe Schaefer wrote:
> Note this is our second non-dev candidate, so please give it the 
> extra scrutiny it deserves. Release Candidate #2 -

None of the Apache2/*.pm files get installed with 2.07-rc2 here, but the
Apache2::*.3 man pages do.  In 2.06-dev, all the *.pm (and man pages)
were installed as expected.

This is Fedora Core 4, perl 5.8.6, configuring libapreq2
with ./configure, building rpms for Fedora Extras.  More details
available on request if needed.


Re: 2.07-rc2 (was Re: towards a 2.07 release)

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Thu, 13 Oct 2005, Joe Schaefer wrote:

> Note this is our second non-dev candidate, so please give it the
> extra scrutiny it deserves. Release Candidate #2 -
>
>    http://people.apache.org/~joes/libapreq2-2.07-rc2.tar.gz
>
> Thanks!

There seems to be a problem (reported in another thread
by Ville Skytta) with the perl glue, in that the Apache2::*
modules don't get copied over to blib, and subsequently
won't get installed. Also, there's a minor annoyance
on Win32 with a warning about a non-existent configuration
option in the top-level Makefile.PL - I'll fix this as
soon as the svn server gets back up.

However, all tests, including those of the perl glue,
passed for me:

- linux: Apache/2.0.54 (prefork), perl-5.8.7,
          mod_perl 2.0.1
- win32: Apache/2.0.54 (winnt), perl-5.8.7 (ActivePerl 813),
          (RC2 of mod_perl 2.0.2)

-- 
best regards,
randy

Re: 2.07-rc2 (was Re: towards a 2.07 release)

Posted by Steve Hay <st...@uk.radan.com>.
Joe Schaefer wrote:
> Note this is our second non-dev candidate, so please give it the 
> extra scrutiny it deserves. Release Candidate #2 -
> 
>     http://people.apache.org/~joes/libapreq2-2.07-rc2.tar.gz

All tests OK for me: WinXP/VC6, perl-5.8.7 (without PERL_IMPLICIT_SYS!), 
apache-2.0.54, mp2-2.0.2-RC2.


------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are confidential and intended for the addressee(s) only. If you have received this message in error or there are any problems, please notify the sender immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden. Note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Radan Computational Ltd. The recipient(s) of this message should check it and any attached files for viruses: Radan Computational will accept no liability for any damage caused by any virus transmitted by this email.

Re: 2.07-rc2 (was Re: towards a 2.07 release)

Posted by Bojan Smojver <bo...@rexursive.com>.
On Thu, 2005-10-13 at 13:06 -0400, Joe Schaefer wrote:

> Note this is our second non-dev candidate, so please give it the 
> extra scrutiny it deserves. Release Candidate #2 -
> 
>     http://people.apache.org/~joes/libapreq2-2.07-rc2.tar.gz

A quick test of the C portion of the library and mod_apreq2 for Apache2
shows no problems.

-- 
Bojan


2.07-rc2 (was Re: towards a 2.07 release)

Posted by Joe Schaefer <jo...@sunstarsys.com>.
Note this is our second non-dev candidate, so please give it the 
extra scrutiny it deserves. Release Candidate #2 -

    http://people.apache.org/~joes/libapreq2-2.07-rc2.tar.gz

Thanks!

-- 
Joe Schaefer


Re: towards a 2.07 release

Posted by Max Kellermann <ma...@duempel.org>.
On 2005/10/03 04:59, Joe Schaefer <jo...@sunstarsys.com> wrote:
> Note this is our first non-dev candidate, so please give it the 
> extra scrutiny it deserves. Release Candidate #1 -

All tests pass on Debian Sid/ppc64 and Debian Etch/amd64 (both
pure64).

Max


Re: towards a 2.07 release

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Joe Schaefer wrote:
> Note this is our first non-dev candidate, so please give it the 
> extra scrutiny it deserves. Release Candidate #1 -
> 
>     http://people.apache.org/~joes/libapreq2-2.07-rc1.tar.gz
Normally, I would look into these, but I just realized I have to be in Los 
Angeles Wednesday night.

Couple things:
1)
t/apreq/cgi..........Can't locate HTTP/Cookies.pm in @INC (@INC contains: 
/usr/home/pgollucci/libapreq2-2.07/glue/perl/blib/lib 
/usr/home/pgollucci/libapreq2-2.07/glue/perl/blib/arch 
/usr/home/pgollucci/libapreq2-2.07/glue/perl blib/arch blib/lib 
/usr/home/pgollucci/perl/5.8.7/lib /usr/home/pgollucci/release/perl/5.8.7/lib 
/usr/home/pgollucci/perl/5.8.7/lib /usr/home/pgollucci/release/perl/5.8.7/lib .) 
at t/apreq/cgi.t line 10.
BEGIN failed--compilation aborted at t/apreq/cgi.t line 10.

2)
After I install LWP and thus the above
t/apreq/cgi..........ok 18/41# Failed test 22 in t/apreq/cgi.t at line 90 
t/apreq/cgi..........NOK 22# Failed test 22 in t/apreq/cgi.t at line 90
Can't call method "request" on an undefined value at 
/usr/home/pgollucci/release/perl/5.8.7/lib/Apache/TestRequest.pm line 398

[t/error_log]
[Mon Oct 03 23:31:42 2005] [error] [client 127.0.0.1] request failed: error 
reading the headers

stdout/stderr at end of email

3) A simple reversal of arguments is needed:
./t/TEST -verbose |grep order
WARNING!!! t_cmp() argument order has changed.
WARNING!!! t_cmp() argument order has changed.

From
# WARNING!!! t_cmp() argument order has changed.
# use of a regular expression as the first argument
# is deprecated.  support will be removed soon.
# testing : Bad class name
# expected: (?-xism:^Usage)
# received: Usage: APR::Request::Cookie::Table::cookie_class($table, $class): 
class APR::Request::Param is not derived from APR::Request::Cookie at 
/usr/home/pgollucci/libapreq2-2.07/glue/perl/t/response/TestAPI/cookie.pm line 54.

# WARNING!!! t_cmp() argument order has changed.
# use of a regular expression as the first argument
# is deprecated.  support will be removed soon.
# testing : Bad class name
# expected: (?-xism:^Usage)
# received: Usage: APR::Request::Param::Table::param_class($table, $class): 
class APR::Request::Cookie is not derived from APR::Request::Param at 
/usr/home/pgollucci/libapreq2-2.07/glue/perl/t/response/TestAPI/param.pm line 55.

4)
Maybe the debug A-T trace level during make test should be upped from debug. 
I'm for the default. [info]




Output from #2	
# testing : simple post
# expected:     foo => 1
# received: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# Failed test 22 in t/apreq/cgi.t at line 90
# <html><head>
# <title>400 Bad Request</title>
# </head><body>
# <h1>Bad Request</h1>
# <p>Your browser sent a request that this server could not understand.<br />
# Size of a request header field exceeds server limit.<br />
# <pre>
# Content: 
01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
90123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567<
/pre>
# </p>
# </body></html>
not ok 22

-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com

Re: towards a 2.07 release

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Randy Kobes wrote:
> Regarding the mp-2.0.2-RC1 (and assuming an Apache-Test rc), did you see 
> a patch I proposed for
> Apache-Test yesterday (to the test-dev list)? It would
> be nice if this, or some variant, went in the Apache-Test
> rc, as without it, Apache-Test doesn't get the right
> system config file under some circumstances.
RE: getting config file in TestConfigParse.pm
Yes, I saw.  Would you like to commit it or should I ?  I don't have a WIN32 to verify that on.

-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com


Re: towards a 2.07 release

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Mon, 3 Oct 2005, Philip M. Gollucci wrote:

> Randy Kobes wrote:
>> On Sun, 2 Oct 2005, Joe Schaefer wrote:
>> 
>>> Note this is our first non-dev candidate, so please give it the
>>> extra scrutiny it deserves. Release Candidate #1 -
>>>
>>>    http://people.apache.org/~joes/libapreq2-2.07-rc1.tar.gz
>>> 
>>> Thanks!
>> 
>> 
>> Nice work, Joe! All tests, including those of the perl
>> glue, pass for me on
>>    linux: Apache/2.0.54 prefork, perl-5.8.7, mp 2.0.1
>>    Win32: Apache/2.0.54 winnt, perl-5.8.7, mp 2.0.1
> It may be worth while to wait a couple days.  I'm going to release the first 
> mod_perl-2.0.2-RC1 tonight.
> Or we should test against SVN (to be 2.0.2)

Regarding the mp-2.0.2-RC1 (and assuming an 
Apache-Test rc), did you see a patch I proposed for
Apache-Test yesterday (to the test-dev list)? It would
be nice if this, or some variant, went in the Apache-Test
rc, as without it, Apache-Test doesn't get the right
system config file under some circumstances.

-- 
best regards,
randy

Re: towards a 2.07 release

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Randy Kobes wrote:
> On Sun, 2 Oct 2005, Joe Schaefer wrote:
> 
>> Note this is our first non-dev candidate, so please give it the
>> extra scrutiny it deserves. Release Candidate #1 -
>>
>>    http://people.apache.org/~joes/libapreq2-2.07-rc1.tar.gz
>>
>> Thanks!
> 
> 
> Nice work, Joe! All tests, including those of the perl
> glue, pass for me on
>    linux: Apache/2.0.54 prefork, perl-5.8.7, mp 2.0.1
>    Win32: Apache/2.0.54 winnt, perl-5.8.7, mp 2.0.1
It may be worth while to wait a couple days.  I'm going to release the first mod_perl-2.0.2-RC1 tonight.
Or we should test against SVN (to be 2.0.2)


-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com


Re: make test error on OS X 10.3.9

Posted by Joe Schaefer <jo...@sunstarsys.com>.
Boysenberry Payne <bo...@humaniteque.com> writes:

> Can anyone help me correct this error; should I make install regardless?

It's probably safe to install, since this looks like
a libtool bug (the tests are supposed to pick up the 
local copy in library/.libs, but it's searching the 
install location instead).

-- 
Joe Schaefer


make test error on OS X 10.3.9

Posted by Boysenberry Payne <bo...@humaniteque.com>.
Can anyone help me correct this error; should I make install regardless?

waiting 60 seconds for server to start: .Syntax error on line 156 of 
/Users/boysie/src/libapreq2-2.07/module/t/conf/httpd.conf:
Cannot load 
/Users/boysie/src/libapreq2-2.07/module/apache2/.libs/mod_apreq2.so 
into server: dyld: /usr/local/apache2/bin/httpd can't open library: 
/usr/local/apache2/lib/libapreq2.2.dylib  (No such file or directory, 
errno = 2)\n

TIA,
Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com


Re: towards a 2.07 release

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Joe Schaefer wrote:
> I think Philip was working on this-  IIRC he added an MM_OPTS to
> ./configure but hasn't gotten round to updating Makefile.PL.
Yes, its on my list to add Make Maker Options handling to Makefile.PL.
I have no ETA at current.


-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com

Re: towards a 2.07 release

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Edward J. Sabol wrote:
> It seems to me that both are desirable under different circumstances. Does it
> make sense to add an option to configure.pl ("--die-if-prereqs-fail"?) which
> controls this?
You would think this -- but no.

1) You have know it exists and remember to specify it.

of course you would say a smart sys admin or us would do
./configure --help first

but even if you do, you usually only look at the last page, unless you know
there is an option you have find the name of....

i.e. jpeg support for GD2.pm
[I happen to maintain its FreeBSD port, hence the example]

IMHO

Most of the people on apreq-dev@ are contributors, power users, or committers.  I believe we would want to target
those left out of this equation..... aka I just want to be able to use libapreq2 to retrieve query paramters instead of 
CGI under mod_perl.


-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com


Re: towards a 2.07 release

Posted by "Edward J. Sabol" <sa...@alderaan.gsfc.nasa.gov>.
> So I don't know how to proceed at this point. We could either
>
> 1) leave things as-is, which allows the cpan client to sift through the
> generated Makefile in order to pursue unsatisfied prereqs,
>
> or
>
> 2) change back the "warn" calls to "die", which will confuse the cpan
> client, but will allow human users to figure out exactly what needs to
> be done in order for the build to continue.
>
> Opinions?

It seems to me that both are desirable under different circumstances. Does it
make sense to add an option to configure.pl ("--die-if-prereqs-fail"?) which
controls this?

Re: towards a 2.07 release

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Joe Schaefer wrote:
> 1) leave things as-is, which allows the cpan client to sift through 
> the generated Makefile in order to pursue unsatisfied prereqs,
> 
> or 
> 
> 2) change back the "warn" calls to "die", which will confuse the cpan client,
> but will allow human users to figure out exactly what needs to be done
> in order for the build to continue.

I think Stas and I both were forgetting #1 unless I just don't recall it.

Could we not distrubute a dummy Makefile that's gets overwritten by Makefile.PL
and this dummy makefile does nothing other then have dependency information for CPAN?

Assuming, the above is a bad idea, [I don't like it]....

Do not more users install libapreq (v2 at least) manually?

2 is inconvient for CPAN, but failsafe -- at least when it does fail, you'll get a real error.
You get some rather interesting failures if say mod_perl2.pm wasn't installed.

So if I'm force to choose, I vote #2.


HTH

I still owe Makefile.PL work and INSTALL static build updating...
If I just had time...





-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com


Re: towards a 2.07 release

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Tue, 8 Nov 2005, Joe Schaefer wrote:

[ ... ]
> What's the consensus of the group on this issue?  Introducing
> another prereq, possibly on CPAN itself, seems like a bad idea
> to me.  I like the fact that the current build system is cpan-
> friendly, but I also appreciate the simplicity of having the build
> fail immediately on an unsatisfied prereq.
>
> So I don't know how to proceed at this point.  We could either
>
> 1) leave things as-is, which allows the cpan client to sift through
> the generated Makefile in order to pursue unsatisfied prereqs,
>
> or
>
> 2) change back the "warn" calls to "die", which will confuse the cpan client,
> but will allow human users to figure out exactly what needs to be done
> in order for the build to continue.
>
> Opinions?

There are good arguments for both ways, but if I were to
choose, I'd go for leaving things as they are - I think,
currently, one could install libapreq2 entirely through
the CPAN/CPANPLUS shells, including installing any 
prerequisites (except for mod_perl, probably, as this
can't easily be done through the CPAN/CPANPLUS shell).
This feature might prove quite useful to many.

The fact that the build process doesn't die for manual
installations in cases of unsatisfied prerequisites
is no different than the usual CPAN distribution, so
users who do things manually should be used to catching
the warnings about unsatisfied prerequisites and
following them up by hand.

-- 
best regards,
randy

Re: towards a 2.07 release

Posted by Joe Schaefer <jo...@sunstarsys.com>.
[recalling sub-thread wrt unsatisfied perl prereqs]

Stas Bekman <st...@stason.org> writes:

> Joe Schaefer wrote:
>> Stas Bekman <st...@stason.org> writes:
>>
>>> Shouldn't this be fatal? (now it continues to run and you can be sure that
>>> noone will notice that suggestion)
>>>
>>>it fails only later when you run make.
>>
>>>>From `svn log Makefile.PL`:
>>     r165547 | randyk | 2005-05-01 17:54:26 -0400 (Sun, 01 May 2005) |
>> 4 lines 
>>     When testing perl prerequisites, warn, rather than die, on
>>     failure, so as CPAN clients have a chance to install missing
>>     prerequisites.
>> Is there a way (some environment variable perhaps) to tell whether
>> we're running under a CPAN client or not?  That way we could die()
>> in the non-cpan case.
>
> You can try to detect whether you are running under CPAN, by just checking 
> that CPAN is loaded may be. But most likely it's running things as 
> external procs in which case you've no access to that info. In that case 
> you could only check something like an env var. I've grep'ed around, it 
> doesn't seem to set any ENV vars by CPAN. May be we should suggest to have 
> one?

What's the consensus of the group on this issue?  Introducing
another prereq, possibly on CPAN itself, seems like a bad idea
to me.  I like the fact that the current build system is cpan-
friendly, but I also appreciate the simplicity of having the build
fail immediately on an unsatisfied prereq.

So I don't know how to proceed at this point.  We could either

1) leave things as-is, which allows the cpan client to sift through 
the generated Makefile in order to pursue unsatisfied prereqs,

or 

2) change back the "warn" calls to "die", which will confuse the cpan client,
but will allow human users to figure out exactly what needs to be done
in order for the build to continue.

Opinions?

-- 
Joe Schaefer


Re: towards a 2.07 release

Posted by Stas Bekman <st...@stason.org>.
Joe Schaefer wrote:
> Stas Bekman <st...@stason.org> writes:
> 
> 
>>Shouldn't this be fatal? (now it continues to run and you can be sure that 
>>noone will notice that suggestion)
>>
>>it fails only later when you run make.
> 
> 
>>>From `svn log Makefile.PL`:
> 
>     r165547 | randyk | 2005-05-01 17:54:26 -0400 (Sun, 01 May 2005) | 4 lines
> 
>     When testing perl prerequisites, warn, rather than die, on
>     failure, so as CPAN clients have a chance to install missing
>     prerequisites.
> 
> Is there a way (some environment variable perhaps) to tell whether
> we're running under a CPAN client or not?  That way we could die()
> in the non-cpan case.

You can try to detect whether you are running under CPAN, by just checking 
that CPAN is loaded may be. But most likely it's running things as 
external procs in which case you've no access to that info. In that case 
you could only check something like an env var. I've grep'ed around, it 
doesn't seem to set any ENV vars by CPAN. May be we should suggest to have 
one?

>>Unfortunately there is still no way to pass -libmodperl option anywhere in 
>>Makefile.PL stage, so after getting a few dozen core files, I have to go 
>>manually and run:
> 
> 
> I think Philip was working on this-  IIRC he added an MM_OPTS to
> ./configure but hasn't gotten round to updating Makefile.PL.

Philip++

-- 
_______________________________________________________________
Stas Bekman mailto:stas@stason.org   | http://stason.org/
MailChannels: Assured Messaging (TM) | http://mailchannels.com/
The "Practical mod_perl" book        | http://modperlbook.org/


Re: towards a 2.07 release

Posted by Joe Schaefer <jo...@sunstarsys.com>.
Stas Bekman <st...@stason.org> writes:

> Shouldn't this be fatal? (now it continues to run and you can be sure that 
> noone will notice that suggestion)
>
> it fails only later when you run make.

>From `svn log Makefile.PL`:

    r165547 | randyk | 2005-05-01 17:54:26 -0400 (Sun, 01 May 2005) | 4 lines

    When testing perl prerequisites, warn, rather than die, on
    failure, so as CPAN clients have a chance to install missing
    prerequisites.

Is there a way (some environment variable perhaps) to tell whether
we're running under a CPAN client or not?  That way we could die()
in the non-cpan case.

> Unfortunately there is still no way to pass -libmodperl option anywhere in 
> Makefile.PL stage, so after getting a few dozen core files, I have to go 
> manually and run:

I think Philip was working on this-  IIRC he added an MM_OPTS to
./configure but hasn't gotten round to updating Makefile.PL.


-- 
Joe Schaefer


Re: towards a 2.07 release

Posted by Stas Bekman <st...@stason.org>.
Randy Kobes wrote:
> On Sun, 2 Oct 2005, Joe Schaefer wrote:
> 
>> Note this is our first non-dev candidate, so please give it the
>> extra scrutiny it deserves. Release Candidate #1 -
>>
>>    http://people.apache.org/~joes/libapreq2-2.07-rc1.tar.gz
>>
>> Thanks!
> 
> 
> Nice work, Joe! All tests, including those of the perl
> glue, pass for me on
>    linux: Apache/2.0.54 prefork, perl-5.8.7, mp 2.0.1
>    Win32: Apache/2.0.54 winnt, perl-5.8.7, mp 2.0.1 

perl Makefile.PL --with-apache2-apxs=/home/stas/httpd/prefork/bin/apxs
perl: 5.8.7 ok
mod_perl: 2.000001 ok
Apache::Test: 1.25 ok
ExtUtils::MakeMaker: 6.17 ok
build/version_check.pl failed: no version_string found in '' for 
'ExtUtils::XSBuilder'.
Please upgrade ExtUtils::XSBuilder first.

Shouldn't this be fatal? (now it continues to run and you can be sure that 
noone will notice that suggestion)

it fails only later when you run make.

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

If I get the wrong mod_perl.so loaded I get libapreq segfaulting in 
modperl tests:

#0  0xb796b79f in boot_APR__Request (my_perl=0x81b9c80, cv=0x821c3f0)
     at Request.c:616
616         XS_VERSION_BOOTCHECK ;

Thread 1 (process 1958):
#0  0xb796b79f in boot_APR__Request (my_perl=0x81b9c80, cv=0x821c3f0)
     at Request.c:616
#1  0xb7a8e3b0 in Perl_pp_entersub (my_perl=0x81b9c80) at pp_hot.c:2788
#2  0xb7a644da in Perl_runops_debug (my_perl=0x81b9c80) at dump.c:1597
#3  0xb79f6613 in S_call_body (my_perl=0x81b9c80, myop=0xbf86e4b8, 
is_eval=0 '\0')
     at perl.c:2617
#4  0xb79f60dc in Perl_call_sv (my_perl=0x81b9c80, sv=0x8201bf0, flags=6)
     at perl.c:2546
#5  0xb79fbb3b in S_call_list_body (my_perl=0x81b9c80, cv=0x8201bf0) at 
perl.c:5123
#6  0xb79fb578 in Perl_call_list (my_perl=0x81b9c80, oldscope=18,
     paramList=0x8201d28) at perl.c:5062

Unfortunately there is still no way to pass -libmodperl option anywhere in 
Makefile.PL stage, so after getting a few dozen core files, I have to go 
manually and run:

cd /glue/perl
t/TEST -libmodperl /home/stas/httpd/prefork/modules/mod_perl-5.8.7-ithread.so

now everything works fine.

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

tested with linux, perl-5.8.7-ithreads, apache/2.0.55-dev

-- 
_______________________________________________________________
Stas Bekman mailto:stas@stason.org   | http://stason.org/
MailChannels: Assured Messaging (TM) | http://mailchannels.com/
The "Practical mod_perl" book        | http://modperlbook.org/


Re: towards a 2.07 release

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Sun, 2 Oct 2005, Joe Schaefer wrote:

> Note this is our first non-dev candidate, so please give it the
> extra scrutiny it deserves. Release Candidate #1 -
>
>    http://people.apache.org/~joes/libapreq2-2.07-rc1.tar.gz
>
> Thanks!

Nice work, Joe! All tests, including those of the perl
glue, pass for me on
    linux: Apache/2.0.54 prefork, perl-5.8.7, mp 2.0.1
    Win32: Apache/2.0.54 winnt, perl-5.8.7, mp 2.0.1

-- 
best regards,
randy

Re: towards a 2.07 release

Posted by Steve Hay <st...@uk.radan.com>.
Joe Schaefer wrote:

>Note this is our first non-dev candidate, so please give it the 
>extra scrutiny it deserves. Release Candidate #1 -
>
>    http://people.apache.org/~joes/libapreq2-2.07-rc1.tar.gz
>
This still doesn't build on Win32 with my perl configuration, in which 
PERL_IMPLICIT_SYS is not defined.

I described the problem fully here:

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

but I still haven't thought of a good solution.

In brief, the problem is that APR/Request/Param/Param.xs pulls in the 
Perl headers which contain:

#define PerlLIO_link(oldname, newname)    link((oldname), (newname))
#define link            win32_link

and then pulls in "apreq_xs_postperl.h", which pulls in mod_perl's 
"modperl_perl_unembed.h", which contains:

/* these three clash with apr bucket structure member names */
#undef link
#undef read
#undef free

Thus, the symbol "link" is left undefined, leading to the linker error:

Param.obj : error LNK2001: unresolved external symbol _link
..\..\..\..\blib\arch\auto\APR\Request\Param\Param.dll : fatal error 
LNK1120: 1 unresolved externals

since Param.xs calls PerlLIO_link() on line 204.

Note that "apreq_xs_postperl.h" also includes "modperl_common_util.h", 
which includes "modperl_perl_includes.h", which also includes 
"modperl_perl_unembed.h", so link gets #undef'ed again there too.

I'm sure not where this needs fixing -- Perl, mod_perl, or libapreq -- 
but now would be a good time whichever of those it is to be!

I tried simply removing "#undef link" from "modperl_perl_unembed.h" to 
see what happens.  Here's what happens:

error C2039: 'win32_link' : is not a member of 'apr_bucket'

so it is definitely required :-(

I can't think how to fix this, other than with some dreadful hack in 
Param.xs.  Any ideas?



------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are confidential and intended for the addressee(s) only. If you have received this message in error or there are any problems, please notify the sender immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden. Note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Radan Computational Ltd. The recipient(s) of this message should check it and any attached files for viruses: Radan Computational will accept no liability for any damage caused by any virus transmitted by this email.

Re: towards a 2.07 release

Posted by Boysenberry Payne <bo...@humaniteque.com>.
I received the following errors during make test on
OS X 10.3.9 / MP2 / Apache 2.0.54 / Perl 5.8.7

waiting 60 seconds for server to start: ...Syntax error on line 176 of 
/Users/boysie/src/tmp/module/t/conf/httpd.conf:
Cannot load /Users/boysie/src/tmp/module/apache2/.libs/mod_apreq2.so 
into server: dyld: /opt/local/apache2/bin/httpd version mismatch for 
library: /opt/local/lib/libapreq2.2.dylib (compatibility version of 
user: 8.0.0 greater than library's version: 4.0.0)\n
..........................................................
waiting 60 seconds for server to start: not ok
[  error] giving up after 61 secs. If you think that your system
is slow or overloaded try again with a longer timeout value.
by setting the environment variable APACHE_TEST_STARTUP_TIMEOUT
to a high value (e.g. 360) and repeat the last command.

[  error] server failed to start! (t/logs/error_log wasn't created, 
start the server in the debug mode)
make[1]: *** [run_tests] Error 1
make: *** [module_test] Error 2


Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

On Oct 2, 2005, at 9:59 PM, Joe Schaefer wrote:

>
> Note this is our first non-dev candidate, so please give it the
> extra scrutiny it deserves. Release Candidate #1 -
>
>     http://people.apache.org/~joes/libapreq2-2.07-rc1.tar.gz
>
> Thanks!
> -- 
> Joe Schaefer
>
>
>


Re: towards a 2.07 release

Posted by Steve Hay <st...@uk.radan.com>.
Joe Schaefer wrote:

>Note this is our first non-dev candidate, so please give it the 
>extra scrutiny it deserves. Release Candidate #1 -
>
>    http://people.apache.org/~joes/libapreq2-2.07-rc1.tar.gz
>
This still doesn't build on Win32 with my perl configuration, in which 
PERL_IMPLICIT_SYS is not defined.

I described the problem fully here:

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

but I still haven't thought of a good solution.

In brief, the problem is that APR/Request/Param/Param.xs pulls in the 
Perl headers which contain:

#define PerlLIO_link(oldname, newname)    link((oldname), (newname))
#define link            win32_link

and then pulls in "apreq_xs_postperl.h", which pulls in mod_perl's 
"modperl_perl_unembed.h", which contains:

/* these three clash with apr bucket structure member names */
#undef link
#undef read
#undef free

Thus, the symbol "link" is left undefined, leading to the linker error:

Param.obj : error LNK2001: unresolved external symbol _link
..\..\..\..\blib\arch\auto\APR\Request\Param\Param.dll : fatal error 
LNK1120: 1 unresolved externals

since Param.xs calls PerlLIO_link() on line 204.

Note that "apreq_xs_postperl.h" also includes "modperl_common_util.h", 
which includes "modperl_perl_includes.h", which also includes 
"modperl_perl_unembed.h", so link gets #undef'ed again there too.

I'm sure not where this needs fixing -- Perl, mod_perl, or libapreq -- 
but now would be a good time whichever of those it is to be!

I tried simply removing "#undef link" from "modperl_perl_unembed.h" to 
see what happens.  Here's what happens:

error C2039: 'win32_link' : is not a member of 'apr_bucket'

so it is definitely required :-(

I can't think how to fix this, other than with some dreadful hack in 
Param.xs.  Any ideas?



------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are confidential and intended for the addressee(s) only. If you have received this message in error or there are any problems, please notify the sender immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden. Note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Radan Computational Ltd. The recipient(s) of this message should check it and any attached files for viruses: Radan Computational will accept no liability for any damage caused by any virus transmitted by this email.

Re: towards a 2.07 release

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Wed, 5 Oct 2005, Steve Hay wrote:

> Joe Schaefer wrote:
[ ... ] 
>> IMO submit a tested patch to libapreq's Param.xs that does this
>> (where MY_PLATFORM is suitably defined to match the above):
>> 
>> #ifdef MY_PLATFORM
>> #undef PerlLIO_link
>> #define PerlLIO_link(oldname, newname)   win32_link(oldname, newname)
>> #endif
>> 
>
> OK, patch attached does exactly that.  With this patch in place 
> libapreq2-2.07-rc1 now builds without error, and all tests pass too.
>
> (This is using perl-5.8.7, apache-2.0.54 and mod_perl-2.0.1 on WinXP 
> with VC++ 6.)

Thanks, Steve! Applied to apreq as 306508.

-- 
best regards,
randy

Re: towards a 2.07 release

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Wed, 5 Oct 2005, Steve Hay wrote:

> Joe Schaefer wrote:
[ ... ] 
>> IMO submit a tested patch to libapreq's Param.xs that does this
>> (where MY_PLATFORM is suitably defined to match the above):
>> 
>> #ifdef MY_PLATFORM
>> #undef PerlLIO_link
>> #define PerlLIO_link(oldname, newname)   win32_link(oldname, newname)
>> #endif
>> 
>
> OK, patch attached does exactly that.  With this patch in place 
> libapreq2-2.07-rc1 now builds without error, and all tests pass too.
>
> (This is using perl-5.8.7, apache-2.0.54 and mod_perl-2.0.1 on WinXP 
> with VC++ 6.)

Thanks, Steve! Applied to apreq as 306508.

-- 
best regards,
randy

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


Re: towards a 2.07 release

Posted by Steve Hay <st...@uk.radan.com>.
Joe Schaefer wrote:
> Steve Hay <st...@uk.radan.com> writes:
> 
> 
>>#define PerlLIO_link(oldname, newname)    link((oldname), (newname))
>>#define link            win32_link
> 
> 
> Ew.
> 
> [...]
> 
> 
>>I'm sure not where this needs fixing -- Perl, mod_perl, or libapreq -- 
>>but now would be a good time whichever of those it is to be!
> 
> 
> IMO submit a tested patch to libapreq's Param.xs that does this
> (where MY_PLATFORM is suitably defined to match the above):
> 
> #ifdef MY_PLATFORM
> #undef PerlLIO_link
> #define PerlLIO_link(oldname, newname)   win32_link(oldname, newname)
> #endif
> 

OK, patch attached does exactly that.  With this patch in place 
libapreq2-2.07-rc1 now builds without error, and all tests pass too.

(This is using perl-5.8.7, apache-2.0.54 and mod_perl-2.0.1 on WinXP 
with VC++ 6.)


------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are confidential and intended for the addressee(s) only. If you have received this message in error or there are any problems, please notify the sender immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden. Note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Radan Computational Ltd. The recipient(s) of this message should check it and any attached files for viruses: Radan Computational will accept no liability for any damage caused by any virus transmitted by this email.

Re: towards a 2.07 release

Posted by Joe Schaefer <jo...@sunstarsys.com>.
Steve Hay <st...@uk.radan.com> writes:

> #define PerlLIO_link(oldname, newname)    link((oldname), (newname))
> #define link            win32_link

Ew.

[...]

> I'm sure not where this needs fixing -- Perl, mod_perl, or libapreq -- 
> but now would be a good time whichever of those it is to be!

IMO submit a tested patch to libapreq's Param.xs that does this
(where MY_PLATFORM is suitably defined to match the above):

#ifdef MY_PLATFORM
#undef PerlLIO_link
#define PerlLIO_link(oldname, newname)   win32_link(oldname, newname)
#endif

-- 
Joe Schaefer


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