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 12:14:34 -0800
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

Sure thing.

Chandrika Ganesh Giridhar Rajaram wrote:
> And with that I was SUCCESSFULLY able to install duplicity.  Thanks
> Ryan!!!
>
> On Nov 22, 2007 12:05 PM, Chandrika Ganesh Giridhar Rajaram
> <address@hidden <mailto:address@hidden>> wrote:
>
>     I just removed emails from whole.h and its building now. THey
>     should have been commented out.
>
>
>     On Nov 22, 2007 11:59 AM, Chandrika Ganesh Giridhar Rajaram <
>     address@hidden <mailto:address@hidden>>
>     wrote:
>
>
>
>         On Nov 22, 2007 11:55 AM, ryan <address@hidden
>         <mailto:address@hidden>> wrote:
>
>
>
>             Chandrika Ganesh Giridhar Rajaram wrote:
>             > Ah thanks.  I also have that
>             >
>             > /usr/local/librsync-0.9.7
>             > ls
>             > autogen.sh  command.c     configure.msc  fileutil.c
>             > job.h                 Makefile.am <http://Makefile.am>
>             <http://Makefile.am>    mksum.c
>             > popt         README.CVS   search.h    sumset.h   types.h
>             > base64.c    command.h     COPYING        fileutil.h
>             > librsync-config.h     Makefile.in <http://Makefile.in> <
>             http://Makefile.in>    msg.c
>             > protocol.h   README.RPM  snprintf.c  testsuite  util.c
>             > buf.c       config.guess  delta.c        hex.c
>             > librsync-config.h.in <http://librsync-config.h.in>
>             <http://librsync-config.h.in>  mdfour.c
>             > netint.c  prototab.c   readsums.c  snprintf.h  THANKS  
>               util.h
>             > buf.h       config.h.in <http://config.h.in>
>             <http://config.h.in>   depcomp
>             > install-sh  librsync.h            mdfour.h       netint.h
>             > prototab.h   rollsum.c   stats.c     TODO       version.c
>             > ChangeLog   config.sub    doc            isprefix.c
>             > librsync.spec         missing        NEWS      rdiff.c
>             > rollsum.h   stream.c    trace.c    whole.c
>             > checksum.c  configure     emit.c         isprefix.h
>             > libversions.txt       mkinstalldirs  patch.c   rdiff.magic
>             > scoop.c     stream.h    trace.h     whole.h
>             > checksum.h   configure.ac <http://configure.ac>
>             <http://configure.ac>  emit.h
>             > job.c       ltmain.sh             mkprototab.pl  PCbuild
>             > README       search.c    sumset.c    tube.c
>             >
>             > Still no luck.
>             >
>             > On Nov 22, 2007 11:27 AM, ryan < address@hidden
>             <mailto:address@hidden>
>             > <mailto:address@hidden
>             <mailto:address@hidden>>> wrote:
>             >
>             >
>             >
>             >     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
>             <mailto:address@hidden>
>             >>     <mailto:address@hidden
>             <mailto: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
>             >
>             >     _______________________________________________
>             >     Duplicity-talk mailing list
>             >     address@hidden
>             <mailto:address@hidden>
>             <mailto:address@hidden
>             <mailto:address@hidden>>
>             >     http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>             >
>             >
>             >
>             
> ------------------------------------------------------------------------
>
>             >
>             > _______________________________________________
>             > Duplicity-talk mailing list
>             > address@hidden <mailto:address@hidden>
>             > http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>             >
>             looks to me like you didn't actually build librsync and
>             just put it in
>             /usr/local. Is that the case? If so, go to that directory, do
>
>             configure
>             make all check
>             make install
>
>         Thx.  I get errrors when trying to do make all check
>         In file included from whole.c:51:
>         whole.h:1: error: expected '=', ',', ';', 'asm' or
>         '__attribute__' before 'Pool'
>         whole.h:1: error: stray '@' in program
>         whole.h:2: error: stray '@' in program
>         whole.h:3: error: stray '@' in program
>         whole.c:69: warning: no previous prototype for 'rs_whole_run'
>         make[2]: *** [whole.lo] Error 1
>         make[2]: Leaving directory `/usr/local/librsync-0.9.7'
>         make[1]: *** [all-recursive] Error 1
>         make[1]: Leaving directory `/usr/local/librsync-0.9.7'
>         make: *** [all] Error 2
>          
>
>
>             Ryan
>
>
>             _______________________________________________
>             Duplicity-talk mailing list
>             address@hidden <mailto:address@hidden>
>             http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>             <http://lists.nongnu.org/mailman/listinfo/duplicity-talk>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>   




reply via email to

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