Subject: | Looks similar to the one reported in 2004? |
Date: | Sun, 28 Oct 2007 14:45:57 -0700 |
To: | bug-Inline-CPR [...] rt.cpan.org |
From: | Gary Kuipers <garykuipers [...] casinfo.biz> |
Hi There:
I was trying out different approachces to blending C and perl. Inline::C
works (but not for what I am trying to do) and perlembel explodes
brilliantly on my Linux box. SO I thought Inline::CPR!!
I downloaded the 0.12 vesion as a gzip from cpan. Here is what happened:
perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for cpr
Writing Makefile for Inline::CPR
[root@FC4-Casinfo Inline-CPR-0.12]# make
cp CPR.pod blib/lib/Inline/CPR.pod
cp CPR.pm blib/lib/Inline/CPR.pm
make[1]: Entering directory `/CASINFO/packages/Inline-CPR-0.12/c'
/usr/bin/perl -I/usr/lib/perl5/5.8.6/i386-linux-thread-multi
-I/usr/lib/perl5/5.8.6 cpr.plc /usr/bin > tmp.c && mv tmp.c cpr.c
gcc -c -fPIC -I/usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE cpr.c
cpr.c: In function âmainâ:
cpr.c:12: warning: incompatible implicit declaration of built-in
function âprintfâ
cpr.c:12: error: missing terminating " character
cpr.c:13: error: âTheâ undeclared (first use in this function)
cpr.c:13: error: (Each undeclared identifier is reported only once
cpr.c:13: error: for each function it appears in.)
cpr.c:13: error: syntax error before âsystemâ
cpr.c:13:17: warning: character constant too long for its type
cpr.c:14: error: missing terminating " character
make[1]: *** [cpr.o] Error 1
make[1]: Leaving directory `/CASINFO/packages/Inline-CPR-0.12/c'
make: *** [subdirs] Error 2
[root@FC4-Casinfo Inline-CPR-0.12]#
Any ideas?
Regards,
Gary