[openbeos] Re: Building Haiku on Solaris...

  • From: Michael Phipps <mphipps1@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sat, 02 Dec 2006 15:18:55 -0500

Try building flex and bison and make sure that they are being used instead of the lex and yacc that come with Solaris. Some of that stuff is close to original AT&T code in age.


Michael

Andrew McCall wrote:
I changed ./configure to use /usr/bin/bash and got a failure do to the
platofrm being SunOS, so I added that to the configure script too.

The build started that, but failed after about 30 mintues with the following:

"/export/home/mccall/haiku/buildtools/binutils/ld/ldlex.l":line 304:
Error: Parse tree too big
Try using %e num
1001/1000 nodes(%e), 0/2500 positions(%p), 1/500 (%n), 0 transitions,
0/10000 packed char classes(%k),  0/4000 packed transitions(%a),
0/5000 output slots(%o)
make[3]: *** [ldlex.c] Error 1
make[3]: Leaving directory
`/export/home/mccall/haiku/haiku/generated/cross-tools-build/binutils/ld'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/export/home/mccall/haiku/haiku/generated/cross-tools-build/binutils/ld'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory
`/export/home/mccall/haiku/haiku/generated/cross-tools-build/binutils/ld'
make: *** [all-ld] Error 2

I can make a full log and stick it on my web server if needed.

On 02/12/06, Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx> wrote:
2006/12/2, Michael Phipps <mphipps1@xxxxxxxxxxxxxxxx>:
> Solaris defaults to Korn shell. You need BASH. The configure script is
> written to be bash specific. :-D

Dash works too so I guess you only need a sh compatible shell.






Other related posts: