David Wheeler wrote:
On Wednesday, July 9, 2003, at 09:14 PM, Stas Bekman wrote:
David, also please check the latest Apache::Peek on CPAN, I have
started abstracting this functionality especially for complex builds
which has to support both mod_perl versions. I haven't finished yet,
but since pretty much all Apache:: module authors will need this
code, rather than duplicating it we better have a special module
(which can be at least bundled to start with).
Just tried to install it, and `make test` failed. Here's the contents
of t/logs/error_log:
/Users/david/.cpanplus/5.8.0/build/Apache-Peek-1.01/blib/lib
/Users/david/.cpanplus/5.8.0/build/Apache-Peek-1.01/blib/arch
/usr/local/bricolage/lib
/Users/david/.cpanplus/5.8.0/build/Apache-Peek-1.01/t/response
/Users/david/.cpanplus/5.8.0/build/Apache-Peek-1.01/t
/usr/local/lib/perl5/5.8.0/darwin
/usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/darwin
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl
.
/Users/david/.cpanplus/5.8.0/build/Apache-Peek-1.01/t/
/Users/david/.cpanplus/5.8.0/build/Apache-Peek-1.01/t/lib/perl at
/Users/david/.cpanpl
us/5.8.0/build/Apache-Peek-1.01/t/response/TestApachePeek/basic.pm line
23.
dyld: /usr/local/apache/bin/httpd multiple definitions of symbol _DeadCode
/usr/local/lib/perl5/5.8.0/darwin/auto/Devel/Peek/Peek.bundle
definition of _DeadCode
/Users/david/.cpanplus/5.8.0/build/Apache-Peek-1.01/blib/arch/auto/
Apache/Peek/Peek.bu
ndle definition of _DeadCode
Wholy OS X, why would it fail if it resides in a diffent namespace :(
can you try nuking this code:
SV *
DeadCode()
CODE:
RETVAL = DeadCode(aTHX);
OUTPUT:
RETVAL
from Peek.xs.mp1.perl5.8 and then rerun 'perl Makefile.PL'.
__________________________________________________________________
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