On Thu, Oct 09, 2003 at 09:53:02AM +0000, Peter Sinnott wrote:
> # New Ticket Created by Peter Sinnott
> # Please include the string: [perl #24169]
> # in the subject line of all future correspondence about this issue.
> # <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24169 >
>
>
> Hi,
> parrot is not currently building on freebsd as it requires
> pthread to be included in its libraries. The aix hint file
> currently ensures pthread is included in the libs linked into parrot.
>
> A proposed freebsd hint file is attached( a copy of the current aix
> hint file )
I'm having trouble testing this because I can't get CVS parrot to build on
my (friend's) freebsd box. I think that this ought to restore 5.005_03
compatibility:
===================================================================
RCS file: /cvs/public/parrot/config/gen/makefiles/root.in,v
retrieving revision 1.138
diff -p -u -r1.138 root.in
--- config/gen/makefiles/root.in 8 Oct 2003 10:14:03 -0000 1.138
+++ config/gen/makefiles/root.in 9 Oct 2003 22:39:18 -0000
@@ -22,7 +22,8 @@ RANLIB = ${ranlib}
LINK = ${link}
LD = ${ld}
LD_SHARED = ${ld_shared}
-TOUCH = perl -e ${PQ}open(A,q{>>},$$_) or die foreach @ARGV${PQ}
+# 3 arg open not in 5.005
+TOUCH = $(PERL) -e ${PQ}open(A,qq{>>$$_}) or die foreach @ARGV${PQ}
YACC = ${yacc}
LEX = ${lex}
but it then fails with
imcc.y:20: imc.h: No such file or directory
imcc.y:21: pbc.h: No such file or directory
imcc.y:22: parser.h: No such file or directory
This is with gcc version 2.95.4 20020320 [FreeBSD]
Have the rules about where to find header files in directories relative
to source files been changed between gcc 2.95 and gcc 3?
Nicholas Clark