[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Problem Installing 0.5.08

From: Ian Barton
Subject: Re: [Duplicity-talk] Problem Installing 0.5.08
Date: Mon, 09 Feb 2009 11:06:26 +0000
User-agent: Thunderbird (X11/20090105)

Ian Barton wrote:
Kenneth Loafman wrote:
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.

I do have both those installed and I can compile 0.5.08 with no errors. However, that does give me a clue. I am having a couple of other package problems and I suspect something ha got messed up. I'll do some more digging. However, I must remember to stop before the hole gets too big:)

Fixed now. Somehow the pexpect and librsync packages had become uninstalled, even though I didn't un-install them. What was particularly baffling was that I could install 0.5.05, even after a make clean and it still worked, despite the missing packages.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]