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

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

[rdiff-backup-users] Problem with compilation on FreeBSD


From: Gatis Gailis
Subject: [rdiff-backup-users] Problem with compilation on FreeBSD
Date: Mon, 21 Oct 2002 23:12:23 +0300

Hello, I want to try rdiff-backup but I can get it installed for few days.

I am running FreeBSD 4.5. Downloaded librsync 0.9.5.1 and compiled from
source, no errors. Then I installed Python 2.2.1, first from source. When
running python Setup.py install, it gave me error like that and exited.

**********************************************************
-2.2/_librsyncmodule.o
_librsyncmodule.c:16: rsync.h: No such file or directory
_librsyncmodule.c:23: syntax error before `result'
_librsyncmodule.c: In function `_librsync_seterror':
_librsyncmodule.c:26: `result' undeclared (first use in this function)
_librsyncmodule.c:26: (Each undeclared identifier is reported only once
_librsyncmodule.c:26: for each function it appears in.)
_librsyncmodule.c:26: `location' undeclared (first use in this function)
_librsyncmodule.c: At top level:
_librsyncmodule.c:37: syntax error before `rs_job_t'
_librsyncmodule.c: In function `_librsync_new_sigmaker':
_librsyncmodule.c:52: structure has no member named `sig_job'
_librsyncmodule.c:52: `RS_DEFAULT_BLOCK_LEN' undeclared (first use in this
function)
_librsyncmodule.c:53: `RS_DEFAULT_STRONG_LEN' undeclared (first use in this
function)
_librsyncmodule.c: In function `_librsync_sigmaker_dealloc':
_librsyncmodule.c:60: structure has no member named `sig_job'
_librsyncmodule.c: In function `_librsync_sigmaker_cycle':
_librsyncmodule.c:74: syntax error before `buf'
_librsyncmodule.c:80: `buf' undeclared (first use in this function)
_librsyncmodule.c:86: `result' undeclared (first use in this function)
_librsyncmodule.c:86: structure has no member named `sig_job'
_librsyncmodule.c:88: `RS_DONE' undeclared (first use in this function)
_librsyncmodule.c:88: `RS_BLOCKED' undeclared (first use in this function)
_librsyncmodule.c: At top level:
_librsyncmodule.c:161: syntax error before `rs_job_t'
_librsyncmodule.c: In function `_librsync_new_deltamaker':
_librsyncmodule.c:172: `rs_job_t' undeclared (first use in this function)
_librsyncmodule.c:172: `sig_loader' undeclared (first use in this function)
_librsyncmodule.c:173: `rs_signature_t' undeclared (first use in this
function)
_librsyncmodule.c:173: `sig_ptr' undeclared (first use in this function)
_librsyncmodule.c:174: syntax error before `buf'
_librsyncmodule.c:186: `buf' undeclared (first use in this function)
_librsyncmodule.c:191: `result' undeclared (first use in this function)
_librsyncmodule.c:193: `RS_DONE' undeclared (first use in this function)
_librsyncmodule.c:202: structure has no member named `sig_ptr'
_librsyncmodule.c:203: structure has no member named `delta_job'
_librsyncmodule.c: In function `_librsync_deltamaker_dealloc':
_librsyncmodule.c:211: `rs_signature_t' undeclared (first use in this
function)
_librsyncmodule.c:211: `sig_ptr' undeclared (first use in this function)
_librsyncmodule.c:211: structure has no member named `sig_ptr'
_librsyncmodule.c:214: structure has no member named `delta_job'
_librsyncmodule.c: In function `_librsync_deltamaker_cycle':
_librsyncmodule.c:228: syntax error before `buf'
_librsyncmodule.c:234: `buf' undeclared (first use in this function)
_librsyncmodule.c:240: `result' undeclared (first use in this function)
_librsyncmodule.c:240: structure has no member named `delta_job'
_librsyncmodule.c:241: `RS_DONE' undeclared (first use in this function)
_librsyncmodule.c:241: `RS_BLOCKED' undeclared (first use in this function)
_librsyncmodule.c: At top level:
_librsyncmodule.c:314: syntax error before `rs_job_t'
_librsyncmodule.c: In function `_librsync_new_patchmaker':
_librsyncmodule.c:340: structure has no member named `patch_job'
_librsyncmodule.c:340: `rs_file_copy_cb' undeclared (first use in this
function)
_librsyncmodule.c: In function `_librsync_patchmaker_dealloc':
_librsyncmodule.c:350: structure has no member named `patch_job'
_librsyncmodule.c: In function `_librsync_patchmaker_cycle':
_librsyncmodule.c:364: syntax error before `buf'
_librsyncmodule.c:370: `buf' undeclared (first use in this function)
_librsyncmodule.c:376: `result' undeclared (first use in this function)
_librsyncmodule.c:376: structure has no member named `patch_job'
_librsyncmodule.c:377: `RS_DONE' undeclared (first use in this function)
_librsyncmodule.c:377: `RS_BLOCKED' undeclared (first use in this function)
_librsyncmodule.c: In function `init_librsync':
_librsyncmodule.c:467: `RS_DEFAULT_BLOCK_LEN' undeclared (first use in this
function)
error: command 'cc' failed with exit status 1

***********************************************************
Looks like problem is with librsync. So I reinstalled it a few times. Then
deinstalled Python (make deinstall && make clean) and installed from ports.
I don't have any more ideas. What could be wrong? FreeBSD ir POSIX compliant
OS, isn't it?

Gatis






reply via email to

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