httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Beau E. Cox" <b...@beaucox.com>
Subject Re: [apreq2] proper support for ithreads
Date Wed, 18 Feb 2004 20:53:00 GMT
TO RECAP:
> > On Monday 16 February 2004 10:39 am, you wrote:
> >>Beau E. Cox wrote:
> >>[...]
> >>
> >>>Yep, the project I did - "HTML::Mason:::ApacheHandler2" -
> >>>on CPAN at
> >>><http://search.cpan.org/~beau/HTML-Mason-ApacheHandler2-0.01/>
> >>>is ALL mp2; that's where I had the
> >>>"attemping to free ... scalar ... " messages, and
> >>>why I moved to 5.8.3.
> >>
> >>Sorry for the delay, Beau.
> >>
> >>Please try with 5.8.2 and the current cvs of httpd-apreq-2, I've added a
> >>proper support for ithreads.
> >
> > Hi Stas:
> >
> > I'm having trouble building httpd-apreq-2 from cvs:
> >
> > 0. perl 5.8.2 reinstalled, apache2 (2.0.48) and mod_perl 2
> > (latest cvs) made and installed.
> > 1. CVS download OK.
> > 2. Checked that I have all dependencies - OK.
> > 3. ./buildconf - OK
> > 4. perl Makefile.PL --with-apache2-apxs=/usr/apache2/sbin/apxs - OK
> > 5. make - get the following (after it runs a while):
> >
> > [...]
> >
> >  cd  && /bin/sh ./config.status Makefile
> > ./config.status: ./config.status: No such file or directory
> > make: *** [Makefile] Error 127
> >
> > Looks like a 'cd' to nowhere, then ./config.status can't be found...?
> >

The make problem seems to be because $top_builddir is NOT defined.
Assuming you are building in the same directory as top_srcdir, as I
am, move the 'empty' top_builddir def to the top of the file as:

 srcdir = .
 top_srcdir = .
 top_builddir = .
 ^

and define it as '.'; the make then works (sorry, I'm weak in
the automake department being an ex-M$ weenie :) ),

Now the make works.

I intalled http-apreq2-cvs (as of 1 hour ago) and cranked up
my server with perl 5.8.2. Alas, I receive the same series of
errors I received before moving to perl 5.8.3, such as:

Attempt to free unreferenced scalar: SV 0x40601238 
at /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi/DBI.pm line 633.
Attempt to free unreferenced scalar: SV 0x40601238 
at /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi/DBI.pm line 633.
Attempt to free unreferenced scalar: SV 0x40601238 
at /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi/DBI.pm line 633.
Attempt to free unreferenced scalar: SV 0x40601238 
at /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi/DBI.pm line 633.
Attempt to free unreferenced scalar: SV 0x40601238 
at /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi/DBI.pm line 633.
Attempt to free unreferenced scalar: SV 0x40601238 
at /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi/DBI.pm line 633.
Attempt to free unreferenced scalar: SV 0x40601238 
at /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi/DBI.pm line 633.
Attempt to free unreferenced scalar: SV 0x40601238 
at /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi/DBI.pm line 633.
Attempt to free unreferenced scalar: SV 0x40601238 
at /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi/DBI.pm line 633.
[Wed Feb 18 10:12:34 2004] [notice] caught SIGTERM, shutting down

Stas asked me if I could make a 'test' case to display this
behaviour; I have not been able to reproduce this problem outside
if my apache2/mod_perl 2/mason/etc. server setup yet.

Anyway, I now have a test bed that I can fire up on my test server
whenever more patches are forthcoming (If you folks need it).

Aloha => Beau;


Mime
View raw message