perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Rolsky <auta...@urth.org>
Subject strange compile error from CVS
Date Sun, 19 May 2002 03:23:03 GMT
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


Mime
View raw message