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

OpenInventor Solaris patch set with build instructions (Adapted for 2.1.

To: info-inventor-dev@xxxxxxxxxxx
Subject: OpenInventor Solaris patch set with build instructions (Adapted for 2.1.5-10)
From: Vincent Cojot <coyote@xxxxxxxxxxxxxxx>
Date: Wed, 7 Jan 2004 05:03:42 -0500 (EST)
In-reply-to: <3026.212.208.45.51.1031228674.squirrel@mail.step.polymtl.ca>
References: <3026.212.208.45.51.1031228674.squirrel@mail.step.polymtl.ca>
Sender: info-inventor-dev-bounce@xxxxxxxxxxx
Hi Everyone,

Not having noticed that 2.1.5-10 had been released, I'm releasing an
adapted patch to make it compile under Solaris only now..

The requirements have changed a bit:

* You need Gnome-2 from SUN for a supported version of freetype2 and
libjpeg (the makefiles reflect this).
(get it from: http://www.sun.com/software/star/gnome)

* You need the usual SFW packages (bison, gm4, yacc, etc..)

* You need OpenGL 1.3 from SUN (untested with 1.2.3 but it should work..).

I'm compiling this on Solaris 8 with gcc-3.3.2 for improved c++
reliability and it works for me (tm). :)

The patch is available at:
http://step.polymtl.ca/~coyote/OpenInventor-2.1.5.10-Solaris.patch.gz
MD5 is:
d73a58829214fd306fe660dea3d77765  OpenInventor-2.1.5.10-Solaris.patch.gz

Step to rebuild:
1) Get inventor source from oss.sgi.com.

2) extract it:
  - cd /usr/local/src
  - gzip -dc inventor-2.1.5-10.src.tar.gz
  - cd inventor

3) Apply patch (you obviously already did if you are reading this):
  - gpatch -p1 -b < OpenInventor-2.1.5.10-Solaris.patch
  You have to use GNU patch for this to work.

4) Compile it as:
  bash ./build_solaris_inventor.sh

NOTE: I'm invoking the compiler as "gcc3" and "g++3".
That's because I kept gcc-2.95.3 as "gcc" and "g++" on my systems.
You'll have to change this in inventor/make/ivcommondefs if your gcc-2.x
or gcc-3.x is invoked as "gcc" and "g++" on your system.

Those who still use my OpenInventor-2.1.5.9-Solaris.patch patch should
upgrade to 2.1.5-10 and that newer patch as I have cleaned things up a bit
since then.

,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'
http://step.polymtl.ca/~coyote  _.,-*~'`^`'~*-,._ coyote@xxxxxxxxxxxxxxx

They cannot scare me with their empty spaces
Between stars - on stars where no human race is
I have it in me so much nearer home
To scare myself with my own desert places.       - Robert Frost

Attachment: OpenInventor-2.1.5.10-Solaris.patch.gz
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>
  • OpenInventor Solaris patch set with build instructions (Adapted for 2.1.5-10), Vincent Cojot <=