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

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

Re: [rdiff-backup-users] Error installing 1.2.8


From: Bob Mead
Subject: Re: [rdiff-backup-users] Error installing 1.2.8
Date: Fri, 01 May 2009 11:53:42 -0700
User-agent: Thunderbird 2.0.0.18 (X11/20081125)

got it. needed librsync-dev as well. still curious as to why these two packages weren't already installed with v1.1.16?
Thanks,
   ~bob

Bob Mead wrote:
Hi Josh:
Thanks for the suggestion. I installed python-dev (curious: why was this not installed as part of the original v1.1.16 installation?), re-ran the 'build' cmd. - it errored out so I rm-r the build dir. and tried again. It works until:
<snip>
building 'rdiff_backup._librsync' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c _librsyncmodule.c -o build/temp.linux-i686-2.5/_librsyncmodule.o
_librsyncmodule.c:25:22: 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

Looks like I'm still missing something. Any further ideas?
Thanks again,
   ~bob

Josh Nisly wrote:
You need to install the python-dev package.

JoshN

Bob Mead wrote:
Hi all:
I have an Ubuntu 8.10 system with rdiff v1.1.16 installed. Using the recipe on the wiki: http://wiki.rdiff-backup.org/wiki/index.php/Installations#Concurrent_installation_of_different_versions_of_rdiff-backup

and making the appropriate changes to the version number, I got an error when trying to install v.1.2.8 at the 'python setup.py build' part of the install. First it complained about not finding gcc - so I apt-get install[ed] gcc. then when I ran the 'build' cmd again, it errored out. I tried removing the rdiff-backup-1.2.8 directory and re-installing from the tarball, but I got the following error when I ran the 'build' cmd:

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c cmodule.c -o build/temp.linux-i686-2.5/cmodule.o
cmodule.c:24:20: error: Python.h: No such file or directory
cmodule.c:76: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token cmodule.c:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token cmodule.c:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token cmodule.c:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token cmodule.c:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token cmodule.c:84: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token cmodule.c:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
cmodule.c:87: error: expected identifier or ‘(’ before ‘{’ token
cmodule.c:217: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token cmodule.c:219: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
cmodule.c:220: error: expected identifier or ‘(’ before ‘{’ token
cmodule.c:233: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token cmodule.c:235: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
cmodule.c:236: error: expected identifier or ‘(’ before ‘{’ token
cmodule.c:244: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token cmodule.c:246: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
cmodule.c:247: error: expected identifier or ‘(’ before ‘{’ token
cmodule.c:364: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token cmodule.c:373: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token cmodule.c:416: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CMethods’
cmodule.c: In function ‘initC’:
cmodule.c:435: error: ‘PyObject’ undeclared (first use in this function)
cmodule.c:435: error: (Each undeclared identifier is reported only once
cmodule.c:435: error: for each function it appears in.)
cmodule.c:435: error: ‘m’ undeclared (first use in this function)
cmodule.c:435: error: ‘d’ undeclared (first use in this function)
cmodule.c:435: warning: left-hand operand of comma expression has no effect cmodule.c:437: warning: implicit declaration of function ‘Py_InitModule’ cmodule.c:437: error: ‘CMethods’ undeclared (first use in this function) cmodule.c:438: warning: implicit declaration of function ‘PyModule_GetDict’ cmodule.c:439: error: ‘UnknownFileTypeError’ undeclared (first use in this function) cmodule.c:439: warning: implicit declaration of function ‘PyErr_NewException’ cmodule.c:441: warning: implicit declaration of function ‘PyDict_SetItemString’
error: command 'gcc' failed with exit status 1

Please any help would be greatly appreciated. I am trying to upgrade my rdiff version to see if a newer version can overcome a 'warning: extended attributes file not found' error which v1.1.16 has been generating. Andrew's notes from the 1.2.7 release say that this was fixed there.

Thanks,
~bob
_______________________________________________
rdiff-backup-users mailing list at address@hidden
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


_______________________________________________
rdiff-backup-users mailing list at address@hidden
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Attachment: bmead.vcf
Description: Vcard


reply via email to

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