HP-UX is very unwilling at this stage, including two show-stoppers
1. The LDFLAGS is extended with flags from config that are meant to be passed
to cc, not to ld
2. Undefined symbols inhibit the basic build
a5:/pro/3gl/CPAN/parrot-current 101 > perl Configure.pl --default
Parrot Version 0.0.3 Configure
Copyright (C) 2001-2002 Yet Another Society
Since you're running this script, you obviously have
Perl 5--I'll be pulling some defaults from its configuration.
Checking the MANIFEST to make sure you have a complete Parrot kit...
Okay, we found everything. Next you'll need to answer
a few questions about your system. Defaults are in square
brackets, and you can hit enter to accept them. If you
don't want the default, type a new value in. If that new
value starts with a '+', it will be concatenated to the
default value.
Determining if your C compiler is actually gcc (this could take a while):
Your C compiler is not gcc.
Probing Perl 5's configuration to determine which headers you have (this could
take a while on slow machines)...
Determining C data type sizes by compiling and running a small C program (this
could take a while):
Building ./test.c from test_c.in...
Figuring out the formats to pass to pack() for the various Parrot internal
types...
Figuring out what integer type we can mix with pointers...
We'll use 'unsigned int'.
Building a preliminary version of include/parrot/config.h, your Makefiles, and
other files:
Building include/parrot/config.h from config_h.in...
Building ./Makefile from Makefile.in...
Building ./classes/Makefile from classes/Makefile.in...
Building ./docs/Makefile from docs/Makefile.in...
Building ./languages/Makefile from languages/Makefile.in...
Building ./languages/jako/Makefile from languages/jako/Makefile.in...
Building ./languages/miniperl/Makefile from languages/miniperl/Makefile.in...
Building ./languages/scheme/Makefile from languages/scheme/Makefile.in...
Building Parrot/Types.pm from Types_pm.in...
Building Parrot/Config.pm from Config_pm.in...
Checking some things by compiling and running another small C program (this
could take a while):
Building ./testparrotsizes.c from testparrotsizes_c.in...
Updating include/parrot/config.h:
Building include/parrot/config.h from config_h.in...
Okay, we're done!
You can now use `make' (or your platform's equivalent to `make') to build your
Parrot. After that, you can use `make test' to run the test suite.
Happy Hacking,
The Parrot Team
a5:/pro/3gl/CPAN/parrot-current 102 > make
perl vtable_h.pl
perl make_vtable_ops.pl > vtable.ops
perl ops2c.pl C core.ops vtable.ops
perl ops2c.pl CPrederef core.ops vtable.ops
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o test_main.o -c test_main.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o global_setup.o -c global_setup.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o interpreter.o -c interpreter.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o parrot.o -c parrot.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o register.o -c register.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o core_ops.o -c core_ops.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o core_ops_prederef.o -c core_ops_prederef.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o memory.o -c memory.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o packfile.o -c packfile.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o stacks.o -c stacks.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o string.o -c string.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o encoding.o -c encoding.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o chartype.o -c chartype.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o runops_cores.o -c runops_cores.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o trace.o -c trace.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o pmc.o -c pmc.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o key.o -c key.c
cc: "key.c", line 275: warning 604: Pointers are not assignment-compatible.
cc: "key.c", line 275: warning 563: Argument #2 is not the correct type.
cc: "key.c", line 339: warning 604: Pointers are not assignment-compatible.
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o platform.o -c platform.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o resources.o -c resources.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o io/io.o -c io/io.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o io/io_os.o -c io/io_os.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o io/io_stdio.o -c io/io_stdio.c
cd classes && make && cd ..
make[1]: Entering directory `/pro/3gl/CPAN/parrot-current/classes'
perl pmc2c.pl default.pmc
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I../include -o default.o -c default.c
perl pmc2c.pl perlint.pmc
Scanning /pro/3gl/CPAN/parrot-current/classes/perlint.pmc...
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I../include -o perlint.o -c perlint.c
perl pmc2c.pl perlstring.pmc
Scanning /pro/3gl/CPAN/parrot-current/classes/perlstring.pmc...
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I../include -o perlstring.o -c perlstring.c
perl pmc2c.pl perlnum.pmc
Scanning /pro/3gl/CPAN/parrot-current/classes/perlnum.pmc...
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I../include -o perlnum.o -c perlnum.c
perl pmc2c.pl perlarray.pmc
Scanning /pro/3gl/CPAN/parrot-current/classes/perlarray.pmc...
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I../include -o perlarray.o -c perlarray.c
perl pmc2c.pl perlhash.pmc
Scanning /pro/3gl/CPAN/parrot-current/classes/perlhash.pmc...
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I../include -o perlhash.o -c perlhash.c
perl pmc2c.pl perlundef.pmc
Scanning /pro/3gl/CPAN/parrot-current/classes/perlundef.pmc...
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I../include -o perlundef.o -c perlundef.c
make[1]: Leaving directory `/pro/3gl/CPAN/parrot-current/classes'
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o encodings/singlebyte.o -c
encodings/singlebyte.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o encodings/utf8.o -c encodings/utf8.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o encodings/utf16.o -c encodings/utf16.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o encodings/utf32.o -c encodings/utf32.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o chartypes/unicode.o -c chartypes/unicode.c
cc -DDEBUGGING -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I./include -o chartypes/usascii.o -c chartypes/usascii.c
perl ops2pm.pl core.ops vtable.ops
perl pmc_pm.pl
ld -o test_parrot -L/pro/local/lib -Wl,+vnocompatwarnings global_setup.o interpreter.o
parrot.o register.o core_ops.o core_ops_prederef.o memory.o packfile.o stacks.o
string.o encoding.o chartype.o runops_cores.o trace.o pmc.o key.o platform.o
resources.o io/io.o io/io_os.o io/io_stdio.o classes/default.o classes/perlint.o
classes/perlstring.o classes/perlnum.o classes/perlarray.o classes/perlundef.o
classes/perlhash.o encodings/singlebyte.o encodings/utf8.o encodings/utf16.o
encodings/utf32.o chartypes/unicode.o chartypes/usascii.o test_main.o -lnsl -lnm
-lndbm -lgdbm -ldb -ldld -lm -lc -lndir -lcrypt -lsec
ld: Unrecognized argument: -Wl,+vnocompatwarnings
ld: Usage: ld [options] [flags] files
make: *** [test_parrot] Error 1
a5:/pro/3gl/CPAN/parrot-current 103 > perl -pi -e 's/-Wl,//' Makefile
a5:/pro/3gl/CPAN/parrot-current 104 > make
ld -o test_parrot -L/pro/local/lib +vnocompatwarnings global_setup.o interpreter.o
parrot.o register.o core_ops.o core_ops_prederef.o memory.o packfile.o stacks.o
string.o encoding.o chartype.o runops_cores.o trace.o pmc.o key.o platform.o
resources.o io/io.o io/io_os.o io/io_stdio.o classes/default.o classes/perlint.o
classes/perlstring.o classes/perlnum.o classes/perlarray.o classes/perlundef.o
classes/perlhash.o encodings/singlebyte.o encodings/utf8.o encodings/utf16.o
encodings/utf32.o chartypes/unicode.o chartypes/usascii.o test_main.o -lnsl -lnm
-lndbm -lgdbm -ldb -ldld -lm -lc -lndir -lcrypt -lsec
ld: Unsatisfied symbols:
$global$ (data) (probably missing /usr/ccs/lib/crt0.o)
make: *** [test_parrot] Error 1
a5:/pro/3gl/CPAN/parrot-current 105 > cat .timestamp
1010520002
Tue Jan 8 20:00:02 2002 UTC
(time of this cvs update)
a5:/pro/3gl/CPAN/parrot-current 106 >
--
H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.7.2 & 630 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
WinNT 4, Win2K pro & WinCE 2.11. Smoking perl CORE: [EMAIL PROTECTED]
http:[EMAIL PROTECTED]/ [EMAIL PROTECTED]
send smoke reports to: [EMAIL PROTECTED], QA: http://qa.perl.org