Denis Barbier wrote: > On 2010/5/10 Thomas Paviot wrote: >> Hard to answer this question: it depends on your machine. Maybe the >> compilation is longer on Linux than on MacOSX : it's about 1h30 on my >> MacBookPro. > [...] > > Ditto on my Linux laptop, IIRC. > I did not check how much memory is needed, but John, maybe you run out > of memory (because of swig?) and are swapping a lot?
It completed after about 7 hours. My machine is just 1GHz and with all the other apps running when I started the compile, it had just 220MB of RAM unused according to top. That was probably it. So now I do install and something is off. Here's the message: j...@toolbench:/backups-650mb/pythonocc-read-only/src$ sudo python setup.py install Building pythonOCC-0.5dev for linux2 Checking OCC Standard_Transient.hxx header ... found Checking OpenCASCADE libraries BinLPlugin BinPlugin BinXCAFPlugin FWOSPlugin PTKernel StdLPlugin StdPlugin TKAdvTools TKBin TKBinL TKBinTObj TKBinXCAF TKBO TKBool TKBRep TKCAF TKCDF TKernel TKFeat TKFillet TKG2d TKG3d TKGeomAlgo TKGeomBase TKHLR TKIGES TKLCAF TKMath TKMesh TKMeshVS TKNIS TKOffset TKOpenGl TKPCAF TKPLCAF TKPrim TKPShape TKService TKShapeSchema TKShHealing TKStdLSchema TKStdSchema TKSTEP TKSTEP209 TKSTEPAttr TKSTEPBase TKSTL TKTObj TKTopAlgo TKV2d TKV3d TKVRML TKXCAF TKXCAFSchema TKXDEIGES TKXDESTEP TKXMesh TKXml TKXmlL TKXmlTObj TKXmlXCAF TKXSBase XCAFPlugin XmlLPlugin XmlPlugin XmlXCAFPlugin ... found. Checking salomegeometry GEOMAlgo_Algo.hxx header ... found Checking salomegeometry GEOM library ... not found GEOM library not found on your system This will build the GEOM project and install shared library to /usr/local/lib I already built GEOM by: cd ./src/contrib/GEOM cmake . make sudo make install I executed theinstall anyway and see things like this happening: copying build/lib.linux-i686-2.5/OCC/_Geom2dAPI.so -> /usr/lib/python2.5/site-packages/OCC copying build/lib.linux-i686-2.5/OCC/_Geom2dConvert.so -> /usr/lib/python2.5/site-packages/OCC So maybe it's OK. John _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users