duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Errors when trying to install Duplicity


From: ryan
Subject: Re: [Duplicity-talk] Errors when trying to install Duplicity
Date: Thu, 22 Nov 2007 11:27:13 -0800
User-agent: Thunderbird 1.5.0.12 (X11/20070604)



Chandrika Ganesh Giridhar Rajaram wrote:
I am trying to install duplicity.  I got all the other requirements from this page and installed them all.  Here is the error message:

I am using CentOS.  Any help is GREATLY appreciated. 

python setup.py install
Warning: pexpect version 2.1 or greater is required for the ssh backend.
         If you do not plan to use the ssh backend, this is not a problem.
running install
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:23: error: librsync.h: No such file or directory
_librsyncmodule.c:32: error: expected ')' before 'result'
_librsyncmodule.c:46: error: expected specifier-qualifier-list before 'rs_job_t'
_librsyncmodule.c: In function '_librsync_new_sigmaker':
_librsyncmodule.c:62: error: '_librsync_SigMakerObject' has no member named 'sig_job'
_librsyncmodule.c:62: warning: implicit declaration of function 'rs_sig_begin'
_librsyncmodule.c:63: error: 'RS_DEFAULT_STRONG_LEN' undeclared (first use in this function)
_librsyncmodule.c:63: error: (Each undeclared identifier is reported only once
_librsyncmodule.c:63: error: for each function it appears in.)
_librsyncmodule.c: In function '_librsync_sigmaker_dealloc':
_librsyncmodule.c:70: warning: implicit declaration of function 'rs_job_free'
_librsyncmodule.c:70: error: '_librsync_SigMakerObject' has no member named 'sig_job'
_librsyncmodule.c: In function '_librsync_sigmaker_cycle':
_librsyncmodule.c:84: error: 'rs_buffers_t' undeclared (first use in this function)
_librsyncmodule.c:84: error: expected ';' before 'buf'
_librsyncmodule.c:85: error: 'rs_result' undeclared (first use in this function)
_librsyncmodule.c:85: error: expected ';' before 'result'
_librsyncmodule.c:90: error: 'buf' undeclared (first use in this function)
_librsyncmodule.c:96: error: 'result' undeclared (first use in this function)
_librsyncmodule.c:96: warning: implicit declaration of function 'rs_job_iter'
_librsyncmodule.c:96: error: '_librsync_SigMakerObject' has no member named 'sig_job'
_librsyncmodule.c:98: error: 'RS_DONE' undeclared (first use in this function)
_librsyncmodule.c:98: error: 'RS_BLOCKED' undeclared (first use in this function)
_librsyncmodule.c:99: warning: implicit declaration of function '_librsync_seterror'
_librsyncmodule.c: At top level:
_librsyncmodule.c:171: error: expected specifier-qualifier-list before 'rs_job_t'
_librsyncmodule.c: In function '_librsync_new_deltamaker':
_librsyncmodule.c:182: error: 'rs_job_t' undeclared (first use in this function)
_librsyncmodule.c:182: error: 'sig_loader' undeclared (first use in this function)
_librsyncmodule.c:183: error: 'rs_signature_t' undeclared (first use in this function)
_librsyncmodule.c:183: error: 'sig_ptr' undeclared (first use in this function)
_librsyncmodule.c:184: error: 'rs_buffers_t' undeclared (first use in this function)
_librsyncmodule.c:184: error: expected ';' before 'buf'
_librsyncmodule.c:185: error: 'rs_result' undeclared (first use in this function)
_librsyncmodule.c:185: error: expected ';' before 'result'
_librsyncmodule.c:195: warning: implicit declaration of function 'rs_loadsig_begin'
_librsyncmodule.c:196: error: 'buf' undeclared (first use in this function)
_librsyncmodule.c:201: error: 'result' undeclared (first use in this function)
_librsyncmodule.c:203: error: 'RS_DONE' undeclared (first use in this function)
_librsyncmodule.c:207: warning: implicit declaration of function 'rs_build_hash_table'
_librsyncmodule.c:212: error: '_librsync_DeltaMakerObject' has no member named 'sig_ptr'
_librsyncmodule.c:213: error: '_librsync_DeltaMakerObject' has no member named 'delta_job'
_librsyncmodule.c:213: warning: implicit declaration of function 'rs_delta_begin'
_librsyncmodule.c: In function '_librsync_deltamaker_dealloc':
_librsyncmodule.c:221: error: 'rs_signature_t' undeclared (first use in this function)
_librsyncmodule.c:221: error: 'sig_ptr' undeclared (first use in this function)
_librsyncmodule.c:221: error: '_librsync_DeltaMakerObject' has no member named 'sig_ptr'
_librsyncmodule.c:223: warning: implicit declaration of function 'rs_free_sumset'
_librsyncmodule.c:224: error: '_librsync_DeltaMakerObject' has no member named 'delta_job'
_librsyncmodule.c: In function '_librsync_deltamaker_cycle':
_librsyncmodule.c:238: error: 'rs_buffers_t' undeclared (first use in this function)
_librsyncmodule.c:238: error: expected ';' before 'buf'
_librsyncmodule.c:239: error: 'rs_result' undeclared (first use in this function)
_librsyncmodule.c:239: error: expected ';' before 'result'
_librsyncmodule.c:244: error: 'buf' undeclared (first use in this function)
_librsyncmodule.c:250: error: 'result' undeclared (first use in this function)
_librsyncmodule.c:250: error: '_librsync_DeltaMakerObject' has no member named 'delta_job'
_librsyncmodule.c:251: error: 'RS_DONE' undeclared (first use in this function)
_librsyncmodule.c:251: error: 'RS_BLOCKED' undeclared (first use in this function)
_librsyncmodule.c: At top level:
_librsyncmodule.c:324: error: expected specifier-qualifier-list before 'rs_job_t'
_librsyncmodule.c: In function '_librsync_new_patchmaker':
_librsyncmodule.c:348: error: '_librsync_PatchMakerObject' has no member named 'basis_file'
_librsyncmodule.c:350: error: '_librsync_PatchMakerObject' has no member named 'patch_job'
_librsyncmodule.c:350: warning: implicit declaration of function 'rs_patch_begin'
_librsyncmodule.c:350: error: 'rs_file_copy_cb' undeclared (first use in this function)
_librsyncmodule.c: In function '_librsync_patchmaker_dealloc':
_librsyncmodule.c:359: error: '_librsync_PatchMakerObject' has no member named 'basis_file'
_librsyncmodule.c:359: error: '_librsync_PatchMakerObject' has no member named 'basis_file'
_librsyncmodule.c:359: error: '_librsync_PatchMakerObject' has no member named 'basis_file'
_librsyncmodule.c:360: error: '_librsync_PatchMakerObject' has no member named 'patch_job'
_librsyncmodule.c: In function '_librsync_patchmaker_cycle':
_librsyncmodule.c:374: error: 'rs_buffers_t' undeclared (first use in this function)
_librsyncmodule.c:374: error: expected ';' before 'buf'
_librsyncmodule.c:375: error: 'rs_result' undeclared (first use in this function)
_librsyncmodule.c:375: error: expected ';' before 'result'
_librsyncmodule.c:380: error: 'buf' undeclared (first use in this function)
_librsyncmodule.c:386: error: 'result' undeclared (first use in this function)
_librsyncmodule.c:386: error: '_librsync_PatchMakerObject' has no member named 'patch_job'
_librsyncmodule.c:387: error: 'RS_DONE' undeclared (first use in this function)
_librsyncmodule.c:387: error: 'RS_BLOCKED' undeclared (first use in this function)
_librsyncmodule.c: In function 'init_librsync':
_librsyncmodule.c:477: error: 'RS_DEFAULT_BLOCK_LEN' undeclared (first use in this function)
error: command 'gcc' failed with exit status 1


_______________________________________________ Duplicity-talk mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/duplicity-talk

Oops, I'm sorry - you will need my earlier suggestion for ssh but most of your errors look like they are due to not having librsync-devel installed. You need the development libraries for rsync to compile software that uses it.

Hope that helps,
Ryan

reply via email to

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