Building Parrot on Solaris

Ovid publiustemp-perl6internals2 at yahoo.com
Thu Oct 30 11:14:55 UTC 2008


Trying to build Parrot on Solaris:

  SunOS ioz-dev-pipsv3 5.10 Generic_125101-10 i86pc i386 i86pc

Downloaded Parrot from http://www.parrotcode.org/release/devel

When running Configure.pl, got errors like:

  test_4811: fatal: libdb-4.4.so: open failed: No such file or directory

Running locate revealed that it was in /opt/csw/bdb44/lib/libdb-4.4.so, so I can get a sucessful Configure.pl run with:

  perl Configure.pl \
    --linkflags="-L/opt/csw/bdb44/lib -R/opt/csw/bdb44/lib" \
    --verbose --fatal

The -R is required because Solaris apparently hardcodes taht path into binaries to look up shared libraries at runtime and Configure.pl won't finish without it.  And in just flailing around, I also did the above, setting ldflags to the same value as linkflags (both were set) and got the same result as what follows.

And then gmake bursts into tears.

  $ gmake
  Compiling with:
  xx.c
  cc -I./include -D_REENTRANT -xO3 -xarch=386 -xspace -xildoff -I/opt/csw/bdb44/include -I/opt/csw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DHAVE_COMPUTED_GOTO -KPIC -I. -o xx.o -c xx.c
  src/ops/core_ops_switch.c
  "core_ops_switch.c", [switch_core]:ube: error: Assert has been violated at '/set/venus/builds.intel-S2/nightly.Thu/intel-S2/lang/ube/graphs/src/scregion.c 305'.
  cc: ube failed for src/ops/core_ops_switch.c
  gmake: *** [src/ops/core_ops_switch.o] Error 2

Help?  Google gives me no love.  (Configure.pl with "--cc=gcc" also fails miserably)

Cheers,
Ovid
--
Buy the book         - http://www.oreilly.com/catalog/perlhks/
Tech blog            - http://use.perl.org/~Ovid/journal/
Twitter              - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6


More information about the parrot-dev mailing list