Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PATCH] fix wrong $include_path (of parrot) in Makefile.PL

6 views
Skip to first unread message

Debian User

unread,
Dec 31, 2006, 11:22:18 AM12/31/06
to perl6-c...@perl.org
This patch fix the wrong parrot include path, for example:

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

Makefile_PL.patch

Lee Duhem

unread,
Jan 1, 2007, 9:07:32 AM1/1/07
to perl6-c...@perl.org, pugs...@perl.org
2007/1/1, Debian User <lee....@gmail.com>:

> 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.

Lee Duhem

unread,
Jan 1, 2007, 9:09:24 AM1/1/07
to bugs-bi...@rt.perl.org
# New Ticket Created by "Lee Duhem"
# Please include the string: [perl #41159]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41159 >
0 new messages