Ian Barton wrote:
Just trying to upgrade from 0.5.05 and I am getting the following error:
building 'duplicity._librsync' extension
creating build/temp.linux-i686-2.5
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c _librsyncmodule.c
-o build/temp.linux-i686-2.5/_librsyncmodule.o
_librsyncmodule.c:25:20: error: Python.h: No such file or directory
In file included from _librsyncmodule.c:26:
/usr/include/librsync.h:367: error: expected ‘)’ before ‘*’ token
/usr/include/librsync.h:369: error: expected ‘)’ before ‘*’ token
/usr/include/librsync.h:372: error: expected ‘)’ before ‘*’ token
From the README:
If you install from the source package, you will also need:
* Python development files, normally found in module 'python-dev'.
* librsync development files, normally found in module 'librsync-dev'.
The compiler did not find Python.h and the rest is because of that.