Mon, 04/26/2010 - 22:05
I have created a Fink package for OCC 6.3. So anyone using Fink can install OCC easily. I use the sources from Salome because I hope that I will find some time to package all of Salome as well.
- Download and unpack a full Salome (Debian Etch version for instance)
- Copy CAS-6.3sp8.tar.gz and CAS-6.3sp8-patch.tar.gz into /sw/src (or wherever your fink sources are)
- Copy the attached opencascade.info and opencascade.patch into /sw/fink/10.6/local/main/finkinfo/
- Run: fink index
- Run: fink install opencascade
If (hopefully) all went well try to execute DRAWEXE.
Mon, 04/26/2010 - 22:06
And here the patch.
Thu, 04/29/2010 - 00:35
Thanks for this excellent news. Fink is definitely a good choice to package Salome on OSX.
I have a question related to OCC licensing: according to the 'What's new' section of this site, the latest OCC public release is 6.3.0. The 6.3.1 is a maintenance release, only available for OCC customers. What is the legal status of the 6.3sp8 included in the Salome distribution? Can it be freely redistributed ? (I did not read the licence file yet, currently downloading the huge Etch tar.gz archive). At last, do you know the difference between this SP8 and the 6.3.1 release?
Thu, 04/29/2010 - 01:20
Just downloaded/extracted the CAS-6.3sp8_SRC folder from the InstallWizard_5.1.3_Debian_4.0.tar.gz archive. I can't find any LICENSE file.
Sun, 05/02/2010 - 21:04
I should always look in every line of a file. I changed the license field to the OCC license which I would expect to be the one valid.
I have no idea if SP8 and 6.3.1 are related but I would expect some bugfixing.
Does the package work for you?
Mon, 05/03/2010 - 10:51
* The OCC 6.3Sp8 packaging from the Salomé team is really weird : no LICENCE file, and all the licence headers were removed. Just remind that Salomé is LGPL licensed:
Copied/Pasted from the Salome-platform website:
SALOME platform is LGPL licensed
Pre-requisite products (> than 15)
LGPL or similar license
Use “as is” in SALOME
Download, use, modify and re-distribute SALOME platform
Implement own modules and applications basing on SALOME platform
Charge a fee for own module or application (but not for SALOME itself)
Since there is not different or specific LICENSE file in the CAS6.3Sp8 folder, one might consider that the LGPL license terms is de facto propagated to the CAS6.3Sp8 folder. I think this is a critical hole in the OCC IP: this LGPL'd OCC6.3Sp8 can lead to an LGPL fork of OCC, disconnected from the official 6.3 branch, suitable to gather patches from the community.
What is weird is that Salomé is developed by CEA, EDF and OpenCascade. I can not imagine that this lack of LICENSE file is a mistake: these companies take care about their IP rights (it's a strategic issue) and have many talented lawyers. I'm a bit confused and I need some clear explanation about that point.
By the way, I don't think you're allowed to add/remove/change header files related to licensing. The license under which is distributed OCC does not depend on your choice or your feelings.
* Changelog from 6.3.0 to 6.3Sp8 is included in the source package.
* At last, I didn't test your fink installer yet.
Fri, 05/07/2010 - 13:48
Hello Torsten and Thomas,
Thank you for the notice about SALOME packaging - we have fixed the CASCADE packages coming with SALOME, the LICENSE will be now included.
Also I would like to clarify the point about the licensing of the CASCADE service pack distributions supplied with SALOME. The approach we use by no means breaks neither the CASCADE licensing nor its distribution policy. The CASCADE service pack is not the maintenance release, it is a minor release with a set of additional bug fixed required specifically for SALOME platform. And, according to the CASCADE license, these bug fixes are passed to OCCT development branch and queued for the next minor or maintenance release. All the usual life-cycle of the bug processing procedure is applied, including testing and verifying of these fixes for all supported platforms.
On the other hand, since service pack becomes a part of OCCT, it is distributed under the same license as CASCADE itself.
Wed, 11/23/2011 - 17:26
I'm attempting to install OCC 6.3 on Lion (10.7). Have you had any success with this? I came as far as having to doctor your info file a little and I was able to get past an issue where libtool14 doesn't seem to be available for fink on 10.7. But I am now having issues with missing tclConfig.sh files and stuff like that.
Wed, 11/23/2011 - 20:52
could you add tcltk-dev (>=8.4.0) to the BuildDepends? tclConfig.sh should be in this package in /sw/lib.
Are you using libtool2? What is stuff like that?
I will try to look into updating to CAS-6.3sp12
Thu, 11/24/2011 - 18:45
I added a dependency for tcltk-dev as you suggested and that seemed to make a difference. However, somewhere in the build I encountered this error:
../../../src/BRepClass3d/BRepClass3d_SClassifier.cxx:84:27: error: taking the
address of a temporary object of type 'TopoDS_Face'
1 error generated.
Obviously the build was aborted. Do you have any ideas?
Also, I'm trying to use sp13 not sp12 if that makes a difference.
Fri, 11/25/2011 - 00:40
every new C++ compiler seems to break older programs. I found some things that seem to be similar:
It seems to be a problem with clang and gcc-4.6. Fink for 10.7 has only gcc-4.6 left. Could you tell me, if /usr/bin/gcc-4.2 is still available on 10.7?
Fri, 11/25/2011 - 13:16
Os X 10.7 comes with gcc-4.2. I needed to install gcc-4.6 because it is required for OpenFOAM 2.0 on 10.7
Fri, 11/25/2011 - 23:00
could you add
after the ConfigureParams line and try again?