rdiff-backup-users
[Top][All Lists]
Advanced

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

Re: [rdiff-backup-users] Trying to build 1.1.16 on Debian...


From: Blair Zajac
Subject: Re: [rdiff-backup-users] Trying to build 1.1.16 on Debian...
Date: Wed, 18 Jun 2008 10:09:35 -0700
User-agent: Thunderbird 1.5.0.14ubu (X11/20080502)

Bert Hiddink wrote:
Hello Sabuj!

Sabuj Pattanayek wrote:
cmodule.c:24:20: error: Python.h: No such file or directory

apt-get install python-dev

Thanks for your quick reply!

When I run:
python setup.py install --prefix=/usr/local/rdiff --librsync-dir=/usr/local/rdiff

...I get...

running install
running build
running build_py
running build_ext
building 'rdiff_backup._librsync' extension
gcc -pthread -shared build/temp.linux-x86_64-2.4/_librsyncmodule.o -L/usr/local/rdiff/lib -lrsync -o build/lib.linux-x86_64-2.4/rdiff_backup/_librsync.so /usr/bin/ld: /usr/local/rdiff/lib/librsync.a(buf.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/rdiff/lib/librsync.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

What else missing here?

You probably need to pass --enable-shared to librsync's configure.

http://subversion.tigris.org/faq.html#relocation-against-local-symbol

Blair





reply via email to

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