Re: patch needed for swig or python

2006-12-20 Thread Doug Henry
I think my last post clears up the issue. An interface change was made in python 2.5 that broke swig prior to 1.3.30. So I think its simply a problem that openpkg includes python 2.5 and swig 1.3.29. I downloaded swig 1.3.31, updated the swig.spec file, build the package and everything works.

patch needed for swig or python

2006-12-19 Thread Doug Henry
Not sure which is broken yet, but there is an incompatibility between swig and python in openpkg when using C++. I haven't found the patch yet, but debian swig/python works. The process I use is: g++ -c file.cpp swig -c++ -python file.i g++ -c `python-config --includes` file_wrap.cxx during

Re: patch needed for swig or python

2006-12-19 Thread Doug Henry
Built a swig-1.3.31 package and confirmed generated swig code works with python 2.5. On 12/19/06, Doug Henry [EMAIL PROTECTED] wrote: I found some info that suggests versions of swig prior to 1.3.30 are incompatible with python 2.5. On 12/19/06, Doug Henry [EMAIL PROTECTED] wrote: Not