I'm trying to update the 1.0.4 version of rdiff-backup I have installed via darwinports (on OS X Tiger 10.4.8). Since the new 1.0.5 port isn't ready yet, I'm trying to install from the binary here:
http://www.nongnu.org/rdiff-backup/
But I'm getting the following error(s) and am wondering if anyone can provide some assistance. Thanks in advance.
nicheplayer:~/Desktop/rdiff-backup-1.0.5 user$ sudo python
setup.py build running build running build_py running build_ext building 'rdiff_backup._librsync' extension /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -I/opt/local/include/python2.4 -c _librsyncmodule.c -o build/temp.darwin-
8.8.0-Power_Macintosh-2.4/_librsyncmodule.o _librsyncmodule.c:25:22: error: librsync.h: No such file or directory _librsyncmodule.c:32: error: parse error before "result" _librsyncmodule.c:33: warning: function declaration isn't a prototype
_librsyncmodule.c: In function '_librsync_seterror': _librsyncmodule.c:35: error: 'result' undeclared (first use in this function) _librsyncmodule.c:35: error: (Each undeclared identifier is reported only once
_librsyncmodule.c:35: error: for each function it appears in.) _librsyncmodule.c:35: error: 'location' undeclared (first use in this function) _librsyncmodule.c: At top level: _librsyncmodule.c:46: error: parse error before "rs_job_t"
_librsyncmodule.c:46: warning: no semicolon at end of struct or union _librsyncmodule.c:47: warning: type defaults to 'int' in declaration of '_librsync_SigMakerObject' _librsyncmodule.c:47: warning: data definition has no type or storage class
_librsyncmodule.c: In function '_librsync_new_sigmaker': _librsyncmodule.c:52: error: 'sm' undeclared (first use in this function) _librsyncmodule.c:58: error: parse error before ')' token
_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: In function '_librsync_sigmaker_dealloc':
_librsyncmodule.c:70: warning: implicit declaration of function 'rs_job_free' _librsyncmodule.c:70: error: parse error before ')' token
.........A BUNCH MORE ERRORS WITH librsyncmodule.c............
.
error: command '/usr/bin/gcc-4.0' failed with exit status 1