[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] Problems Installing on Ubuntu Karmic
From: |
Lou |
Subject: |
Re: [Duplicity-talk] Problems Installing on Ubuntu Karmic |
Date: |
Sun, 25 Oct 2009 16:18:10 -0800 |
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.
>
> Ian.
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.
Lou