Hi Loic, I faced the same issue with Snow Leopard 64 bits (actually the same traceback). I had to tweak the configure.ac script and rebuild salomegeometry.
Please can you test the following operation: First apply the attached patch (It can be easily done manually) Then: cd (your_salomegeomtry_path)/trunk/adm/lin aclocal automake autoconf ./configure --prefix=your_prefix make sudo make install On my machine, it was enough to have the paf_unittest pass. I submitted the patch to Fotis (the salomegeomtry project maintener) and it should be soon commited. Cheers, Thomas macbook-pro-de-thomas-paviot:lin thomas$ svn diff configure.ac Index: configure.ac =================================================================== --- configure.ac (revision 181) +++ configure.ac (working copy) @@ -16,6 +16,13 @@ # check for libtool AC_PROG_LIBTOOL +# check for 64 bits platform +AC_MSG_CHECKING([if platform is 64-bit]) +AC_TRY_COMPILE( [], + [int array[((int)sizeof(void*))-6];], + [AC_MSG_RESULT([yes]); CPPFLAGS="$CPPFLAGS -D_OCC64"; case $platform in Linux*) CPPFLAGS="$CPPFLAGS -m64";; esac], + [AC_MSG_RESULT([no])] ) + AC_CONFIG_HEADERS([config.h]) AC_LANG_PUSH([C++]) # when using limits without .h CHAR_BIT is not found 2009/9/20 Simon Loic <simon1l...@gmail.com> > Hi > > Strrange: the two backtraces are very different, whereas the python scripts >> are quite similar. I will investigate this further in the begining of the >> next week. I just >> > > The main difference between the two scripts attached before is the order of > the calls: > in PAF1.py, I add parameters height and radius to p before I create the > context, and in PAF2.py it is the other way around. > Note that in PAF1.py python segfaults when creating the cylinder while in > PAF2.py it crashes when I quit python. I would like also to bring you > attention on the strange message sent by python when creating p.height and > p.radius (see PAF1.log). Talking about this, there aren't such message in > PAF2.log which means that the order might be at stack. > > >> have another question: do the samples in the /src/samples/Level2/PAF work >> or do they also segfault? >> > > They also segfaults when I close the 3D viewer this time. Also, a > difference that could make sens for you, In those examples I can interact > with the 3D viewer (rotate, ... even the zoom window works). While in > PAF2.py, the viewer seems freezed, I can't even close it (thats why I have > to call quit() ). > > > I hope we can figure this out, but right now I'm just going to sleep. > See you, > Loïc > > _______________________________________________ > 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