*** setup configure Configuring HsPerl5-0.0.3... Dependency base-any: using base-3.0.2.0 Using compiler: ghc-6.8.3 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/HsPerl5-0.0.3/ghc-6.8.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/HsPerl5-0.0.3 Documentation installed in: /usr/local/tmp/archive/install/share/doc/HsPerl5-0.0.3 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using ghc version 6.8.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.8.3 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.3.0 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.66-ghc found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library HsPerl5-0.0.3... Building HsPerl5-0.0.3... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name HsPerl5-0.0.3 --make -hide-all-packages -i -idist/build/autogen -idist/build -isrc -Idist/build -#include "p5embed.h" -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -O -XForeignFunctionInterface -XTypeSynonymInstances -XScopedTypeVariables -XFlexibleInstances -XUndecidableInstances -XOverlappingInstances -XIncoherentInstances Language.Perl5 [1 of 1] Compiling Language.Perl5 ( src/Language/Perl5.hs, dist/build/Language/Perl5.o ) Building C Sources... Creating dist/build (and its parents) /usr/local/bin/ghc -package base-3.0.2.0 -optc-O2 -odir dist/build -c p5embed.c p5embed.c:4:21: error: p5embed.h: No such file or directory p5embed.c:5:18: error: XSUB.h: No such file or directory p5embed.c:6:21: error: perlxsi.c: No such file or directory p5embed.c:33:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token p5embed.c:36:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token p5embed.c:42:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token p5embed.c:48:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token p5embed.c:54:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token p5embed.c:75:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token p5embed.c:115:0: error: expected ')' before '*' token p5embed.c:122:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token p5embed.c:132:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token p5embed.c:161:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token p5embed.c:167:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token p5embed.c:174:0: error: expected ')' before '*' token p5embed.c:180:0: error: expected ')' before '*' token p5embed.c:186:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'perl5_SvTRUE' p5embed.c:193:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token p5embed.c:224:0: warning: return type defaults to 'int' p5embed.c: In function 'XS': p5embed.c:225:0: error: 'HsStablePtr' undeclared (first use in this function) p5embed.c:225:0: error: (Each undeclared identifier is reported only once p5embed.c:225:0: error: for each function it appears in.) p5embed.c:225:0: error: 'sub' undeclared (first use in this function) p5embed.c:226:0: error: 'SV' undeclared (first use in this function) p5embed.c:226:0: error: 'stack' undeclared (first use in this function) p5embed.c:227:0: error: 'ret' undeclared (first use in this function) p5embed.c:228:0: error: 'cur' undeclared (first use in this function) p5embed.c:229:0: error: 'sv' undeclared (first use in this function) p5embed.c:232:0: error: 'IV' undeclared (first use in this function) p5embed.c:232:0: error: expected ';' before 'tmp' p5embed.c:234:0: error: 'dXSARGS' undeclared (first use in this function) p5embed.c:236:0: error: 'items' undeclared (first use in this function) p5embed.c:240:0: warning: implicit declaration of function 'ST' p5embed.c:242:0: error: 'tmp' undeclared (first use in this function) p5embed.c:242:0: warning: implicit declaration of function 'SvIV' p5embed.c:242:0: error: expected expression before ')' token p5embed.c:243:0: error: expected expression before ')' token p5embed.c:245:0: warning: implicit declaration of function 'New' p5embed.c:245:0: error: expected expression before ')' token p5embed.c:250:0: error: 'NULL' undeclared (first use in this function) p5embed.c:251:0: warning: implicit declaration of function 'Safefree' p5embed.c:253:0: error: 'SPAGAIN' undeclared (first use in this function) p5embed.c:255:0: warning: implicit declaration of function 'hsPerl5Apply' p5embed.c:255:0: error: 'GIMME_V' undeclared (first use in this function) p5embed.c:257:0: warning: implicit declaration of function 'XSRETURN' p5embed.c:261:0: warning: implicit declaration of function 'EXTEND' p5embed.c:261:0: error: 'SP' undeclared (first use in this function) p5embed.c: At top level: p5embed.c:269:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token p5embed.c:338:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token p5embed.c:345:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token