duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] Help with building


From: Jan Niggemann
Subject: [Duplicity-talk] Help with building
Date: Thu, 29 Sep 2011 09:36:23 +0200
User-agent: RoundCube Webmail/0.5.1

Dear all,

I'd like to build duplicity on my shared webspace. There's Python 2.4.4, GPG 1.4.7 and gcc 4.1.1-51, but librsync and Python-dev are missing. I downloaded librsync 0.9.7 and Python 2.4.4-dev and have the corresponding folders in my home directory, but don't understand how include those directories in the build process. Can I pass the folders as options?

The error message says Python.h is missing as well as librsync.h (which is understandable as I don't know how to set the path to those files):
python setup.py build
running build
running build_py
running build_ext
building 'duplicity._librsync' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/python2.4 -c _librsyncmodule.c -o build/temp.linux-i686-2.4/_librsyncmodule.o
_librsyncmodule.c:25:20: error: Python.h: No such file or directory
_librsyncmodule.c:26:22: error: librsync.h: No such file or directory
_librsyncmodule.c:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token more syntax errors like "expected ')' before 'result'" follow - may that be due to the missing files?

So my question is: Are there any switches for "python setup.py build" to set the paths to the needed Python and librsync header files?

Thank you and
Best Regards
jan



reply via email to

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