before patch:
/home/lee/parrot/workinginclude
after patch:
/home/lee/parrot/working/include
BTW, I'm not sure this is the right way/style to submit this patch.
If I'm wrong, please let me know, thanks.
Lee
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.