2007/1/1, Debian User <[EMAIL PROTECTED]>:
This patch fix the wrong parrot include path, for example:
before patch:
/home/lee/parrot/workinginclude
after patch:
/home/lee/parrot/working/include
You can get the patch from
http://groups.google.com/group/perl.perl6.compiler/browse_thread/thread/29c5077ee04eef5f/baf92086c1d9497e#baf92086c1d9497e
After fix this, I got more compile error, for example:
Building Pugs-6.2.13...
[ 8 of 96] Compiling Pugs.Exp[boot] ( src/Pugs/Exp.hs-boot, nothing )
[10 of 96] Compiling Pugs.Version ( src/Pugs/Version.hs,
dist/build/Pugs/Version.o )
In file included from /home/lee/parrot/working/include/parrot/string.h:17,
from /usr/local/lib/ghc-6.6/include/HsBase.h:59,
from /tmp/ghc5065_0/ghc5065_0.hc:4:0:
/home/lee/parrot/working/include/parrot/pobj.h:24:0:
error: syntax error before "DPOINTER"
/home/lee/parrot/working/include/parrot/pobj.h:24:0:
warning: no semicolon at end of struct or union
/home/lee/parrot/working/include/parrot/pobj.h:24:0:
warning: no semicolon at end of struct or union
...
GHC use the wrong head file string.h, it should include /usr/include/string.h,
but at now it use parrot's string.h.
I have try to resolve this problem myself last night, but not success.