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

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

[rdiff-backup-users] error: command 'gcc' failed with exit status 1


From: Wilson Azevedo
Subject: [rdiff-backup-users] error: command 'gcc' failed with exit status 1
Date: Sun, 10 Feb 2008 18:14:03 -0300

Friends rdiff-backup's users

I'm a Linux (Xandros Debian Etch, on an Asus EeePC) novice user and
need help to upgrade rdiff-backup to version 1.1.6 or 1.1.7. The
version 1.1.5 I've installed from debian.org repository has a bug in
working with Samba mounted windows file systems as well as sshfs
mounted remote folders -- where I need to place the backup copies from
my EeePC.

I've downloaded the 1.1.6 package and seen that it is in fact a set of
scripts in Python. So I've followed the instructions from the README
file in order to install it and got an error message talking about a
program called "gcc". I went to Synaptic and found gcc in Debian
repository, marked it for install and applyed. Then I've run again the
python setup.py install script and got the error messages below. What
should I do? Is there something else that need to be done before
installing rdiff-backup on my EeePC? As I told you, this EeePC is my
first linux computer and I'm still learning to use its basic features
and resources.

Thanks in advance for any help.

Wilson

--

> sudo python setup.py install
running install
running build
running build_py
running build_ext
building 'rdiff_backup.C' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.4 -c cmodule.c -o build/temp.linux-i686-2.4/cmodule.o
cmodule.c:24:20: error: Python.h: No such file or directory
cmodule.c:25:23: error: sys/types.h: No such file or directory
cmodule.c:26:22: error: sys/stat.h: No such file or directory
cmodule.c:27:20: error: unistd.h: No such file or directory
cmodule.c:28:19: error: errno.h: No such file or directory
cmodule.c:72: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token cmodule.c:73: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token cmodule.c:74: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token cmodule.c:75: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token cmodule.c:76: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token cmodule.c:80: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token cmodule.c:82: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
cmodule.c:83: error: expected identifier or ?(? before ?{? token
cmodule.c:207: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token cmodule.c:209: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
cmodule.c:210: error: expected identifier or ?(? before ?{? token
cmodule.c:223: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token cmodule.c:225: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
cmodule.c:226: error: expected identifier or ?(? before ?{? token
cmodule.c:234: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token cmodule.c:236: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
cmodule.c:237: error: expected identifier or ?(? before ?{? token
cmodule.c:258:19: error: stdio.h: No such file or directory
cmodule.c:259:20: error: stdlib.h: No such file or directory
cmodule.c:260:19: error: ctype.h: No such file or directory
cmodule.c:262: error: expected declaration specifiers or ?...? before ?size_t?
cmodule.c:262: error: expected declaration specifiers or ?...? before ?size_t?
cmodule.c: In function ?high_water_alloc?:
cmodule.c:270: error: ?bufsize? undeclared (first use in this function)
cmodule.c:270: error: (Each undeclared identifier is reported only once
cmodule.c:270: error: for each function it appears in.)
cmodule.c:270: error: ?newsize? undeclared (first use in this function)
cmodule.c:274: warning: implicit declaration of function ?realloc?
cmodule.c:274: warning: assignment makes pointer from integer without a cast
cmodule.c: In function ?quote?:
cmodule.c:286: error: ?NULL? undeclared (first use in this function)
cmodule.c:287: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?quoted_str_len?
cmodule.c:287: error: ?quoted_str_len? undeclared (first use in this function)
cmodule.c:290: error: ?size_t? undeclared (first use in this function)
cmodule.c:290: error: expected ?;? before ?nonpr?
cmodule.c:295: error: ?nonpr? undeclared (first use in this function)
cmodule.c:295: warning: left-hand operand of comma expression has no effect
cmodule.c:295: error: ?total_len? undeclared (first use in this function)
cmodule.c:295: warning: value computed is not used
cmodule.c:297: warning: implicit declaration of function ?isprint?
cmodule.c:297: warning: implicit declaration of function ?isspace?
cmodule.c:304: error: too many arguments to function ?high_water_alloc?
cmodule.c: At top level:
cmodule.c:354: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token cmodule.c:363: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token cmodule.c:406: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CMethods?
cmodule.c: In function ?initC?:
cmodule.c:425: error: ?PyObject? undeclared (first use in this function)
cmodule.c:425: error: ?m? undeclared (first use in this function)
cmodule.c:425: error: ?d? undeclared (first use in this function)
cmodule.c:425: warning: left-hand operand of comma expression has no effect
cmodule.c:427: warning: implicit declaration of function ?Py_InitModule?
cmodule.c:427: error: ?CMethods? undeclared (first use in this function)
cmodule.c:428: warning: implicit declaration of function ?PyModule_GetDict?
cmodule.c:429: error: ?UnknownFileTypeError? undeclared (first use in this function)
cmodule.c:429: warning: implicit declaration of function ?PyErr_NewException?
cmodule.c:430: error: ?NULL? undeclared (first use in this function)
cmodule.c:431: warning: implicit declaration of function ?PyDict_SetItemString?
error: command 'gcc' failed with exit status 1






reply via email to

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