Hi Health, pythonOCC-0.3 is built by default with salomegeom support. First check that your installation of salomegeom is ok. Otherwise, you can disable salomegeom support by passing the -NO_GEOM option at the command line: python setup.py build -NO_GEOM
A pythonocc debian package would really be a great contribution! Bets Regards, Thomas 2009/11/18 Heath Matlock <heathmatl...@gmail.com> > Oi, I'm creating a .deb for pythonocc, what follows is an error that > I'm not sure how to do deal with, suggestions? > > You can skip all that and just look at the main error: /usr/bin/ld: > cannot find -lShHealOper but here it is in all its glory: > > he...@togetic:~/pythonocc-debianization/pythonocc-0.3/src$ python > setup.py build --build-base=../debian/pythonocc/build > Building pythonOCC-path_to_0.4 for linux2. > running build > running build_py > package init file 'OCC/__init__.py' not found (or not a regular file) > creating ../debian/pythonocc > creating ../debian/pythonocc/build > creating ../debian/pythonocc/build/lib.linux-i686-2.5 > creating ../debian/pythonocc/build/lib.linux-i686-2.5/OCC > creating ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Display > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Display/wxSamplesGui.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Display > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Display/OCCViewer.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Display > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Display/wxDisplay.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Display > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Display/wxSamplesGui2d.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Display > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Display/__init__.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Display > creating ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Utils > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Utils/Topology.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Utils > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Utils/Decorators.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Utils > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Utils/Common.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Utils > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Utils/Context.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Utils > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Utils/Construct.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Utils > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Utils/__init__.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Utils > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Utils/Image.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Utils > creating > ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Utils/DataExchange > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Utils/DataExchange/STL.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Utils/DataExchange > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Utils/DataExchange/STEP.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Utils/DataExchange > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Utils/DataExchange/utils.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Utils/DataExchange > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Utils/DataExchange/IGES.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Utils/DataExchange > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/Utils/DataExchange/__init__.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Utils/DataExchange > creating ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/PAF > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/PAF/Parametric.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/PAF > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/PAF/Context.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/PAF > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/PAF/__init__.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/PAF > creating ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Toolkits > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/Toolkits/__init__.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Toolkits > creating ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/KBE > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/KBE/TypesLookup.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/KBE > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/KBE/Level2API.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/KBE > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/addons/KBE/__init__.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/KBE > creating > ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Toolkits/FoundationClasses > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/Toolkits/FoundationClasses/TKMath.py > -> > ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Toolkits/FoundationClasses > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/Toolkits/FoundationClasses/test_import.py > -> > ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Toolkits/FoundationClasses > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/Toolkits/FoundationClasses/__init__.py > -> > ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Toolkits/FoundationClasses > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/Toolkits/FoundationClasses/TKAdvTools.py > -> > ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Toolkits/FoundationClasses > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/Toolkits/FoundationClasses/TKernel.py > -> > ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Toolkits/FoundationClasses > creating > ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Toolkits/ModelingData > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/Toolkits/ModelingData/TKG2d.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Toolkits/ModelingData > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/Toolkits/ModelingData/TKGeomBase.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Toolkits/ModelingData > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/Toolkits/ModelingData/TKG3d.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Toolkits/ModelingData > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/Toolkits/ModelingData/__init__.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Toolkits/ModelingData > copying > /home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/Toolkits/ModelingData/TKBRep.py > -> ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/Toolkits/ModelingData > package init file 'OCC/__init__.py' not found (or not a regular file) > running build_ext > building 'OCC._Standard' extension > swigging > /home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/SWIG/linux_darwin/Standard.i > to > /home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/SWIG/linux_darwin/Standard_wrap.cpp > swig -python -python -modern -fcompact -c++ -DHAVE_LIMITS_H > -DHAVE_CONFIG_H -DCSFDB -w302,314,509,512 -DOCC_CONVERT_SIGNALS -DLIN > -DLININTEL -D_GNU_SOURCE=1 -outdir > /home/heath/pythonocc-debianization/pythonocc-0.3/src/OCC -o > > /home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/SWIG/linux_darwin/Standard_wrap.cpp > > /home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/SWIG/linux_darwin/Standard.i > creating ../debian/pythonocc/build/temp.linux-i686-2.5 > creating ../debian/pythonocc/build/temp.linux-i686-2.5/home > creating ../debian/pythonocc/build/temp.linux-i686-2.5/home/heath > creating > ../debian/pythonocc/build/temp.linux-i686-2.5/home/heath/pythonocc-debianization > creating > ../debian/pythonocc/build/temp.linux-i686-2.5/home/heath/pythonocc-debianization/pythonocc-0.3 > creating > ../debian/pythonocc/build/temp.linux-i686-2.5/home/heath/pythonocc-debianization/pythonocc-0.3/src > creating > ../debian/pythonocc/build/temp.linux-i686-2.5/home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper > creating > ../debian/pythonocc/build/temp.linux-i686-2.5/home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/SWIG > creating > ../debian/pythonocc/build/temp.linux-i686-2.5/home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/SWIG/linux_darwin > g++ -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DCSFDB > -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -D_GNU_SOURCE=1 > -D__PYTHONOCC_MAXINT__=2147483647 > -I/home/heath/builds/opencascade/ros/inc > > -I/home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/SWIG/linux_darwin > -I/usr/include/python2.5 -c > > /home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/SWIG/linux_darwin/Standard_wrap.cpp > -o > ../debian/pythonocc/build/temp.linux-i686-2.5/home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/SWIG/linux_darwin/Standard_wrap.o > -O0 -march=i686 > cc1plus: warning: command line option "-Wstrict-prototypes" is valid > for Ada/C/ObjC but not for C++ > g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions > > ../debian/pythonocc/build/temp.linux-i686-2.5/home/heath/pythonocc-debianization/pythonocc-0.3/src/wrapper/SWIG/linux_darwin/Standard_wrap.o > -L/home/heath/builds/opencascade/ros/lib -L/opt/SalomeGeometry/lib > -lSketcher -lShHealOper -lPartition -lNMTTools -lNMTDS -lGEOM > -lGEOMImpl -lGEOMAlgo -lArchimede -o > ../debian/pythonocc/build/lib.linux-i686-2.5/OCC/_Standard.so > -Wl,--no-undefined -lm -lstdc++ -lpython2.5 > /usr/bin/ld: cannot find -lShHealOper > collect2: ld returned 1 exit status > error: command 'g++' failed with exit status 1 > > > -- > Heath Matlock > +1 256 274 4225 > > _______________________________________________ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users >
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users