Bug#563523: freecad: Crash while trying to draw rectangle

Werner Mayer werner.wm.mayer at gmx.de
Wed Jan 6 12:50:53 UTC 2010


Hi all,

After some time I have retraced the actual problem. The error is caused 
because the swig package is not set in Build-Depends in the control file.

At configure time it is checked whether swig is installed on the system 
or not. If not, some default swig interface files are used (a fallback 
solution for the Windows platform). The used default interface files, 
however, are incompatible to the swig structure of the internal objects 
in the pivy package which uses swig 1.3.40.

So, adding swig as a build dependency fixes the problem already because 
when building the sources the interface file swigpyrun.h for version 
1.3.40 gets created automatically and everything is fine.

Werner






More information about the debian-science-maintainers mailing list