Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

OCC 6.3 on Ubuntu Intrepid

Torsten Sadowski's picture


I found two points when installing OpenCASCADE6.3.0 on Ubuntu Intrepid Ibex. The outdated ltmain.sh led to a heavily memory leaking libtool which crashed the system. This can be solved by using the system libtools ltmain.sh. The second is a small file creation problem in WOKUnix.

Cheers, Torsten

Patch for WOK:

--- WOKUnix_FDescr.cxx.orig 2009-01-19 21:17:29.000000000 +0100
+++ WOKUnix_FDescr.cxx 2009-01-20 14:12:24.000000000 +0100
@@ -202,7 +202,8 @@
if(mknod(apath.ToCString(), 0700 | S_IFIFO, 0))
{ perror(apath.ToCString());}

- myFileChannel = open(apath.ToCString(), O_RDONLY | O_NDELAY | O_CREAT);
+ myFileChannel = open(apath.ToCString(), O_RDONLY | O_NDELAY | O_CREAT,

// write end of pipe is unbuffered also

To build:

export CASROOT=/home/totty/Projects/OpenCASCADE6.3.0/ros
cp /usr/share/libtool/config/ltmain.sh make/
export TCLHOME=/usr
flags="$flags --with-tcl=${TCLHOME}/lib/tcl8.4"
flags="$flags --with-tk=${TCLHOME}/lib/tk8.4 "
flags="$flags --with-java-include=/usr/lib/jvm/java-1.5.0-sun- "
flags="$flags --disable-debug --enable-production"
#flags="$flags --enable-debug --disable-production"
flags="$flags --enable-wrappers=yes"
flags="$flags --enable-wok=yes"
flags="$flags --enable-draw=yes"
./configure --prefix=${CASROOT}/bootstrap_lin $flags
make install

Steven Zalek's picture

Tosten, thanks for this installation help.

I would like to also build a debug library. Should I just copy the source over to a new directory (e.g. OpenCASCADE6.3.0-dbg) and perform the steps anew (with debug enabled)? Do I need to specifically define a new installation (make install) directory as well in order to keep both the production and debug versions?


Torsten Sadowski's picture

Hi Steven,

you have to run configure/make/make install again with a new --prefix option.

Cheers, Torsten