Problem with python bindings

Derek Atkins warlord at MIT.EDU
Mon Apr 13 12:17:12 EDT 2009


Phil,

Phil Longstaff <plongstaff at rogers.com> writes:

> Without "--enable-python-bindings", SWIG_PYTHON_OPTS in
> src/optional/python- bindings/Makefile is the null string.  In this
> case, the swig command creating gnucash_core.c from gnucash_core.i
> seems to create tcl bindings.  In my case, I hadn't enabled the python
> bindings, but "make check" still required gnucash_core.c.

I just looked at the code here and I believe the correct fix is to
NOT use SWIG_PYTHON_OPTS and instead just use "-python".  I've
made this change in trunk already, so this issue should be fixed.

As for why gnucash_core.c is required by "make check" -- that's
weird, because if you dont enable the python bindings it shouldn't
run any python tests.

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list