Problem with python bindings

Christian Stimming stimming at tuhh.de
Mon Apr 6 15:02:02 EDT 2009


Am Montag, 6. April 2009 14:31 schrieb Phil Longstaff:
> I'm running into a compilation problem with the python bindings.
>
> gnucash_core.c is looking for tcl.h using the line "#include <tcl.h>".  On
> my distro (kubuntu 9.04 beta), the tcl8.4-dev package puts tcl.h into
> /usr/include/tcl8.4/tcl.h.  I don't see that the python-bindings Makefile
> system allows for alternative paths to that file.

I don't know why your gnucash_core.c requests <tcl.h> - mine does not. Also, 
your other problem with <datetime.h> is running fine here, because it 
includes the correct path to the include/python2.5 directory (I'm using 
python 2.5 over here).

Sounds to me your SWIG might not fully or correctly support your installed 
python version?

Regards,

Christian


More information about the gnucash-devel mailing list