Could not find mcc in your $PATH Note (probably harmless): No library found for -lML 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 Writing Makefile for Math::ematica cp ematica.pm blib/lib/Math/ematica.pm AutoSplitting blib/lib/Math/ematica.pm (blib/lib/auto/Math/ematica) /home/cpanrun/ia64/build/5.6.1/bin/perl -I/home/cpanrun/ia64/build/5.6.1/lib/5.6.1/IA64.ARCHREV_0-thread-multi -I/home/cpanrun/ia64/build/5.6.1/lib/5.6.1 /home/cpanrun/ia64/build/5.6.1/lib/5.6.1/ExtUtils/xsubpp -prototypes -typemap /home/cpanrun/ia64/build/5.6.1/lib/5.6.1/ExtUtils/typemap -typemap typemap ematica.xs > ematica.xsc && mv ematica.xsc ematica.c gcc -c -I/usr/local/mathematica/AddOns/MathLink/DevelopersKits/Linux/CompilerAdditions -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -L/lib/hpux32 -DUINT32_MAX_BROKEN -fPIC -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.201\" -DXS_VERSION=\"1.201\" -fPIC -I/home/cpanrun/ia64/build/5.6.1/lib/5.6.1/IA64.ARCHREV_0-thread-multi/CORE ematica.c ematica.xs:27:22: 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:219: error: `MLINK' undeclared (first use in this function) ematica.c:219: 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:275: error: `MLINK' undeclared (first use in this function) ematica.c:275: error: parse error before "link" ematica.c:276: error: `kcharp_ct' undeclared (first use in this function) ematica.c:287: error: `RETVAL' undeclared (first use in this function) ematica.c: In function `XS_Math__ematica_EndPacket': ematica.c:306: error: `MLINK' undeclared (first use in this function) ematica.c:306: error: parse error before "link" ematica.c:307: error: `mlapi_result' undeclared (first use in this function) ematica.c:318: error: `RETVAL' undeclared (first use in this function) ematica.c: In function `XS_Math__ematica_Flush': ematica.c:337: error: `MLINK' undeclared (first use in this function) ematica.c:337: error: parse error before "link" ematica.c:338: error: `mlapi_result' undeclared (first use in this function) ematica.c:349: error: `RETVAL' undeclared (first use in this function) ematica.c: In function `XS_Math__ematica_NewPacket': ematica.c:368: error: `MLINK' undeclared (first use in this function) ematica.c:368: error: parse error before "link" ematica.c:369: error: `mlapi_result' undeclared (first use in this function) ematica.c:380: error: `RETVAL' undeclared (first use in this function) ematica.c: In function `XS_Math__ematica_NextPacket': ematica.c:399: error: `MLINK' undeclared (first use in this function) ematica.c:399: error: parse error before "link" ematica.c:400: error: `mlapi_packet' undeclared (first use in this function) ematica.c:411: error: `RETVAL' undeclared (first use in this function) ematica.c: In function `XS_Math__ematica_Ready': ematica.c:430: error: `MLINK' undeclared (first use in this function) ematica.c:430: error: parse error before "link" ematica.c:431: error: `mlapi_result' undeclared (first use in this function) ematica.c:442: error: `RETVAL' undeclared (first use in this function) ematica.c: In function `XS_Math__ematica_PutSymbol': ematica.c:461: error: `MLINK' undeclared (first use in this function) ematica.c:461: error: parse error before "link" ematica.c:462: error: `kcharp_ct' undeclared (first use in this function) ematica.c:463: error: `mlapi_result' undeclared (first use in this function) ematica.c:474: error: `RETVAL' undeclared (first use in this function) ematica.c:474: error: `string' undeclared (first use in this function) ematica.c: In function `XS_Math__ematica_PutString': ematica.c:493: error: `MLINK' undeclared (first use in this function) ematica.c:493: error: parse error before "link" ematica.c:494: error: `kcharp_ct' undeclared (first use in this function) ematica.c:495: error: `mlapi_result' undeclared (first use in this function) ematica.c:506: error: `RETVAL' undeclared (first use in this function) ematica.c:506: error: `string' undeclared (first use in this function) ematica.c: In function `XS_Math__ematica_PutInteger': ematica.c:525: error: `MLINK' undeclared (first use in this function) ematica.c:525: error: parse error before "link" ematica.c:526: error: `int_nt' undeclared (first use in this function) ematica.c:527: error: `mlapi_result' undeclared (first use in this function) ematica.c:538: error: `RETVAL' undeclared (first use in this function) ematica.c:538: error: `integer' undeclared (first use in this function) ematica.c: In function `XS_Math__ematica_PutDouble': ematica.c:557: error: `MLINK' undeclared (first use in this function) ematica.c:557: error: parse error before "link" ematica.c:558: error: `double_nt' undeclared (first use in this function) ematica.c:559: error: `mlapi_result' undeclared (first use in this function) ematica.c:570: error: `RETVAL' undeclared (first use in this function) ematica.c:570: error: `real' undeclared (first use in this function) ematica.c: In function `XS_Math__ematica_PutFunction': ematica.c:589: error: `MLINK' undeclared (first use in this function) ematica.c:589: error: parse error before "link" ematica.c:590: error: `kcharp_ct' undeclared (first use in this function) ematica.c:591: error: `long_st' undeclared (first use in this function) ematica.c:592: error: `mlapi_result' undeclared (first use in this function) ematica.c:603: error: `RETVAL' undeclared (first use in this function) ematica.c:603: error: `name' undeclared (first use in this function) ematica.c:603: error: `nargs' undeclared (first use in this function) ematica.c: In function `XS_Math__ematica_GetNext': ematica.c:622: error: `MLINK' undeclared (first use in this function) ematica.c:622: error: parse error before "link" ematica.c:623: error: `mlapi_token' undeclared (first use in this function) ematica.c:634: error: `RETVAL' undeclared (first use in this function) ematica.c: In function `XS_Math__ematica_GetInteger': ematica.c:653: error: `MLINK' undeclared (first use in this function) ematica.c:653: error: parse error before "link" ematica.c: In function `XS_Math__ematica_GetDouble': ematica.c:685: error: `MLINK' undeclared (first use in this function) ematica.c:685: error: parse error before "link" ematica.c: In function `XS_Math__ematica_GetString': ematica.c:717: error: `MLINK' undeclared (first use in this function) ematica.c:717: error: parse error before "link" ematica.c:718: 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:752: error: `MLINK' undeclared (first use in this function) ematica.c:752: error: parse error before "link" ematica.c: In function `XS_Math__ematica_GetSymbol': ematica.c:797: error: `MLINK' undeclared (first use in this function) ematica.c:797: 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:838: error: `MLINK' undeclared (first use in this function) ematica.c:838: 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:886: error: `MLINK' undeclared (first use in this function) ematica.c:886: 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:955: error: `MLINK' undeclared (first use in this function) ematica.c:955: error: parse error before "link" ematica.c:957: error: `mlapi_result' undeclared (first use in this function) ematica.c:957: 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:1007: error: `MLINK' undeclared (first use in this function) ematica.c:1007: error: parse error before "link" make: *** [ematica.o] Error 1