Re: Problem with python bindings

2009-04-13 Thread Derek Atkins
Phi, Phil Longstaff writes: > Now, 'make check' halts in src/optional/python-bindings with: > > make[1]: Entering directory `/home/phil/gnucash2/trunk/src/optional/python- > bindings/tests' > * 17:26:15 WARN [qof_backend_module_init()] GNC_DBD_DIR > not > set: using /usr/lib/dbd > ERROR: Sta

Re: Problem with python bindings

2009-04-13 Thread Derek Atkins
Phil, Phil Longstaff 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 pyth

Re: Problem with python bindings

2009-04-13 Thread Derek Atkins
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 writes: > Without "--enable-python-bindings", SWIG_PYTHON_OPTS in src/optional/python-

Re: Problem with python bindings

2009-04-12 Thread Phil Longstaff
Now, 'make check' halts in src/optional/python-bindings with: make[1]: Entering directory `/home/phil/gnucash2/trunk/src/optional/python- bindings/tests' * 17:26:15 WARN [qof_backend_module_init()] GNC_DBD_DIR not set: using /usr/lib/dbd ERROR: Stack overflow FAIL: runTests.py =

Re: Problem with python bindings

2009-04-12 Thread Phil Longstaff
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 re

Re: Problem with python bindings

2009-04-07 Thread Derek Atkins
Quoting Phil Longstaff : On April 7, 2009 10:01:45 am you wrote: Phil Longstaff writes: >> What do you get from: pkg-config --cflags tcl >> >> > Phil >> >> -derek > > p...@phil-laptop:~/gnucash2/trunk/src/optional/python-bindings$ > pkg-config --cflags tcl > Package tcl was not found in the pk

Re: Problem with python bindings

2009-04-07 Thread Phil Longstaff
On April 7, 2009 10:01:45 am you wrote: > Phil Longstaff writes: > >> What do you get from: pkg-config --cflags tcl > >> > >> > Phil > >> > >> -derek > > > > p...@phil-laptop:~/gnucash2/trunk/src/optional/python-bindings$ > > pkg-config --cflags tcl > > Package tcl was not found in the pkg-config

Re: Problem with python bindings

2009-04-07 Thread Derek Atkins
Phil Longstaff writes: >> What do you get from: pkg-config --cflags tcl >> >> > Phil >> >> -derek > > p...@phil-laptop:~/gnucash2/trunk/src/optional/python-bindings$ pkg-config > --cflags tcl > Package tcl was not found in the pkg-config search path. > Perhaps you should add the directory contain

Re: Problem with python bindings

2009-04-06 Thread Christian Stimming
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 ". On > my distro (kubuntu 9.04 beta), the tcl8.4-dev package puts tcl.h into > /usr/include/tcl8.4/tcl.h. I d

Re: Problem with python bindings

2009-04-06 Thread Phil Longstaff
On April 6, 2009 08:37:31 am Derek Atkins wrote: > hi, > > Quoting 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 ". > > On my distro (kubuntu 9.04 beta), the tcl8.4-dev package puts tcl.h i

Re: Problem with python bindings

2009-04-06 Thread Derek Atkins
hi, Quoting 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 ". 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-bindin

Problem with python bindings

2009-04-06 Thread 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 ". 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