*** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=http://hackage.haskell.org/package/Pugs-6.2.13.9 --verbose Can't open perl script "Configure.PL": No such file or directory Warning: defaultUserHooks in Setup script is deprecated. Configuring Pugs-6.2.13.9... Flags chosen: perl5=True Dependency HsParrot >=0.0.2: using HsParrot-0.0.2 Dependency HsSyck >=0.44: using HsSyck-0.45 Dependency MetaObject >=0.0.4: using MetaObject-0.0.6 Dependency array -any: using array-0.2.0.0 Dependency base -any: using base-4.1.0.0 Dependency binary -any: using binary-0.5.0.1 Dependency bytestring -any: using bytestring-0.9.1.4 Dependency containers -any: using containers-0.2.0.1 Dependency directory -any: using directory-1.0.0.3 Dependency filepath -any: using filepath-1.1.0.2 Dependency haskeline >=0.2.1: using haskeline-0.6.1.6 Dependency haskell98 -any: using haskell98-1.0.1.0 Dependency mtl -any: using mtl-1.1.0.2 Dependency network -any: using network-2.2.1.4 Dependency parsec <3.0.0: using parsec-2.1.0.1 Dependency pretty -any: using pretty-1.0.1.0 Dependency process -any: using process-1.0.1.1 Dependency pugs-DrIFT >=2.2.3.0: using pugs-DrIFT-2.2.3.1 Dependency pugs-compat >=0.0.5: using pugs-compat-0.0.6 Dependency random -any: using random-1.0.0.1 Dependency stm -any: using stm-2.1.1.2 Dependency stringtable-atom >=0.0.4: using stringtable-atom-0.0.6 Dependency time -any: using time-1.1.4 Dependency utf8-string -any: using utf8-string-0.3.5 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package pugs-DrIFT-2.2.3.0 requires HsSyck-0.44 package HsParrot-0.0.2 requires HsSyck-0.44 package pugs-DrIFT-2.2.3.1 requires HsSyck-0.45 package Pugs-6.2.13.9 requires HsSyck-0.45 package pugs-compat-0.0.6 requires network-2.2.1 package Pugs-6.2.13.9 requires network-2.2.1.4 package Pugs-6.2.13.9 requires parsec-2.1.0.1 package network-2.2.1.4 requires parsec-3.0.0 package network-2.2.1 requires parsec-3.0.0 package HsParrot-0.0.2 requires pugs-DrIFT-2.2.3.0 package Pugs-6.2.13.9 requires pugs-DrIFT-2.2.3.1 package pugs-compat-0.0.6 requires time-1.1.2.3 package Pugs-6.2.13.9 requires time-1.1.4 package pugs-compat-0.0.6 requires utf8-string-0.3.4 package pugs-DrIFT-2.2.3.0 requires utf8-string-0.3.4 package pugs-DrIFT-2.2.3.1 requires utf8-string-0.3.5 package haskeline-0.6.1.6 requires utf8-string-0.3.5 package Pugs-6.2.13.9 requires utf8-string-0.3.5 Using Cabal-1.6.0.1 compiled by ghc-6.10 Using compiler: ghc-6.10.2 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/Pugs-6.2.13.9/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/Pugs-6.2.13.9 Documentation installed in: /usr/local/tmp/archive/install/share/doc/Pugs-6.2.13.9 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.16.0 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 gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.4.2 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.67 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 setup/setup build --verbose Can't open perl script "Configure.PL": No such file or directory Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for Pugs-6.2.13.9... Building Pugs-6.2.13.9... Building executable: pugs... Creating dist/build/pugs (and its parents) Creating dist/build/pugs/pugs-tmp (and its parents) Building C Sources. Creating dist/build/pugs/pugs-tmp (and its parents) /usr/local/bin/ghc -package HsParrot-0.0.2 -package HsSyck-0.45 -package MetaObject-0.0.6 -package array-0.2.0.0 -package base-4.1.0.0 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package filepath-1.1.0.2 -package haskeline-0.6.1.6 -package haskell98-1.0.1.0 -package mtl-1.1.0.2 -package network-2.2.1.4 -package parsec-2.1.0.1 -package pretty-1.0.1.0 -package process-1.0.1.1 -package pugs-DrIFT-2.2.3.1 -package pugs-compat-0.0.6 -package random-1.0.0.1 -package stm-2.1.1.2 -package stringtable-atom-0.0.6 -package time-1.1.4 -package utf8-string-0.3.5 -optc-O2 -odir dist/build/pugs/pugs-tmp -c cbits/Prelude_pm.c Creating dist/build/pugs/pugs-tmp (and its parents) /usr/local/bin/ghc -package HsParrot-0.0.2 -package HsSyck-0.45 -package MetaObject-0.0.6 -package array-0.2.0.0 -package base-4.1.0.0 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package filepath-1.1.0.2 -package haskeline-0.6.1.6 -package haskell98-1.0.1.0 -package mtl-1.1.0.2 -package network-2.2.1.4 -package parsec-2.1.0.1 -package pretty-1.0.1.0 -package process-1.0.1.1 -package pugs-DrIFT-2.2.3.1 -package pugs-compat-0.0.6 -package random-1.0.0.1 -package stm-2.1.1.2 -package stringtable-atom-0.0.6 -package time-1.1.4 -package utf8-string-0.3.5 -optc-O2 -odir dist/build/pugs/pugs-tmp -c cbits/Test_pm.c Creating dist/build/pugs/pugs-tmp (and its parents) /usr/local/bin/ghc -package HsParrot-0.0.2 -package HsSyck-0.45 -package MetaObject-0.0.6 -package array-0.2.0.0 -package base-4.1.0.0 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package filepath-1.1.0.2 -package haskeline-0.6.1.6 -package haskell98-1.0.1.0 -package mtl-1.1.0.2 -package network-2.2.1.4 -package parsec-2.1.0.1 -package pretty-1.0.1.0 -package process-1.0.1.1 -package pugs-DrIFT-2.2.3.1 -package pugs-compat-0.0.6 -package random-1.0.0.1 -package stm-2.1.1.2 -package stringtable-atom-0.0.6 -package time-1.1.4 -package utf8-string-0.3.5 -optc-O2 -odir dist/build/pugs/pugs-tmp -c perl5/p5embed.c perl5/p5embed.c:1:21: error: p5embed.h: No such file or directory perl5/p5embed.c:2:18: error: XSUB.h: No such file or directory perl5/p5embed.c:3:21: error: perlxsi.c: No such file or directory perl5/p5embed.c:4:23: error: pugsembed.c: No such file or directory perl5/p5embed.c:23:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:207:0: warning: return type defaults to 'int' perl5/p5embed.c: In function 'XS': perl5/p5embed.c:208:0: error: 'Val' undeclared (first use in this function) perl5/p5embed.c:208:0: error: (Each undeclared identifier is reported only once perl5/p5embed.c:208:0: error: for each function it appears in.) perl5/p5embed.c:208:0: error: 'val' undeclared (first use in this function) perl5/p5embed.c:208:0: error: 'inv' undeclared (first use in this function) perl5/p5embed.c:208:0: error: 'stack' undeclared (first use in this function) perl5/p5embed.c:209:0: error: 'SV' undeclared (first use in this function) perl5/p5embed.c:209:0: error: 'ret' undeclared (first use in this function) perl5/p5embed.c:209:0: error: 'sv' undeclared (first use in this function) perl5/p5embed.c:211:0: error: 'dXSARGS' undeclared (first use in this function) perl5/p5embed.c:212:0: error: 'items' undeclared (first use in this function) perl5/p5embed.c:216:0: warning: implicit declaration of function 'ST' perl5/p5embed.c:217:0: warning: implicit declaration of function 'sv_isa' perl5/p5embed.c:218:0: warning: implicit declaration of function 'pugs_SvToVal' perl5/p5embed.c:222:0: warning: implicit declaration of function 'SvPV_nolen' perl5/p5embed.c:222:0: warning: assignment makes pointer from integer without a cast perl5/p5embed.c:223:0: warning: implicit declaration of function 'strrchr' perl5/p5embed.c:223:0: warning: incompatible implicit declaration of built-in function 'strrchr' perl5/p5embed.c:225:0: warning: implicit declaration of function 'pugs_PvnToVal' perl5/p5embed.c:225:0: warning: implicit declaration of function 'strlen' perl5/p5embed.c:225:0: warning: incompatible implicit declaration of built-in function 'strlen' perl5/p5embed.c:227:0: warning: implicit declaration of function 'SvOK' perl5/p5embed.c:227:0: error: 'NULL' undeclared (first use in this function) perl5/p5embed.c:229:0: warning: implicit declaration of function 'New' perl5/p5embed.c:229:0: error: expected expression before ')' token perl5/p5embed.c:236:0: warning: implicit declaration of function 'pugs_Apply' perl5/p5embed.c:236:0: error: 'GIMME_V' undeclared (first use in this function) perl5/p5embed.c:236:0: error: lvalue required as left operand of assignment perl5/p5embed.c:238:0: warning: implicit declaration of function 'Safefree' perl5/p5embed.c:240:0: warning: implicit declaration of function 'XSRETURN' perl5/p5embed.c: At top level: perl5/p5embed.c:244:0: warning: return type defaults to 'int' perl5/p5embed.c:244:0: error: redefinition of 'XS' perl5/p5embed.c:207:0: error: previous definition of 'XS' was here perl5/p5embed.c: In function 'XS': perl5/p5embed.c:245:0: error: 'Val' undeclared (first use in this function) perl5/p5embed.c:245:0: error: 'val' undeclared (first use in this function) perl5/p5embed.c:245:0: error: 'inv' undeclared (first use in this function) perl5/p5embed.c:245:0: error: 'stack' undeclared (first use in this function) perl5/p5embed.c:247:0: error: 'dXSARGS' undeclared (first use in this function) perl5/p5embed.c:248:0: error: 'items' undeclared (first use in this function) perl5/p5embed.c:252:0: warning: implicit declaration of function 'pugs_Eval' perl5/p5embed.c:254:0: error: expected expression before ')' token perl5/p5embed.c:262:0: error: 'NULL' undeclared (first use in this function) perl5/p5embed.c:264:0: error: 'GIMME_V' undeclared (first use in this function) perl5/p5embed.c:264:0: error: lvalue required as left operand of assignment perl5/p5embed.c: At top level: perl5/p5embed.c:313:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:384:0: error: expected ')' before '*' token perl5/p5embed.c:392:0: error: expected ')' before '*' token perl5/p5embed.c:398:0: error: expected ')' before '*' token perl5/p5embed.c:404:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'perl5_SvTRUE' perl5/p5embed.c:412:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'perl5_SvROK' perl5/p5embed.c:420:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:426:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:436:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:442:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:448:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:514:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:522:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:559:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'perl5_can' perl5/p5embed.c:587:0: error: expected ')' before '*' token *** Trying again with preferred-versions *** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=http://hackage.haskell.org/package/Pugs-6.2.13.9 --constraint=base<4 --constraint=parsec<3 --constraint=HaXml==1.13.* --constraint=QuickCheck<2 --verbose Can't open perl script "Configure.PL": No such file or directory Warning: defaultUserHooks in Setup script is deprecated. Configuring Pugs-6.2.13.9... Flags chosen: perl5=True Dependency HsParrot >=0.0.2: using HsParrot-0.0.2 Dependency HsSyck >=0.44: using HsSyck-0.45 Dependency MetaObject >=0.0.4: using MetaObject-0.0.6 Dependency array -any: using array-0.2.0.0 Dependency base -any && <4: using base-3.0.3.1 Dependency binary -any: using binary-0.5.0.1 Dependency bytestring -any: using bytestring-0.9.1.4 Dependency containers -any: using containers-0.2.0.1 Dependency directory -any: using directory-1.0.0.3 Dependency filepath -any: using filepath-1.1.0.2 Dependency haskeline >=0.2.1: using haskeline-0.6.1.6 Dependency haskell98 -any: using haskell98-1.0.1.0 Dependency mtl -any: using mtl-1.1.0.2 Dependency network -any: using network-2.2.1.4 Dependency parsec <3.0.0 && <3: using parsec-2.1.0.1 Dependency pretty -any: using pretty-1.0.1.0 Dependency process -any: using process-1.0.1.1 Dependency pugs-DrIFT >=2.2.3.0: using pugs-DrIFT-2.2.3.1 Dependency pugs-compat >=0.0.5: using pugs-compat-0.0.6 Dependency random -any: using random-1.0.0.1 Dependency stm -any: using stm-2.1.1.2 Dependency stringtable-atom >=0.0.4: using stringtable-atom-0.0.6 Dependency time -any: using time-1.1.4 Dependency utf8-string -any: using utf8-string-0.3.5 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package pugs-DrIFT-2.2.3.0 requires HsSyck-0.44 package HsParrot-0.0.2 requires HsSyck-0.44 package pugs-DrIFT-2.2.3.1 requires HsSyck-0.45 package Pugs-6.2.13.9 requires HsSyck-0.45 package pugs-compat-0.0.6 requires network-2.2.1 package Pugs-6.2.13.9 requires network-2.2.1.4 package Pugs-6.2.13.9 requires parsec-2.1.0.1 package network-2.2.1.4 requires parsec-3.0.0 package network-2.2.1 requires parsec-3.0.0 package HsParrot-0.0.2 requires pugs-DrIFT-2.2.3.0 package Pugs-6.2.13.9 requires pugs-DrIFT-2.2.3.1 package pugs-compat-0.0.6 requires time-1.1.2.3 package Pugs-6.2.13.9 requires time-1.1.4 package pugs-compat-0.0.6 requires utf8-string-0.3.4 package pugs-DrIFT-2.2.3.0 requires utf8-string-0.3.4 package pugs-DrIFT-2.2.3.1 requires utf8-string-0.3.5 package haskeline-0.6.1.6 requires utf8-string-0.3.5 package Pugs-6.2.13.9 requires utf8-string-0.3.5 Using Cabal-1.6.0.1 compiled by ghc-6.10 Using compiler: ghc-6.10.2 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/Pugs-6.2.13.9/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/Pugs-6.2.13.9 Documentation installed in: /usr/local/tmp/archive/install/share/doc/Pugs-6.2.13.9 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.16.0 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 gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.4.2 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.67 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 setup/setup build --verbose Can't open perl script "Configure.PL": No such file or directory Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for Pugs-6.2.13.9... Building Pugs-6.2.13.9... Building executable: pugs... Creating dist/build/pugs (and its parents) Creating dist/build/pugs/pugs-tmp (and its parents) Building C Sources. Creating dist/build/pugs/pugs-tmp (and its parents) /usr/local/bin/ghc -package HsParrot-0.0.2 -package HsSyck-0.45 -package MetaObject-0.0.6 -package array-0.2.0.0 -package base-3.0.3.1 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package filepath-1.1.0.2 -package haskeline-0.6.1.6 -package haskell98-1.0.1.0 -package mtl-1.1.0.2 -package network-2.2.1.4 -package parsec-2.1.0.1 -package pretty-1.0.1.0 -package process-1.0.1.1 -package pugs-DrIFT-2.2.3.1 -package pugs-compat-0.0.6 -package random-1.0.0.1 -package stm-2.1.1.2 -package stringtable-atom-0.0.6 -package time-1.1.4 -package utf8-string-0.3.5 -optc-O2 -odir dist/build/pugs/pugs-tmp -c cbits/Prelude_pm.c Creating dist/build/pugs/pugs-tmp (and its parents) /usr/local/bin/ghc -package HsParrot-0.0.2 -package HsSyck-0.45 -package MetaObject-0.0.6 -package array-0.2.0.0 -package base-3.0.3.1 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package filepath-1.1.0.2 -package haskeline-0.6.1.6 -package haskell98-1.0.1.0 -package mtl-1.1.0.2 -package network-2.2.1.4 -package parsec-2.1.0.1 -package pretty-1.0.1.0 -package process-1.0.1.1 -package pugs-DrIFT-2.2.3.1 -package pugs-compat-0.0.6 -package random-1.0.0.1 -package stm-2.1.1.2 -package stringtable-atom-0.0.6 -package time-1.1.4 -package utf8-string-0.3.5 -optc-O2 -odir dist/build/pugs/pugs-tmp -c cbits/Test_pm.c Creating dist/build/pugs/pugs-tmp (and its parents) /usr/local/bin/ghc -package HsParrot-0.0.2 -package HsSyck-0.45 -package MetaObject-0.0.6 -package array-0.2.0.0 -package base-3.0.3.1 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package filepath-1.1.0.2 -package haskeline-0.6.1.6 -package haskell98-1.0.1.0 -package mtl-1.1.0.2 -package network-2.2.1.4 -package parsec-2.1.0.1 -package pretty-1.0.1.0 -package process-1.0.1.1 -package pugs-DrIFT-2.2.3.1 -package pugs-compat-0.0.6 -package random-1.0.0.1 -package stm-2.1.1.2 -package stringtable-atom-0.0.6 -package time-1.1.4 -package utf8-string-0.3.5 -optc-O2 -odir dist/build/pugs/pugs-tmp -c perl5/p5embed.c perl5/p5embed.c:1:21: error: p5embed.h: No such file or directory perl5/p5embed.c:2:18: error: XSUB.h: No such file or directory perl5/p5embed.c:3:21: error: perlxsi.c: No such file or directory perl5/p5embed.c:4:23: error: pugsembed.c: No such file or directory perl5/p5embed.c:23:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:207:0: warning: return type defaults to 'int' perl5/p5embed.c: In function 'XS': perl5/p5embed.c:208:0: error: 'Val' undeclared (first use in this function) perl5/p5embed.c:208:0: error: (Each undeclared identifier is reported only once perl5/p5embed.c:208:0: error: for each function it appears in.) perl5/p5embed.c:208:0: error: 'val' undeclared (first use in this function) perl5/p5embed.c:208:0: error: 'inv' undeclared (first use in this function) perl5/p5embed.c:208:0: error: 'stack' undeclared (first use in this function) perl5/p5embed.c:209:0: error: 'SV' undeclared (first use in this function) perl5/p5embed.c:209:0: error: 'ret' undeclared (first use in this function) perl5/p5embed.c:209:0: error: 'sv' undeclared (first use in this function) perl5/p5embed.c:211:0: error: 'dXSARGS' undeclared (first use in this function) perl5/p5embed.c:212:0: error: 'items' undeclared (first use in this function) perl5/p5embed.c:216:0: warning: implicit declaration of function 'ST' perl5/p5embed.c:217:0: warning: implicit declaration of function 'sv_isa' perl5/p5embed.c:218:0: warning: implicit declaration of function 'pugs_SvToVal' perl5/p5embed.c:222:0: warning: implicit declaration of function 'SvPV_nolen' perl5/p5embed.c:222:0: warning: assignment makes pointer from integer without a cast perl5/p5embed.c:223:0: warning: implicit declaration of function 'strrchr' perl5/p5embed.c:223:0: warning: incompatible implicit declaration of built-in function 'strrchr' perl5/p5embed.c:225:0: warning: implicit declaration of function 'pugs_PvnToVal' perl5/p5embed.c:225:0: warning: implicit declaration of function 'strlen' perl5/p5embed.c:225:0: warning: incompatible implicit declaration of built-in function 'strlen' perl5/p5embed.c:227:0: warning: implicit declaration of function 'SvOK' perl5/p5embed.c:227:0: error: 'NULL' undeclared (first use in this function) perl5/p5embed.c:229:0: warning: implicit declaration of function 'New' perl5/p5embed.c:229:0: error: expected expression before ')' token perl5/p5embed.c:236:0: warning: implicit declaration of function 'pugs_Apply' perl5/p5embed.c:236:0: error: 'GIMME_V' undeclared (first use in this function) perl5/p5embed.c:236:0: error: lvalue required as left operand of assignment perl5/p5embed.c:238:0: warning: implicit declaration of function 'Safefree' perl5/p5embed.c:240:0: warning: implicit declaration of function 'XSRETURN' perl5/p5embed.c: At top level: perl5/p5embed.c:244:0: warning: return type defaults to 'int' perl5/p5embed.c:244:0: error: redefinition of 'XS' perl5/p5embed.c:207:0: error: previous definition of 'XS' was here perl5/p5embed.c: In function 'XS': perl5/p5embed.c:245:0: error: 'Val' undeclared (first use in this function) perl5/p5embed.c:245:0: error: 'val' undeclared (first use in this function) perl5/p5embed.c:245:0: error: 'inv' undeclared (first use in this function) perl5/p5embed.c:245:0: error: 'stack' undeclared (first use in this function) perl5/p5embed.c:247:0: error: 'dXSARGS' undeclared (first use in this function) perl5/p5embed.c:248:0: error: 'items' undeclared (first use in this function) perl5/p5embed.c:252:0: warning: implicit declaration of function 'pugs_Eval' perl5/p5embed.c:254:0: error: expected expression before ')' token perl5/p5embed.c:262:0: error: 'NULL' undeclared (first use in this function) perl5/p5embed.c:264:0: error: 'GIMME_V' undeclared (first use in this function) perl5/p5embed.c:264:0: error: lvalue required as left operand of assignment perl5/p5embed.c: At top level: perl5/p5embed.c:313:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:384:0: error: expected ')' before '*' token perl5/p5embed.c:392:0: error: expected ')' before '*' token perl5/p5embed.c:398:0: error: expected ')' before '*' token perl5/p5embed.c:404:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'perl5_SvTRUE' perl5/p5embed.c:412:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'perl5_SvROK' perl5/p5embed.c:420:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:426:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:436:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:442:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:448:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:514:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:522:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token perl5/p5embed.c:559:0: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'perl5_can' perl5/p5embed.c:587:0: error: expected ')' before '*' token