Nicholas Clark wrote: > On Sat, May 15, 2004 at 04:42:55AM -0000, scott @ slowass. net wrote: > > Thanks for this report. > > >>$ perl -D8 scalarrefs.pl >>Recompile perl with -DDEBUGGING to use -D switch (did you mean -d ?) > > >>I don't believe that the one local patch is responsible. > > > Nor do I. > > >> config_args='-de -Dusedevel -DDEBUGGING' > > >> cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/pkg/include -I/usr/local/include', > > > > That diagnostic message from perl is bad, in that it's unclear about where > that -DDEBUGGING is needed, and hence open to misinterpretation. What it meant > was that one should recompile with -DDEBUGGING in the flags to the C compiler, > not to Configure. What you need to do is either edit the config.sh in your > existing build tree to add -DDEBUGGING to both the ccflags and cppflags > lines (then run ./Configure -S then re-run make). Or blow the whole lot away > (or at least delete config.sh and Policy.sh) and re-configure with > -Accflags=-DDEBUGGING and remake. > Or alternatively re-configure with -Doptimize=-g which will also turn on > -DDEBUGGING in the C compiler flags. > > I'm not sure of a good rewording for that message. Delegate it to the man pages. Copy that above explanation to some pod file that perl ships with (perlbuild.pod?) and reword the error to be: $ perl -D8 scalarrefs.pl Recompile perl with -DDEBUGGING to use -D switch (see the perlbuild manpage for details) (did you mean -d ?) or even point to a specific section in that pod. -- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.comThread Previous | Thread Next