complete make test failure under cygwin

1 view
Skip to first unread message

treefrog

unread,
Aug 10, 2005, 11:02:43 AM8/10/05
to
[Newbie alert - This is my first attempt at compiling Parrot]

I have Parrot compliling nicely under cygwin (I had to manually apply
the patch
- but the patch I used is attached at the bottom.

Anyway, everything compiles perfectly, but make test produces the
following:

...
make[1]: Leaving directory
`/cygdrive/d/DATA/stehill1/Parrot/compilers/pge'
/usr/bin/perl t/harness --gc-debug --running-make-test t/library/*.t
t/op/*.t t
/pmc/*.t t/run/*.t t/native_pbc/*.t imcc/t/*/*.t t/dynclass/*.t
t/p6rules/*.t t/
src/*.t t/perl/*.t
t/library/dumper...............t/library/dumper.t is not readable
t/library/getopt_long..........t/library/getopt_long.t is not readable
t/library/md5..................t/library/md5.t is not readable
...
etc
...
t/perl/Parrot_IO...............t/perl/Parrot_IO.t is not readable
FAILED--163 test scripts could be run, alas--no output ever seen
make: *** [test] Error 255

Any ideas?

Best regards

Steve

Index: dynclasses_pl.in
===================================================================
--- dynclasses_pl.in (revision 8899)
+++ dynclasses_pl.in (working copy)
@@ -43,6 +43,13 @@
$LIBPARROT = '${build_dir}/parrot${a}';
}

+# Here comes some stuff for Cygwin
+if ($^O eq 'cygwin') {
+ $LD_LOAD_FLAGS .= ' ../src/parrot_config.o';
+ $LIBPARROT = qq[-L../blib/lib -lparrot];
+}
+
+
# PMC2C Config
our $PMC2C = "$PERL $PATHQUOTE" .
q[${build_dir}${slash}build_tools${slash}pmc2c.pl] . $PATHQUOTE;

@@ -84,10 +91,9 @@
}

return
- "$LD $LDFLAGS $LD_LOAD_FLAGS ".
- "${ld_out}" . $target . " " . $def .
+ "$LD $LDFLAGS $LD_LOAD_FLAGS -o $target " .
join(" ", map {"$PATHQUOTE$_$PATHQUOTE"} @$sources) .
- " $liblist $PATHQUOTE$LIBPARROT$PATHQUOTE";
+ " $PATHQUOTE$LIBPARROT$PATHQUOTE $liblist";
}

our $NOW = time();

Reply all
Reply to author
Forward
0 new messages