Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lcrfpp Writing Makefile for Algorithm::CRF cp lib/Algorithm/CRF.pm blib/lib/Algorithm/CRF.pm /Users/cpanrun/build/5.8.8/bin/perl /Users/cpanrun/build/5.8.8/lib/5.8.8/ExtUtils/xsubpp -C++ -typemap /Users/cpanrun/build/5.8.8/lib/5.8.8/ExtUtils/typemap CRF.xs > CRF.xsc && mv CRF.xsc CRF.c c++ -c -I. -Wall -Wno-deprecated -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -pipe -Wdeclaration-after-statement -O3 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" "-I/Users/cpanrun/build/5.8.8/lib/5.8.8/darwin-thread-multi-2level/CORE" CRF.c cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++ In file included from CRF.xs:1: common.h:12:19: error: cstdlib: No such file or directory common.h:13:18: error: cstdio: No such file or directory common.h:14:19: error: cstring: No such file or directory common.h:15:18: error: string: No such file or directory common.h:16:21: error: strstream: No such file or directory common.h:17:20: error: iostream: No such file or directory common.h:18:21: error: algorithm: No such file or directory common.h:19:17: error: cmath: No such file or directory In file included from CRF.xs:1: common.h:12:19: error: cstdlib: No such file or directory common.h:13:18: error: cstdio: No such file or directory common.h:14:19: error: cstring: No such file or directory common.h:15:18: error: string: No such file or directory common.h:16:21: error: strstream: No such file or directory common.h:17:20: error: iostream: No such file or directory common.h:18:21: error: algorithm: No such file or directory common.h:19:17: error: cmath: No such file or directory common.h:42: error: expected initializer before 'tokenizeCSV' common.h:80: error: expected initializer before 'tokenize' common.h:100: error: expected initializer before 'tokenize2' common.h: In function 'void CRFPP::dtoa(double, char*)': common.h:121: error: 'sprintf' is not a member of 'std' common.h: In function 'void CRFPP::itoa(T, char*)': common.h:146: error: 'reverse' is not a member of 'std' common.h: In function 'void CRFPP::uitoa(T, char*)': common.h:165: error: 'reverse' is not a member of 'std' common.h: At global scope: common.h:188: error: expected class-name before '{' token common.h:205: error: expected unqualified-id before '&' token common.h:205: error: expected ',' or '...' before '&' token common.h:205: error: ISO C++ forbids declaration of 'parameter' with no type common.h:205: error: 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(int)' and 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(int)' cannot be overloaded common.h:42: error: expected initializer before 'tokenizeCSV' common.h:80: error: expected initializer before 'tokenize' common.h:100: error: expected initializer before 'tokenize2' common.h: In function 'void CRFPP::dtoa(double, char*)': common.h:121: error: 'sprintf' is not a member of 'std' common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(double)': common.h:190: error: 'append' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(short int)': common.h:191: error: 'append' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(int)': common.h:192: error: 'append' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(long int)': common.h:193: error: 'append' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(short unsigned int)': common.h:194: error: 'append' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(unsigned int)': common.h:195: error: 'append' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(long unsigned int)': common.h:196: error: 'append' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(char)': common.h:198: error: 'push_back' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(const char*)': common.h:202: error: 'append' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(int)': common.h:206: error: '_n' was not declared in this scope common.h:206: error: 'append' was not declared in this scope common.h: At global scope: common.h:218: error: 'std::ostream' has not been declared common.h: In destructor 'virtual CRFPP::die::~die()': common.h:215: error: 'cerr' is not a member of 'std' common.h:215: error: 'endl' is not a member of 'std' common.h:216: error: 'exit' was not declared in this scope common.h: At global scope: common.h:225: error: 'std::ostream' has not been declared common.h: In destructor 'virtual CRFPP::warn::~warn()': common.h:224: error: 'cerr' is not a member of 'std' common.h:224: error: 'endl' is not a member of 'std' common.h: At global scope: common.h:229: error: 'ostrstream' in namespace 'std' does not name a type common.h: In member function 'const char* CRFPP::whatlog::str()': common.h:231: error: 'stream_' was not declared in this scope common.h:231: error: 'ends' is not a member of 'std' common.h: At global scope: common.h:242: error: 'std::ostream' has not been declared common.h: In constructor 'CRFPP::wlog::wlog(CRFPP::whatlog*)': common.h:240: error: 'struct CRFPP::whatlog' has no member named 'stream_' encoder.h: At global scope: encoder.h:19: error: 'size_t' has not been declared encoder.h:19: error: 'size_t' has not been declared common.h: In function 'void CRFPP::itoa(T, char*)': common.h:146: error: 'reverse' is not a member of 'std' common.h: In function 'void CRFPP::uitoa(T, char*)': common.h:165: error: 'reverse' is not a member of 'std' common.h: At global scope: common.h:188: error: expected class-name before '{' token common.h:205: error: expected unqualified-id before '&' token common.h:205: error: expected ',' or '...' before '&' token common.h:205: error: ISO C++ forbids declaration of 'parameter' with no type common.h:205: error: 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(int)' and 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(int)' cannot be overloaded common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(double)': common.h:190: error: 'append' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(short int)': common.h:191: error: 'append' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(int)': common.h:192: error: 'append' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(long int)': common.h:193: error: 'append' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(short unsigned int)': common.h:194: error: 'append' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(unsigned int)': common.h:195: error: 'append' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(long unsigned int)': common.h:196: error: 'append' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(char)': common.h:198: error: 'push_back' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(const char*)': common.h:202: error: 'append' was not declared in this scope common.h: In member function 'CRFPP::string_buffer& CRFPP::string_buffer::operator<<(int)': common.h:206: error: '_n' was not declared in this scope common.h:206: error: 'append' was not declared in this scope common.h: At global scope: common.h:218: error: 'std::ostream' has not been declared common.h: In destructor 'virtual CRFPP::die::~die()': common.h:215: error: 'cerr' is not a member of 'std' common.h:215: error: 'endl' is not a member of 'std' common.h:216: error: 'exit' was not declared in this scope common.h: At global scope: common.h:225: error: 'std::ostream' has not been declared common.h: In destructor 'virtual CRFPP::warn::~warn()': common.h:224: error: 'cerr' is not a member of 'std' common.h:224: error: 'endl' is not a member of 'std' common.h: At global scope: common.h:229: error: 'ostrstream' in namespace 'std' does not name a type common.h: In member function 'const char* CRFPP::whatlog::str()': common.h:231: error: 'stream_' was not declared in this scope common.h:231: error: 'ends' is not a member of 'std' common.h: At global scope: common.h:242: error: 'std::ostream' has not been declared common.h: In constructor 'CRFPP::wlog::wlog(CRFPP::whatlog*)': common.h:240: error: 'struct CRFPP::whatlog' has no member named 'stream_' encoder.h: At global scope: encoder.h:19: error: 'size_t' has not been declared encoder.h:19: error: 'size_t' has not been declared CRF.xs: In function 'void XS_Algorithm__CRF_crfpp_learn(PerlInterpreter*, CV*)': CRF.xs:37: warning: too many arguments for format CRF.xs: In function 'void XS_Algorithm__CRF_crfpp_learn(PerlInterpreter*, CV*)': CRF.xs:37: warning: too many arguments for format lipo: can't open input file: /var/tmp//ccyW8h3U.out (No such file or directory) make: *** [CRF.o] Error 1