Hmm... If you do not enable to python bindings it should probably still run swig "properly" but it definitely should not build any of the code.. I'll go take a look at the build system.
-derek Phil Longstaff <[email protected]> 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. > > Phil > > On April 6, 2009 03:02:02 pm Christian Stimming wrote: >> 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 > > _______________________________________________ > gnucash-devel mailing list > [email protected] > https://lists.gnucash.org/mailman/listinfo/gnucash-devel > > -- 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 [email protected] PGP key available _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
