On Mon, 19 Nov 2001, James Mastros wrote:

> OK, here is a new implementation of the same idea.
> 
> Also, here is a more explicit set of instructions.
> 
> To install:
> rm -r platforms
> untar the attached tarball in the main parrot dir.
> 
> To use:
> run Configure.pl, then run GuessConfig.  (Merging them is on the todo list.)

This still doesn't build for me.

First, Configure.pl dies because MANIFEST hasn't been corrected to reflect
the rm -r platforms command.

After fixing that, Configure.pl dies with this message:

    Alright, now I'm gonna check some stuff by compiling and running
    another small C program.  This could take a bit...
    "./include/parrot/parrot.h", line 28: cannot find include file:
    "parrot/platform.h"
    cc: acomp failed for testparrotsizes.c
    C compiler died! at ./Configure.pl line 347.

So I fake one up with

        touch include/parrot/platform.h 

Then, Configure.pl and GuessConfig run, but make dies with
cc -I./include -o core_ops.o -c core_ops.c
    "core_ops.c", line 358: undefined symbol: DEFAULT_OPEN_MODE
    "core_ops.c", line 365: undefined symbol: DEFAULT_OPEN_MODE
    "core_ops.c", line 372: undefined symbol: DEFAULT_OPEN_MODE
    "core_ops.c", line 379: undefined symbol: DEFAULT_OPEN_MODE
    "core_ops.c", line 386: undefined symbol: DEFAULT_OPEN_MODE
    "core_ops.c", line 393: undefined symbol: DEFAULT_OPEN_MODE

Next, I copied the old parrot/platforms/generic.h to
include/parrot/platform.h.

make then died with

    "platform.c", line 3: 0 is invalid in #line directive
    "platform.c", line 21: 0 is invalid in #line directive
    "platform.c", line 35: syntax error before or at: /
    "platform.c", line 35: invalid source character: '#'
    "platform.c", line 35: undefined or not a type: include
    "platform.c", line 35: cannot recover from previous errors

Lines 3 and 21 have  #line 0 directives.
Line 35 is a C++ comment, //.

I fixed both of those, and then the link stage died with

 cc -I./include -o test_prog global_setup.o interpreter.o parrot.o
 register.o  core_ops.o memory.o packfile.o stacks.o string.o
 encoding.o  chartype.o runops_cores.o trace.o vtable_ops.o pmc.o
 encodings/singlebyte.o encodings/utf8.o encodings/utf16.o
 encodings/utf32.o chartypes/unicode.o chartypes/usascii.o resources.o
 platform.o classes/perlint.o classes/perlstring.o classes/perlnum.o
 test_main.o -lsocket -lnsl -ldl -lm -lc -lcrypt
 Undefined                       first referenced
  symbol                             in file
  setenv                              platform.o
  Parrot_intval_time                  core_ops.o
  unsetenv                            platform.o
  Parrot_floatval_time                core_ops.o
  Parrot_sleep                        core_ops.o
  ld: fatal: Symbol referencing errors. No output written to test_prog
  *** Error code 1

That's as far as I've gotten.

-- 
    Andy Dougherty              [EMAIL PROTECTED]
    Dept. of Physics
    Lafayette College, Easton PA 18042

Reply via email to