
Sat, 04/07/2007 - 23:46
Forums:
I downloaded the latest (6.2) release of OpenCascade and tried to
install it on a Debian Etch system. The install shell prints
Preparing Java(tm) Virtual Machine then a series of dots and then
quits. No error message, just returns to the shell prompt.
Any ideas ?
I really wish I could just get a tar of the source.
Sun, 04/08/2007 - 00:52
Hello Ray,
have a look at doc/install.htm. The java VM in the install package is linked against libs which Etch does not have. Use a java on your machine thats known to work and figure out the command line.
Cheers, Torsten
You are not the only one with that wish.
Sun, 04/08/2007 - 15:03
Hi Torsten,
Thanks for your quick reply.
After some research, the following works for me:
Install Debian package sun-java5-bin
cd /home/OpenCascade/Linux or wherever you unpacked the tar to.
Issue the following:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/bin/java -jar setup.jar
OpenCascade should now install
Thanks for your help.
PS do you know if OpenCascade is 64 bit safe? I would
like to build it for AMD64
Sun, 04/08/2007 - 23:56
Hi Ray,
there was something in the 6.2 release notes. I did not yet try it:
A new preprocessor macro _OCC64 has been added that allows to know, at compile time, whether
the code is compiled for 64- or 32-bit platform. This knowledge is necessary for platform-specific
code such as selection of value of UndefinedHandleAddress, memory block allocation granularity,
etc. The –D_OCC64 key must be added to CFLAGS and CXXFLAGS when compiling on a 64-bit
platform.
Cheers, Torsten
Mon, 04/09/2007 - 04:05
Hi Torsten,
Thansks for the info. I've now taken the time to closely read the release notes.
I think I have a problem somewhere in my build chain. The make
blows up on the very first source file:
../../../drv/Dico/Dico_DictionaryOfInteger_0.cxx: In function 'Handle_Standard_Type& Dico_DictionaryOfInteger_Type_()':
../../../drv/Dico/Dico_DictionaryOfInteger_0.cxx:51: error: 'Standard_Transient_Type_' was not declared in this scope
Any ideas?
Mon, 04/09/2007 - 18:00
Hava a look on this thread:
http://www.opencascade.org/org/forum/thread_10015/
Tue, 04/10/2007 - 20:56
Hi Jan,
Thanks for the link. I can now compile OCC with g++-4.0 and g++-4.1. I am having a strange problem with the make install
in /usr/local/lib though. The install procedure seems to be
dropping the .so suffix: libTKernal.so.0.0.0 gets installed as libTKernel.0.0.0 - I don't know if this is a problem with
the Makefiles or with libtool (my favorite program).
Thu, 01/17/2008 - 01:36
did you ever figure this out? i am having a similar problem on Ubuntu.
Sun, 01/20/2008 - 01:53
Please give my .deb package a try, see the separate thread I started yesterday. It includes a description of how I created the .orig.tar.gz, Jason Kraftcheck's minimal patchset to get it to build, and very basic Debian packaging. It builds, it installs, it should work.
Jason has since contributed some nice scripts which should help us to divide up the package a lot more sanely. See the threads at:
http://lists.debian.org/debian-science/2008/01/threads.html
-Adam
Sat, 04/14/2007 - 11:51
hi ray,
i have debian lenny and my installation ends with message 'JVM not found'.
i tried debian package sun-java5-bin and also java 1.4,
always the same message.
do you have idea how to successfully install opencascade on lenny?
i'm not using java, so i don't know where to look for help - google returns nothing usable.
thanks
jiri kastner
Sat, 04/14/2007 - 11:53
hi ray,
i have debian lenny and my installation ends with message 'JVM not found'.
i tried debian package sun-java5-bin and also java 1.4,
always the same message.
do you have idea how to successfully install opencascade on lenny?
i'm not using java, so i don't know where to look for help - google returns nothing usable.
thanks
jiri kastner
Mon, 04/16/2007 - 17:18
Check first if you have java runtime environment available by running 'java'.
If such command is not found - try to search it elsewhere on disk - it simply could be not in the path. If you've found it - put it in the path. In other case you need to install jvm first to run OCAS installer.
Mon, 04/16/2007 - 20:07
i have java on $PATH as you can see:
jkjr@debass:~/OCC/OCC62i/$ java -version
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
Thu, 05/03/2007 - 00:49
Just FYI, this also works on Ubuntu Feisty. You also need to install libstdc++2.10-glibc2.2 then create a symbolic link from /usr/lib/libstdc++-libc6.2-2.so.3 to /usr/lib/libstdc++-libc6.1-1.so.2.
EH
Thu, 07/17/2008 - 07:28
Hi Ray,
Ubuntu 8.04
Installed sun-java5-bin using the Add/Remove App
Issued following command:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/bin/java -jar setup.jar
Got the following response:
Unable to access jarfile setup.jar
List shows:
ControlPanel keytool orbd rmiregistry
java kinit pack200 servertool
java_vm klist policytool tnameserv
javaws ktab rmid unpack200
no setup file?
Newbie and learning...
MAP
Wed, 08/06/2008 - 04:11
http://www.opennovation.org/ubuntu/