Subject: | Won’t compile on OS X 10.5.7 |
Date: | Tue, 16 Jun 2009 06:59:20 +0200 |
To: | bug-Devel-Declare [...] rt.cpan.org |
From: | Tomáš Znamenáček <tomas.znamenacek [...] gmail.com> |
Hello,
the Devel::Declare module does not compile on my Mac:
zoul@naima:Devel-Declare-0.005005$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Devel::Declare
zoul@naima:Devel-Declare-0.005005$ make
cp lib/Devel/Declare/Context/Simple.pm blib/lib/Devel/Declare/Context/
Simple.pm
cp lib/Devel/Declare.pm blib/lib/Devel/Declare.pm
cp lib/Devel/Declare/MethodInstaller/Simple.pm blib/lib/Devel/Declare/
MethodInstaller/Simple.pm
/usr/bin/perl "-Iinc" /Library/Perl/Updates/5.8.8/ExtUtils/xsubpp -
typemap /System/Library/Perl/5.8.8/ExtUtils/typemap Declare.xs >
Declare.xsc && mv Declare.xsc Declare.c
cc -c -I/Library/Perl/5.8.8/darwin-thread-multi-2level/B/Hooks/OP/
Check/Install -arch ppc -arch i386 -g -pipe -fno-common -DPERL_DARWIN -
no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement -I/
usr/local/include -O3 -DVERSION=\"0.005005\" -DXS_VERSION=
\"0.005005\" "-I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/
CORE" Declare.c
In file included from Declare.xs:6:
stolen_chunk_of_toke.c: In function ‘S_force_next’:
stolen_chunk_of_toke.c:853: error: ‘dVAR’ undeclared (first use in
this function)
stolen_chunk_of_toke.c:853: error: (Each undeclared identifier is
reported only once
stolen_chunk_of_toke.c:853: error: for each function it appears in.)
In file included from Declare.xs:6:
stolen_chunk_of_toke.c: In function ‘S_force_next’:
stolen_chunk_of_toke.c:853: error: ‘dVAR’ undeclared (first use in
this function)
stolen_chunk_of_toke.c:853: error: (Each undeclared identifier is
reported only once
stolen_chunk_of_toke.c:853: error: for each function it appears in.)
lipo: can't open input file: /var/folders/G5/G5VuwVv8FLC-EuIgUCr35k++
+TM/-Tmp-//ccNrAIRR.out (No such file or directory)
make: *** [Declare.o] Error 1
perl -v:
This is perl, v5.8.8 built for darwin-thread-multi-2level
(with 4 registered patches, see perl -V for more detail)
uname -a:
Darwin naima.local 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31
22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386
T.