From luca.cappa@i-medlab.com Thu Jan 13 01:01:41 2005 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Thu, 13 Jan 2005 01:01:45 -0800 (PST) Received: from avalon.nekhem.com (avalon.nekhem.com [213.254.11.62]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j0D91eBi022551 for ; Thu, 13 Jan 2005 01:01:41 -0800 Received: from localhost (localhost [127.0.0.1]) by avalon.nekhem.com (Postfix) with ESMTP id 5D0232BC97 for ; Thu, 13 Jan 2005 10:01:34 +0100 (CET) Received: from avalon.nekhem.com ([127.0.0.1]) by localhost (avalon [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 03297-08 for ; Thu, 13 Jan 2005 10:01:33 +0100 (CET) Received: from [10.0.1.77] (teotihuacan.nekhem.com [213.254.11.58]) by avalon.nekhem.com (Postfix) with ESMTP id E35EE2BC95 for ; Thu, 13 Jan 2005 10:01:33 +0100 (CET) Message-ID: <41E6393E.9060301@i-medlab.com> Date: Thu, 13 Jan 2005 10:02:54 +0100 From: Luca Cappa User-Agent: Mozilla Thunderbird 0.9 (X11/20041124) X-Accept-Language: en-us, en MIME-Version: 1.0 To: info-inventor-dev@oss.sgi.com Subject: Problems compiling OpenInventor Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at nekhem.com X-Virus-Status: Clean X-archive-position: 130 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: luca.cappa@i-medlab.com Precedence: bulk X-list: info-inventor-dev Hello, 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) in the root directory of the openinventor package, I'm getting this error: make[5]: Entering directory `/home/luca/openinventor/inventor/lib/database/src/so/engines' /usr/bin/yacc SoCalcParse.y SoCalcParse.y:121.7-12: type redeclaration for additive_expression make[5]: *** [SoCalcParse.c++] Error 1 make[5]: Leaving directory `/home/luca/openinventor/inventor/lib/database/src/so/engines I looked to the SoCalcParse.y file, and i just fixed this error removing the 'additive_expression' token from the line 121, or from the line 120, 'cauyse it is defined two times. Notice that my Bison version is: bison (GNU Bison) 1.875d Written by Robert Corbett and Richard Stallman. Greetings, Luca From jlim@kinabalu.csd.sgi.com Thu Jan 13 11:26:04 2005 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Thu, 13 Jan 2005 11:26:09 -0800 (PST) Received: from omx1.americas.sgi.com (omx1-ext.sgi.com [192.48.179.11]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j0DJQ3g1012788 for ; Thu, 13 Jan 2005 11:26:03 -0800 Received: from kinabalu.csd.sgi.com (kinabalu.csd.sgi.com [134.16.212.96]) by omx1.americas.sgi.com (8.12.10/8.12.9/linux-outbound_gateway-1.1) with ESMTP id j0DJQ2xT031217 for ; Thu, 13 Jan 2005 13:26:02 -0600 Received: from kinabalu.csd.sgi.com (localhost.csd.sgi.com [127.0.0.1]) by kinabalu.csd.sgi.com (SGI-8.12.5/8.12.5) with ESMTP id j0DJPUqp066382; Thu, 13 Jan 2005 11:25:50 -0800 (PST) Received: (from jlim@localhost) by kinabalu.csd.sgi.com (SGI-8.12.5/8.12.5/Submit) id j0DJOs7D066555; Thu, 13 Jan 2005 11:24:54 -0800 (PST) From: Jonathan Lim Message-Id: <200501131924.j0DJOs7D066555@kinabalu.csd.sgi.com> Subject: Re: Problems compiling OpenInventor To: luca.cappa@i-medlab.com (Luca Cappa) Date: Thu, 13 Jan 2005 11:24:54 -0800 (PST) Cc: info-inventor-dev@oss.sgi.com In-Reply-To: <41E6393E.9060301@i-medlab.com> from "Luca Cappa" at Jan 13, 2005 10:02:54 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean X-archive-position: 131 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: jlim@sgi.com Precedence: bulk X-list: info-inventor-dev Have a look in http://oss.sgi.com/bugzilla/show_bug.cgi?id=281 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. Jonathan On Thu Jan 13 01:02:54 2005, luca.cappa@i-medlab.com wrote: > > Hello, > > 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) in the root directory of > the openinventor package, I'm getting this error: > > make[5]: Entering directory > `/home/luca/openinventor/inventor/lib/database/src/so/engines' > /usr/bin/yacc SoCalcParse.y > SoCalcParse.y:121.7-12: type redeclaration for additive_expression > make[5]: *** [SoCalcParse.c++] Error 1 > make[5]: Leaving directory > `/home/luca/openinventor/inventor/lib/database/src/so/engines > > I looked to the SoCalcParse.y file, and i just fixed this error removing > the 'additive_expression' token from the line 121, or from the line 120, > 'cauyse it is defined two times. > > Notice that my Bison version is: bison (GNU Bison) 1.875d Written by > Robert Corbett and Richard Stallman. > > Greetings, > Luca From steven.robbins@videotron.ca Thu Jan 13 20:37:55 2005 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Thu, 13 Jan 2005 20:38:00 -0800 (PST) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j0E4bswS012693 for ; Thu, 13 Jan 2005 20:37:55 -0800 Received: from riemann.nyongwa.montreal.qc.ca ([24.37.77.196]) by VL-MO-MR001.ip.videotron.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0IAA00NCRFB54I@VL-MO-MR001.ip.videotron.ca> for info-inventor-dev@oss.sgi.com; Thu, 13 Jan 2005 22:35:29 -0500 (EST) Received: from steve by riemann.nyongwa.montreal.qc.ca with local (Exim 3.36 #1 (Debian)) id 1CpIFF-0006jU-00; Thu, 13 Jan 2005 22:35:29 -0500 Date: Thu, 13 Jan 2005 22:35:29 -0500 From: "Steve M. Robbins" Subject: Re: Problems compiling OpenInventor In-reply-to: <200501131924.j0DJOs7D066555@kinabalu.csd.sgi.com> To: Jonathan Lim Cc: Luca Cappa , info-inventor-dev@oss.sgi.com Message-id: <20050114033529.GD5338@nyongwa.montreal.qc.ca> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.5.6+20040907i References: <41E6393E.9060301@i-medlab.com> <200501131924.j0DJOs7D066555@kinabalu.csd.sgi.com> X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean X-archive-position: 132 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: steven.robbins@videotron.ca Precedence: bulk X-list: info-inventor-dev 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 asgn primary_expression postfix_expression %type unary_expression %type multiplicative_expression additive_expression -%type additive_expression relational_expression +%type relational_expression %type equality_expression logical_AND_expression %type logical_OR_expression conditional_expression %type 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 From luca.cappa@i-medlab.com Fri Jan 14 03:56:15 2005 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Fri, 14 Jan 2005 03:56:19 -0800 (PST) Received: from avalon.nekhem.com (avalon.nekhem.com [213.254.11.62]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j0EBuEcs019828 for ; Fri, 14 Jan 2005 03:56:15 -0800 Received: from localhost (localhost [127.0.0.1]) by avalon.nekhem.com (Postfix) with ESMTP id 01D2C2BC97 for ; Fri, 14 Jan 2005 12:56:06 +0100 (CET) Received: from avalon.nekhem.com ([127.0.0.1]) by localhost (avalon [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 19396-04 for ; Fri, 14 Jan 2005 12:56:06 +0100 (CET) Received: from [10.0.1.77] (teotihuacan.nekhem.com [213.254.11.58]) by avalon.nekhem.com (Postfix) with ESMTP id 70D3F2BC95 for ; Fri, 14 Jan 2005 12:56:06 +0100 (CET) Message-ID: <41E7B3A4.3000305@i-medlab.com> Date: Fri, 14 Jan 2005 12:57:24 +0100 From: Luca Cappa User-Agent: Mozilla Thunderbird 0.9 (X11/20041124) X-Accept-Language: en-us, en MIME-Version: 1.0 To: info-inventor-dev@oss.sgi.com Subject: Re: Problems compiling OpenInventor References: <41E6393E.9060301@i-medlab.com> <200501131924.j0DJOs7D066555@kinabalu.csd.sgi.com> <20050114033529.GD5338@nyongwa.montreal.qc.ca> In-Reply-To: <20050114033529.GD5338@nyongwa.montreal.qc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at nekhem.com X-Virus-Status: Clean X-archive-position: 133 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: luca.cappa@i-medlab.com Precedence: bulk X-list: info-inventor-dev Hello, Steve M. Robbins wrote: > 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 > > Ah, i did not know that the package was already available for Debian :) Thanks for pointing me that out. Greetings, Luca