[Top][All Lists]

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

Re: [Duplicity-talk] Problems Installing on Ubuntu Karmic

From: Ian Barton
Subject: Re: [Duplicity-talk] Problems Installing on Ubuntu Karmic
Date: Mon, 26 Oct 2009 07:49:07 +0000
User-agent: Thunderbird (X11/20090817)

Lou wrote:
On Sun, 25 Oct 2009 08:03:29 +0000
Ian Barton <address@hidden> wrote:

Ian Barton wrote:
This is probably something very simple, but I am stuck:) When
instaling on Jaunty I get (partial eror output):

address@hidden:~/devel/duplicity-0.6.05$ sudo python setup.py build
running build
running build_py
running build_ext
building 'duplicity._librsync' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c
_librsyncmodule.c -o build/temp.linux-i686-2.6/_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

I have librsync1, librsync-dev and librsync-dbg installed. The
version of duplicity in the Karmic repo (0.5 something) installs OK.

Solved. I had forgotten to install python-dev.


I often use checkinstall when installing Duplicity on Ubuntu or Debian:

sudo checkinstall python setup.py install

It integrates nicely into the package management system.


Thanks, I should have remembered this. I use it when I am building MythTV from source.


reply via email to

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