info-inventor-dev
[Top] [All Lists]

Re: Problems compiling OpenInventor

To: Jonathan Lim <jlim@xxxxxxx>
Subject: Re: Problems compiling OpenInventor
From: "Steve M. Robbins" <steven.robbins@xxxxxxxxxxxx>
Date: Thu, 13 Jan 2005 22:35:29 -0500
Cc: Luca Cappa <luca.cappa@xxxxxxxxxxxx>, info-inventor-dev@xxxxxxxxxxx
In-reply-to: <200501131924.j0DJOs7D066555@xxxxxxxxxxxxxxxxxxxx>
References: <41E6393E.9060301@xxxxxxxxxxxx> <200501131924.j0DJOs7D066555@xxxxxxxxxxxxxxxxxxxx>
Sender: info-inventor-dev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
On Thu, Jan 13, 2005 at 11:24:54AM -0800, Jonathan Lim wrote:
> Have a look in
> 
>   http://oss.sgi.com/bugzilla/show_bug.cgi?id=281

It's not the same issue.


> I don't see any problems when compiling on Red Hat Linux 9.  I've got
> byacc-1.9-25 installed, where /usr/bin/byacc is symlink'd to yacc, along with
> bison-1.35-6.  YACC is assigned in inventor/make/commondefs.

Yes; earlier versions of bison were less picky about this bug.  The
Debian packages are built using the following patch:

--- inventor-2.1.5-10.orig/lib/database/src/so/engines/SoCalcParse.y
+++ inventor-2.1.5-10/lib/database/src/so/engines/SoCalcParse.y
@@ -119,7 +119,7 @@
 %type <expr> asgn primary_expression postfix_expression
 %type <expr> unary_expression
 %type <expr> multiplicative_expression additive_expression
-%type <expr> additive_expression relational_expression
+%type <expr> relational_expression
 %type <expr> equality_expression logical_AND_expression
 %type <expr> logical_OR_expression conditional_expression
 %type <list> args


> > for your information, I got a problem compiling the OpenInventor source 
> > code with latest Linux/Debian using the "testing" packages.
> > 
> > When I'm compiling (i'm using the make command)

For what it's worth: Debian packages for OpenInventor are easily
available:

  apt-get install inventor-dev inventor-doc inventor-clients inventor-data 
inventor-demo

Regards,
-Steve


<Prev in Thread] Current Thread [Next in Thread>