I am trying to port OCC to a new platform (Unix Based) .
I've started by downloading the Linux 5.2 release (sigh more then 1 year old) and running the java installer to install the source files since there doesn't seem to be any other way to get them.
the following files/directories are created at the install level
Keep in mind this is on a non-linux platform, so I can't run any executables that might be provided here.
I try to find $CASROOT/adm/make/ as stated in 89_WebHELP/welcome/building_modules.htm but the only adm directory I find is in ros and contains no makefile or autoconf files.
There doesn't seem to be a top level makefile that let's you at least figure out how the whole thing goes together or the libraries gets made or anything, I would be more then happy to provide an FAQ to explain this process if someone could point me in the correct direction.
I found http://sourceforge.net/projects/autoopencas which gives me some ideas but doesn't seem to have been updated since 2001. I suppose it gives me a starting point, but starting with 4 year old code is really going to slow this down.
Any ideas?
~JM
Etienne LORRIAUX
2005/10/24 12:57
Hello Jean-Marc
the ros directory should contain a configure script. I've already tried to compile OCC modules on Gentoo/Alpha or Tru64Unix/Alpha and it wotks quite fine. Be sure to use gcc-3.2.3 and tcl/tk-8.3.4 and precise it to the configure script.
Jean-Marc Henriette
2005/10/25 16:07
Thanks Etienne,
I've downloaded both the Linux and Solaris public installs(5.2) and run "setup.jar" . The ros directory that is created as part of each installation doesn't seem to contain any files at the root /ros/ level , just directories. Am I doing something wrong in the installation process? I've tried to re-install several time (making sure to triple check that the build procedure and source are included. It there another place I can get these configure files?
~JM
Etienne LORRIAUX
2005/10/26 11:06
How do you install OCC ?
You have to run 'java -jar setup.jar' (or the install script) and use the java install frontend. If you leave install directories to their default config, it should create /opt/OpenCASCADE5.2 that contains binaries and sources, depending on your choices during install. And you should find something like this :
If you have problems with the java install, you can do the install process on a linux machine and then copy the /opt/OpenCASCADE5.2/ros directory to your Unix machine to compile it.
Jean-Marc Henriette
2005/11/18 17:27
Just to finish out the thread, I ended up finding someone with a Linux box to help me out. It's a pretty bad solution and IMHO should be fixed to allow a source only all-platform download option, or modify the installer to allow you to pick which OS you are running the installer as (defaulting to `uname`).
~JM