Carl Brewer wrote:
Stas Bekman wrote:

Carl Brewer wrote:

current CVS pull (as of this morning)


I just pulled the very latest mp2 CVS down, and am still
seeing this error :



steel1: {167} perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
Useless use of a constant in void context at Makefile.PL line 467.
steel1: {168}

The offending line is :

$string .= Apache::Test::install::nuke_Apache__test_target()

Is this some work in progress or something you need to know about?



Nothing has changed since the 1.99_10 release in the build sw. Do you get a different behavior if you try with 1.99_10? Also are you sure that the line is reported correctly? Try to verify that the reported line is correct:


Index: Makefile.PL
===================================================================
RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
retrieving revision 1.125
diff -u -r1.125 Makefile.PL
--- Makefile.PL 21 Sep 2003 03:05:18 -0000      1.125
+++ Makefile.PL 1 Oct 2003 01:08:05 -0000
@@ -464,6 +464,7 @@

EOF

+#line 467
     $string .= Apache::Test::install::nuke_Apache__test_target()
         if APACHE_TEST_INSTALL();



may be something is wrong with older Apache/BuildConfig.pm
> *** using /usr/local/perl-5.8.1/lib/site_perl/5.8.1/i386-netbsd/Apache/BuildConfig.pm



try moving it elsewhere (don't delete it, so we can debug it if it's indeed the one that causes the problem) and try again.


I moved it, but the same problem occurs.

So the offending line is:


 $string .= Apache::Test::install::nuke_Apache__test_target()
         if APACHE_TEST_INSTALL();

You lost the actual constant that it was complaining about ;) I should have looked closer.

Any change if you replace it with:

if (APACHE_TEST_INSTALL()) {
   $string .= Apache::Test::install::nuke_Apache__test_target();
}

__________________________________________________________________
Stas Bekman            JAm_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


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to