You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Dave Rolsky <au...@urth.org> on 2002/05/19 05:23:03 UTC

strange compile error from CVS

after syncing up from CVS just now I get this during the compile:

cc -c  -I/home/autarch/modperl-2.0/src/modules/perl
-I/home/autarch/modperl-2.0/xs -I/usr/local/apache2/include -DDEBIAN
-fno-strict-aliasing -I/usr/local/include  -DMOD_PERL -O2
-DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC
"-I/usr/lib/perl/5.6.1/CORE"   modperl_constants.c
modperl_constants.c: In function `modperl_constants_lookup_apache':
modperl_constants.c:249: `APLOG_TOCLIENT' undeclared (first use in this function)
modperl_constants.c:249: (Each undeclared identifier is reported only once
modperl_constants.c:249: for each function it appears in.)

If I comment out the lines that use that constant it goes through fine and
the tests pass except for api/aplog which says:

FAILED before any test output arrived


If I do this:

perl -Mblib -MApache2 -c t/response/TestAPI/aplog.pm
Using /home/autarch/modperl-2.0/blib
unknown constant LOG_TOCLIENT at /home/autarch/modperl-2.0/blib/lib/Apache2/Apache/Const.pm line 11.
BEGIN failed--compilation aborted at t/response/TestAPI/aplog.pm line 11

hardly a surprise, I guess.




/*==================
www.urth.org
we await the New Sun
==================*/


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


Re: strange compile error from CVS

Posted by Dave Rolsky <au...@urth.org>.
On Sat, 18 May 2002, Doug MacEachern wrote:

> On Sat, 18 May 2002, Dave Rolsky wrote:
>
> > after syncing up from CVS just now I get this during the compile:
>
> what version of apache?  should be at least 2.0.36
> i'll be updating Makefile.PL to make sure it is at least that before _02.

Yep, that was the problem.  I had 2.0.35.


-dave

/*==================
www.urth.org
we await the New Sun
==================*/


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


Re: strange compile error from CVS

Posted by Doug MacEachern <do...@covalent.net>.
On Sat, 18 May 2002, Dave Rolsky wrote:

> after syncing up from CVS just now I get this during the compile:

what version of apache?  should be at least 2.0.36
i'll be updating Makefile.PL to make sure it is at least that before _02.




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