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

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

[rdiff-backup-users] Error installing 1.2.8


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

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

Attachment: bmead.vcf
Description: Vcard


reply via email to

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