Could not find mcc in your $PATH Using hardcoded paths! You probably will have to edit line 28 to line 30 in Makefile.PL Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lML Writing Makefile for Math::ematica cp ematica.pm blib/lib/Math/ematica.pm AutoSplitting blib/lib/Math/ematica.pm (blib/lib/auto/Math/ematica) /Users/cpanrun/pristine/5.8.7/bin/perl /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/xsubpp -prototypes -typemap /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/typemap -typemap typemap ematica.xs > ematica.xsc && mv ematica.xsc ematica.c gcc -c -I/usr/local/mathematica/AddOns/MathLink/DevelopersKits/Linux/CompilerAdditions -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 -O3 -DVERSION=\"1.201\" -DXS_VERSION=\"1.201\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" ematica.c ematica.xs:27:22: error: mathlink.h: No such file or directory ematica.xs:33: error: parse error before 'env' ematica.xs:33: warning: initialization makes integer from pointer without a cast ematica.xs:33: warning: data definition has no type or storage class ematica.xs:50: error: parse error before 'link' ematica.xs: In function 'read_packet': ematica.xs:52: error: 'mlapi_token' undeclared (first use in this function) ematica.xs:52: error: (Each undeclared identifier is reported only once ematica.xs:52: error: for each function it appears in.) ematica.xs:52: error: parse error before 'token' ematica.xs:55: error: 'token' undeclared (first use in this function) ematica.xs:57: error: 'MLTKREAL' undeclared (first use in this function) ematica.xs:65: error: 'MLTKINT' undeclared (first use in this function) ematica.xs:73: error: 'MLTKSTR' undeclared (first use in this function) ematica.xs:74: error: 'kcharp_ct' undeclared (first use in this function) ematica.xs:74: error: parse error before 'string' ematica.xs:76: error: 'string' undeclared (first use in this function) ematica.xs:82: error: 'MLTKSYM' undeclared (first use in this function) ematica.xs:83: error: parse error before 'string' ematica.xs:91: error: 'MLTKFUNC' undeclared (first use in this function) ematica.xs:92: error: parse error before 'string' ematica.xs:93: error: 'long_st' undeclared (first use in this function) ematica.xs:98: error: 'nargs' undeclared (first use in this function) ematica.xs:104: error: 'j' undeclared (first use in this function) ematica.xs:106: error: 'i' undeclared (first use in this function) ematica.xs: In function 'XS_Math__ematica_new': ematica.xs:137: error: 'MLINK' undeclared (first use in this function) ematica.xs:137: error: parse error before 'link' ematica.xs:147: error: invalid lvalue in assignment ematica.c: In function 'XS_Math__ematica_DESTROY': ematica.c:207: error: 'MLINK' undeclared (first use in this function) ematica.c:207: error: parse error before 'link' ematica.xs:172: warning: the address of 'link', will always evaluate as 'true' ematica.xs: In function 'XS_Math__ematica_END': ematica.xs:180: warning: assignment makes integer from pointer without a cast ematica.c: In function 'XS_Math__ematica_ErrorMessage': ematica.c:255: error: 'MLINK' undeclared (first use in this function) ematica.c:255: error: parse error before 'link' ematica.c:256: error: 'kcharp_ct' undeclared (first use in this function) ematica.c:267: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_EndPacket': ematica.c:282: error: 'MLINK' undeclared (first use in this function) ematica.c:282: error: parse error before 'link' ematica.c:283: error: 'mlapi_result' undeclared (first use in this function) ematica.c:294: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_Flush': ematica.c:309: error: 'MLINK' undeclared (first use in this function) ematica.c:309: error: parse error before 'link' ematica.c:310: error: 'mlapi_result' undeclared (first use in this function) ematica.c:321: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_NewPacket': ematica.c:336: error: 'MLINK' undeclared (first use in this function) ematica.c:336: error: parse error before 'link' ematica.c:337: error: 'mlapi_result' undeclared (first use in this function) ematica.c:348: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_NextPacket': ematica.c:363: error: 'MLINK' undeclared (first use in this function) ematica.c:363: error: parse error before 'link' ematica.c:364: error: 'mlapi_packet' undeclared (first use in this function) ematica.c:375: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_Ready': ematica.c:390: error: 'MLINK' undeclared (first use in this function) ematica.c:390: error: parse error before 'link' ematica.c:391: error: 'mlapi_result' undeclared (first use in this function) ematica.c:402: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_PutSymbol': ematica.c:417: error: 'MLINK' undeclared (first use in this function) ematica.c:417: error: parse error before 'link' ematica.c:418: error: 'kcharp_ct' undeclared (first use in this function) ematica.c:419: error: 'mlapi_result' undeclared (first use in this function) ematica.c:430: error: 'RETVAL' undeclared (first use in this function) ematica.c:430: error: 'string' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_PutString': ematica.c:445: error: 'MLINK' undeclared (first use in this function) ematica.c:445: error: parse error before 'link' ematica.c:446: error: 'kcharp_ct' undeclared (first use in this function) ematica.c:447: error: 'mlapi_result' undeclared (first use in this function) ematica.c:458: error: 'RETVAL' undeclared (first use in this function) ematica.c:458: error: 'string' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_PutInteger': ematica.c:473: error: 'MLINK' undeclared (first use in this function) ematica.c:473: error: parse error before 'link' ematica.c:474: error: 'int_nt' undeclared (first use in this function) ematica.c:475: error: 'mlapi_result' undeclared (first use in this function) ematica.c:486: error: 'RETVAL' undeclared (first use in this function) ematica.c:486: error: 'integer' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_PutDouble': ematica.c:501: error: 'MLINK' undeclared (first use in this function)ematica.xs:27:22: ematica.c:501: error: parse error before 'link'error: ematica.c:502: error: 'double_nt' undeclared (first use in this function) ematica.c:503: error: 'mlapi_result' undeclared (first use in this function) ematica.c:514: error: 'RETVAL' undeclared (first use in this function) ematica.c:514: error: 'real' undeclared (first use in this function) mathlink.h: No such file or directory ematica.xs:33: error: parse error before 'env' ematica.xs:33: warning: initialization makes integer from pointer without a cast ematica.xs:33: warning: data definition has no type or storage class ematica.c: In function 'XS_Math__ematica_PutFunction': ematica.c:529: error: 'MLINK' undeclared (first use in this function) ematica.c:529: error: parse error before 'link' ematica.c:530: error: 'kcharp_ct' undeclared (first use in this function) ematica.xs:50: error: parse error before 'link' ematica.xs: In function 'read_packet': ematica.xs:52: error: 'mlapi_token' undeclared (first use in this function) ematica.xs:52: error: (Each undeclared identifier is reported only once ematica.xs:52: error: for each function it appears in.) ematica.xs:52: error: parse error before 'token' ematica.c:531: error: 'long_st' undeclared (first use in this function) ematica.xs:55: error: 'token' undeclared (first use in this function) ematica.xs:57: error: 'MLTKREAL' undeclared (first use in this function)ematica.c:532: error: 'mlapi_result' undeclared (first use in this function) ematica.xs:65: error: 'MLTKINT' undeclared (first use in this function) ematica.xs:73: error: 'MLTKSTR' undeclared (first use in this function) ematica.xs:74: error: 'kcharp_ct' undeclared (first use in this function) ematica.xs:74: error: parse error before 'string' ematica.xs:76: error: 'string' undeclared (first use in this function) ematica.c:543: error: 'RETVAL' undeclared (first use in this function) ematica.xs:82: error: 'MLTKSYM' undeclared (first use in this function) ematica.c:543: error: 'name' undeclared (first use in this function) ematica.xs:83: error: parse error before 'string' ematica.c:543: error: 'nargs' undeclared (first use in this function) ematica.xs:91: error: 'MLTKFUNC' undeclared (first use in this function) ematica.xs:92: error: parse error before 'string' ematica.xs:93: error: 'long_st' undeclared (first use in this function) ematica.xs:98: error: 'nargs' undeclared (first use in this function) ematica.xs:104: error: 'j' undeclared (first use in this function) ematica.xs:106: error: 'i' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_GetNext': ematica.c:558: error: 'MLINK' undeclared (first use in this function) ematica.c:558: error: parse error before 'link' ematica.c:559: error: 'mlapi_token' undeclared (first use in this function) ematica.c:570: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_GetInteger': ematica.c:585: error: 'MLINK' undeclared (first use in this function) ematica.c:585: error: parse error before 'link' ematica.xs: In function 'XS_Math__ematica_new': ematica.xs:137: error: 'MLINK' undeclared (first use in this function) ematica.xs:137: error: parse error before 'link' ematica.xs:147: error: invalid lvalue in assignment ematica.c: In function 'XS_Math__ematica_DESTROY': ematica.c:207: error: 'MLINK' undeclared (first use in this function) ematica.c:207: error: parse error before 'link' ematica.xs:172: warning: the address of 'link', will always evaluate as 'true' ematica.xs: In function 'XS_Math__ematica_END': ematica.xs:180: warning: assignment makes integer from pointer without a cast ematica.c: In function 'XS_Math__ematica_ErrorMessage': ematica.c:255: error: 'MLINK' undeclared (first use in this function) ematica.c:255: error: parse error before 'link' ematica.c:256: error: 'kcharp_ct' undeclared (first use in this function) ematica.c:267: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_EndPacket': ematica.c:282: error: 'MLINK' undeclared (first use in this function) ematica.c:282: error: parse error before 'link' ematica.c:283: error: 'mlapi_result' undeclared (first use in this function) ematica.c:294: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_Flush': ematica.c:309: error: 'MLINK' undeclared (first use in this function) ematica.c:309: error: parse error before 'link' ematica.c:310: error: 'mlapi_result' undeclared (first use in this function) ematica.c:321: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_GetDouble': ematica.c:613: error: 'MLINK' undeclared (first use in this function) ematica.c:613: error: parse error before 'link' ematica.c: In function 'XS_Math__ematica_NewPacket': ematica.c:336: error: 'MLINK' undeclared (first use in this function) ematica.c:336: error: parse error before 'link' ematica.c:337: error: 'mlapi_result' undeclared (first use in this function) ematica.c:348: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_NextPacket': ematica.c:363: error: 'MLINK' undeclared (first use in this function) ematica.c:363: error: parse error before 'link' ematica.c:364: error: 'mlapi_packet' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_GetString': ematica.c:641: error: 'MLINK' undeclared (first use in this function) ematica.c:641: error: parse error before 'link' ematica.c:642: error: 'kcharp_ct' undeclared (first use in this function) ematica.c:375: error: 'RETVAL' undeclared (first use in this function) ematica.xs:267: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_Ready': ematica.c:390: error: 'MLINK' undeclared (first use in this function) ematica.c:390: error: parse error before 'link' ematica.c:391: error: 'mlapi_result' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_GetByteString': ematica.c:672: error: 'MLINK' undeclared (first use in this function) ematica.c:672: error: parse error before 'link' ematica.xs:287: warning: pointer targets in passing argument 2 of 'Perl_newSVpvn' differ in signedness ematica.c: In function 'XS_Math__ematica_GetSymbol': ematica.c:713: error: 'MLINK' undeclared (first use in this function) ematica.c:713: error: parse error before 'link' ematica.xs:298: error: 'kcharp_ct' undeclared (first use in this function) ematica.xs:300: error: 'symname' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_GetFunction': ematica.c:750: error: 'MLINK' undeclared (first use in this function) ematica.c:750: error: parse error before 'link' ematica.xs:313: error: 'long_st' undeclared (first use in this function) ematica.xs:313: error: parse error before 'nargs' ematica.xs:316: error: 'kcharpp_ct' undeclared (first use in this function) ematica.xs:316: error: 'nargs' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_GetRealList': ematica.c:794: error: 'MLINK' undeclared (first use in this function) ematica.c:794: error: parse error before 'link' ematica.xs:333: error: 'doublep_nt' undeclared (first use in this function) ematica.xs:334: error: 'long_st' undeclared (first use in this function) ematica.xs:337: error: 'array' undeclared (first use in this function) ematica.xs:337: error: 'len' undeclared (first use in this function) ematica.xs:341: error: 'i' undeclared (first use in this function) ematica.c:402: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_PutSymbol': ematica.c:417: error: 'MLINK' undeclared (first use in this function) ematica.c:417: error: parse error before 'link' ematica.c:418: error: 'kcharp_ct' undeclared (first use in this function) ematica.c:419: error: 'mlapi_result' undeclared (first use in this function) ematica.c:430: error: 'RETVAL' undeclared (first use in this function) ematica.c:430: error: 'string' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_PutString': ematica.c:445: error: 'MLINK' undeclared (first use in this function) ematica.c:445: error: parse error before 'link' ematica.c:446: error: 'kcharp_ct' undeclared (first use in this function) ematica.c:447: error: 'mlapi_result' undeclared (first use in this function) ematica.c:458: error: 'RETVAL' undeclared (first use in this function) ematica.c:458: error: 'string' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_PutInteger': ematica.c:473: error: 'MLINK' undeclared (first use in this function) ematica.c:473: error: parse error before 'link' ematica.c:474: error: 'int_nt' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_PutToken': ematica.c:855: error: 'MLINK' undeclared (first use in this function) ematica.c:855: error: parse error before 'link' ematica.c:857: error: 'mlapi_result' undeclared (first use in this function) ematica.c:857: error: parse error before 'RETVAL' ematica.xs:363: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_read_packet': ematica.c:903: error: 'MLINK' undeclared (first use in this function) ematica.c:903: error: parse error before 'link' ematica.c:475: error: 'mlapi_result' undeclared (first use in this function) ematica.c:486: error: 'RETVAL' undeclared (first use in this function) ematica.c:486: error: 'integer' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_PutDouble': ematica.c:501: error: 'MLINK' undeclared (first use in this function) ematica.c:501: error: parse error before 'link' ematica.c:502: error: 'double_nt' undeclared (first use in this function) ematica.c:503: error: 'mlapi_result' undeclared (first use in this function) ematica.c:514: error: 'RETVAL' undeclared (first use in this function) ematica.c:514: error: 'real' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_PutFunction': ematica.c:529: error: 'MLINK' undeclared (first use in this function) ematica.c:529: error: parse error before 'link' ematica.c:530: error: 'kcharp_ct' undeclared (first use in this function) ematica.c:531: error: 'long_st' undeclared (first use in this function) ematica.c:532: error: 'mlapi_result' undeclared (first use in this function) ematica.c:543: error: 'RETVAL' undeclared (first use in this function) ematica.c:543: error: 'name' undeclared (first use in this function) ematica.c:543: error: 'nargs' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_GetNext': ematica.c:558: error: 'MLINK' undeclared (first use in this function) ematica.c:558: error: parse error before 'link' ematica.c:559: error: 'mlapi_token' undeclared (first use in this function) ematica.c:570: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_GetInteger': ematica.c:585: error: 'MLINK' undeclared (first use in this function) ematica.c:585: error: parse error before 'link' ematica.c: In function 'XS_Math__ematica_GetDouble': ematica.c:613: error: 'MLINK' undeclared (first use in this function) ematica.c:613: error: parse error before 'link' ematica.c: In function 'XS_Math__ematica_GetString': ematica.c:641: error: 'MLINK' undeclared (first use in this function) ematica.c:641: error: parse error before 'link' ematica.c:642: error: 'kcharp_ct' undeclared (first use in this function) ematica.xs:267: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_GetByteString': ematica.c:672: error: 'MLINK' undeclared (first use in this function) ematica.c:672: error: parse error before 'link' ematica.xs:287: warning: pointer targets in passing argument 2 of 'Perl_newSVpvn' differ in signedness ematica.c: In function 'XS_Math__ematica_GetSymbol': ematica.c:713: error: 'MLINK' undeclared (first use in this function) ematica.c:713: error: parse error before 'link' ematica.xs:298: error: 'kcharp_ct' undeclared (first use in this function) ematica.xs:300: error: 'symname' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_GetFunction': ematica.c:750: error: 'MLINK' undeclared (first use in this function) ematica.c:750: error: parse error before 'link' ematica.xs:313: error: 'long_st' undeclared (first use in this function) ematica.xs:313: error: parse error before 'nargs' ematica.xs:316: error: 'kcharpp_ct' undeclared (first use in this function) ematica.xs:316: error: 'nargs' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_GetRealList': ematica.c:794: error: 'MLINK' undeclared (first use in this function) ematica.c:794: error: parse error before 'link' ematica.xs:333: error: 'doublep_nt' undeclared (first use in this function) ematica.xs:334: error: 'long_st' undeclared (first use in this function) ematica.xs:337: error: 'array' undeclared (first use in this function) ematica.xs:337: error: 'len' undeclared (first use in this function) ematica.xs:341: error: 'i' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_PutToken': ematica.c:855: error: 'MLINK' undeclared (first use in this function) ematica.c:855: error: parse error before 'link' ematica.c:857: error: 'mlapi_result' undeclared (first use in this function) ematica.c:857: error: parse error before 'RETVAL' ematica.xs:363: error: 'RETVAL' undeclared (first use in this function) ematica.c: In function 'XS_Math__ematica_read_packet': ematica.c:903: error: 'MLINK' undeclared (first use in this function) ematica.c:903: error: parse error before 'link' lipo: can't open input file: /var/tmp//ccK5E4bN.out (No such file or directory) make: *** [ematica.o] Error 1