Installing Python Bindings

... offonoffoffonoff at gmail.com
Mon Sep 13 13:16:45 EDT 2010


>
> I will attempt to build gnucash 2.2.9 with the python bindings patch (dont
> know how yet).  I think 2.2.9 is the way to go because I am not a developer
> and I would like this to be stable for everyday use, with occasional use of
> python scripts.
>

I downloaded the gnucash source from http://www.gnucash.org/download.phtml

I grabbed both 2.2.9 and 2.3.15

I also downloaded the patch from
http://download.savannah.gnu.org/releases/python-gnucash/

I used the patch function from svn to apply the patch (took command from
generic svn patching tutorial).  This was run in the lowest directory of the
source to be patched (/usr/src/gnucash-2.2.15/).  I got the same errors
running this on both 2.2.9 and 2.3.15, and running with/without sudo.

Suggestions?

elbiot at elbitop:/usr/src/gnucash-2.2.9$ patch -p0 -i
/home/elbiot/Desktop/tmp/python-binding_2008-06-06.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --exclude=.svn -urN gnucash-trunk/src/optional/Makefile.am
gnucash-python-binding-clean/src/optional/Makefile.am
|--- gnucash-trunk/src/optional/Makefile.am    2008-06-05 15:42:42.000000000
-0500
|+++ gnucash-python-binding-clean/src/optional/Makefile.am    2008-06-05
15:42:01.000000000 -0500
--------------------------

[snip (lots of successful bits)]

patching file gnucash-trunk/src/optional/python-bindings/timespec.i
can't find file to patch at input line 1285
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- gnucash-trunk/configure.in    2008-06-05 15:44:22.000000000 -0500
|+++ gnucash-python-binding-clean/configure.in    2008-06-05
15:44:50.000000000 -0500
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
3 out of 3 hunks ignored
patching file gnucash-trunk/src/engine/engine-common.i
can't find file to patch at input line 1371
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --exclude=.svn -urN gnucash-trunk/src/engine/engine.i
gnucash-python-binding-clean/src/engine/engine.i
|--- gnucash-trunk/src/engine/engine.i    2008-06-05 15:43:18.000000000
-0500
|+++ gnucash-python-binding-clean/src/engine/engine.i    2008-06-05
15:43:06.000000000 -0500
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
3 out of 3 hunks ignored
patching file gnucash-trunk/macros/ac_python_devel.m4
can't find file to patch at input line 1512
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- gnucash-trunk/src/base-typemaps.i    2008-06-05 15:43:21.000000000
-0500
|+++ gnucash-python-binding-clean/src/base-typemaps.i    2008-06-05
15:43:10.000000000 -0500
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
3 out of 3 hunks ignored


More information about the gnucash-devel mailing list