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

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

[rdiff-backup-users] errors installing 1.0.5


From: Bob Mead
Subject: [rdiff-backup-users] errors installing 1.0.5
Date: Fri, 27 Feb 2009 13:43:23 -0800
User-agent: Thunderbird 2.0.0.18 (X11/20081125)

Hello all:
I am having troubles installing v1.0.5 on an old gnu/linux box:
when I run 'python setup.py install', I get the output (below - with errors). I checked and python seems to be v2.44. I got the same or similar results trying to install v1.0.4. Any ideas on what is failing/going wrong? Thanks in advance for any help.
~bob
ps - I know its an old version, has to match the destination (v1.0.5) which is a do-not-touch in my world :-/

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: syntax error before ‘*’ token
cmodule.c:72: warning: type defaults to ‘int’ in declaration of ‘UnknownFileTypeError’
cmodule.c:72: warning: data definition has no type or storage class
cmodule.c:73: error: syntax error before ‘*’ token
cmodule.c:73: error: syntax error before ‘*’ token
cmodule.c:73: warning: type defaults to ‘int’ in declaration of ‘c_make_file_dict’
cmodule.c:73: warning: function declaration isn’t a prototype
cmodule.c:73: warning: data definition has no type or storage class
cmodule.c:74: error: syntax error before ‘*’ token
cmodule.c:74: error: syntax error before ‘*’ token
cmodule.c:74: warning: type defaults to ‘int’ in declaration of ‘long2str’
cmodule.c:74: warning: function declaration isn’t a prototype
cmodule.c:74: warning: data definition has no type or storage class
cmodule.c:75: error: syntax error before ‘*’ token
cmodule.c:75: error: syntax error before ‘*’ token
cmodule.c:75: warning: type defaults to ‘int’ in declaration of ‘str2long’
cmodule.c:75: warning: function declaration isn’t a prototype
cmodule.c:75: warning: data definition has no type or storage class
cmodule.c:76: error: syntax error before ‘*’ token
cmodule.c:76: error: syntax error before ‘*’ token
cmodule.c:76: warning: type defaults to ‘int’ in declaration of ‘my_sync’
cmodule.c:76: warning: function declaration isn’t a prototype
cmodule.c:76: warning: data definition has no type or storage class
cmodule.c:80: error: syntax error before ‘*’ token
cmodule.c:81: error: syntax error before ‘PyObject’
cmodule.c:81: warning: type defaults to ‘int’ in declaration of ‘self’
cmodule.c:81: warning: data definition has no type or storage class
cmodule.c:82: error: syntax error before ‘*’ token
cmodule.c:82: warning: type defaults to ‘int’ in declaration of ‘args’
cmodule.c:82: warning: data definition has no type or storage class
cmodule.c:83: error: syntax error before ‘{’ token
cmodule.c:90: error: syntax error before ‘if’
cmodule.c:93: warning: type defaults to ‘int’ in declaration of ‘res’
cmodule.c:93: warning: implicit declaration of function ‘lstat’
cmodule.c:93: error: initializer element is not constant
cmodule.c:93: warning: data definition has no type or storage class
cmodule.c:96: error: syntax error before ‘if’
cmodule.c:108: warning: type defaults to ‘int’ in declaration of ‘size’
cmodule.c:108: warning: implicit declaration of function ‘PyInt_FromLong’
cmodule.c:108: error: invalid use of undefined type ‘struct stat’
cmodule.c:108: error: initializer element is not constant
cmodule.c:108: warning: data definition has no type or storage class
cmodule.c:109: warning: type defaults to ‘int’ in declaration of ‘inode’
cmodule.c:109: error: invalid use of undefined type ‘struct stat’
cmodule.c:109: error: initializer element is not constant
cmodule.c:109: warning: data definition has no type or storage class
cmodule.c:111: warning: type defaults to ‘int’ in declaration of ‘mode’
cmodule.c:111: error: conflicting types for ‘mode’
cmodule.c:87: error: previous declaration of ‘mode’ was here
cmodule.c:111: error: invalid use of undefined type ‘struct stat’
cmodule.c:111: warning: data definition has no type or storage class
cmodule.c:112: warning: type defaults to ‘int’ in declaration of ‘perms’
cmodule.c:112: error: conflicting types for ‘perms’
cmodule.c:87: error: previous declaration of ‘perms’ was here
cmodule.c:112: error: initializer element is not constant
cmodule.c:112: warning: data definition has no type or storage class
cmodule.c:116: warning: type defaults to ‘int’ in declaration of ‘devloc’
cmodule.c:116: error: invalid use of undefined type ‘struct stat’
cmodule.c:116: error: initializer element is not constant
cmodule.c:116: warning: data definition has no type or storage class
cmodule.c:123: warning: type defaults to ‘int’ in declaration of ‘mtime’
cmodule.c:123: error: invalid use of undefined type ‘struct stat’
cmodule.c:123: error: initializer element is not constant
cmodule.c:123: warning: data definition has no type or storage class
cmodule.c:124: warning: type defaults to ‘int’ in declaration of ‘atime’
cmodule.c:124: error: invalid use of undefined type ‘struct stat’
cmodule.c:124: error: initializer element is not constant
cmodule.c:124: warning: data definition has no type or storage class
cmodule.c:125: warning: type defaults to ‘int’ in declaration of ‘ctime’
cmodule.c:125: error: invalid use of undefined type ‘struct stat’
cmodule.c:125: error: initializer element is not constant
cmodule.c:125: warning: data definition has no type or storage class
cmodule.c:129: error: syntax error before ‘if’
cmodule.c:135: warning: type defaults to ‘int’ in declaration of ‘return_val’
cmodule.c:135: warning: implicit declaration of function ‘Py_BuildValue’
cmodule.c:139: error: invalid use of undefined type ‘struct stat’
cmodule.c:140: error: invalid use of undefined type ‘struct stat’
cmodule.c:143: error: invalid use of undefined type ‘struct stat’
cmodule.c:146: error: initializer element is not constant
cmodule.c:146: warning: data definition has no type or storage class
cmodule.c:147: error: syntax error before ‘}’ token
cmodule.c:150: warning: implicit declaration of function ‘readlink’
cmodule.c:150: error: ‘linkname’ undeclared here (not in a function)
cmodule.c:150: error: initializer element is not constant
cmodule.c:151: error: syntax error before ‘if’
cmodule.c:153: warning: type defaults to ‘int’ in declaration of ‘return_val’
cmodule.c:153: error: redefinition of ‘return_val’
cmodule.c:135: error: previous definition of ‘return_val’ was here
cmodule.c:153: error: ‘NULL’ undeclared here (not in a function)
cmodule.c:153: warning: data definition has no type or storage class
cmodule.c:154: error: syntax error before ‘}’ token
cmodule.c:156: warning: type defaults to ‘int’ in declaration of ‘return_val’
cmodule.c:156: error: redefinition of ‘return_val’
cmodule.c:135: error: previous definition of ‘return_val’ was here
cmodule.c:160: error: invalid use of undefined type ‘struct stat’
cmodule.c:161: error: invalid use of undefined type ‘struct stat’
cmodule.c:164: error: invalid use of undefined type ‘struct stat’
cmodule.c:165: error: initializer element is not constant
cmodule.c:165: warning: data definition has no type or storage class
cmodule.c:166: error: syntax error before ‘}’ token
cmodule.c:174: error: invalid use of undefined type ‘struct stat’
cmodule.c:175: error: syntax error before ‘*’ token
cmodule.c:175: warning: type defaults to ‘int’ in declaration of ‘major_num’
cmodule.c:175: warning: initialization makes pointer from integer without a cast
cmodule.c:175: error: initializer element is not constant
cmodule.c:175: warning: data definition has no type or storage class
cmodule.c:177: error: initializer element is not constant
cmodule.c:178: error: syntax error before ‘if’
cmodule.c:180: warning: type defaults to ‘int’ in declaration of ‘return_val’
cmodule.c:180: error: redefinition of ‘return_val’
cmodule.c:135: error: previous definition of ‘return_val’ was here
cmodule.c:184: error: invalid use of undefined type ‘struct stat’
cmodule.c:185: error: invalid use of undefined type ‘struct stat’
cmodule.c:188: error: invalid use of undefined type ‘struct stat’
cmodule.c:189: error: ‘devtype’ undeclared here (not in a function)
cmodule.c:190: error: initializer element is not constant
cmodule.c:190: warning: data definition has no type or storage class
cmodule.c:191: warning: type defaults to ‘int’ in declaration of ‘Py_DECREF’
cmodule.c:191: warning: parameter names (without types) in function declaration
cmodule.c:191: warning: data definition has no type or storage class
cmodule.c:192: error: syntax error before ‘}’ token
cmodule.c:195: warning: type defaults to ‘int’ in declaration of ‘return_val’
cmodule.c:195: error: redefinition of ‘return_val’
cmodule.c:135: error: previous definition of ‘return_val’ was here
cmodule.c:195: warning: data definition has no type or storage class
cmodule.c:196: error: syntax error before ‘}’ token
cmodule.c:197: warning: type defaults to ‘int’ in declaration of ‘Py_DECREF’
cmodule.c:197: warning: parameter names (without types) in function declaration
cmodule.c:197: warning: data definition has no type or storage class
cmodule.c:198: warning: type defaults to ‘int’ in declaration of ‘Py_DECREF’
cmodule.c:198: warning: parameter names (without types) in function declaration
cmodule.c:198: warning: data definition has no type or storage class
cmodule.c:199: warning: type defaults to ‘int’ in declaration of ‘Py_DECREF’
cmodule.c:199: warning: parameter names (without types) in function declaration
cmodule.c:199: warning: data definition has no type or storage class
cmodule.c:200: warning: type defaults to ‘int’ in declaration of ‘Py_DECREF’
cmodule.c:200: warning: parameter names (without types) in function declaration
cmodule.c:200: warning: data definition has no type or storage class
cmodule.c:201: warning: type defaults to ‘int’ in declaration of ‘Py_DECREF’
cmodule.c:201: warning: parameter names (without types) in function declaration
cmodule.c:201: warning: data definition has no type or storage class
cmodule.c:202: warning: type defaults to ‘int’ in declaration of ‘Py_DECREF’
cmodule.c:202: warning: parameter names (without types) in function declaration
cmodule.c:202: warning: data definition has no type or storage class
cmodule.c:203: error: syntax error before ‘return’
cmodule.c:207: error: syntax error before ‘*’ token
cmodule.c:208: error: syntax error before ‘PyObject’
cmodule.c:208: warning: type defaults to ‘int’ in declaration of ‘self’
cmodule.c:208: warning: data definition has no type or storage class
cmodule.c:209: error: syntax error before ‘*’ token
cmodule.c:209: warning: type defaults to ‘int’ in declaration of ‘args’
cmodule.c:209: warning: data definition has no type or storage class
cmodule.c:210: error: syntax error before ‘{’ token
cmodule.c:212: warning: type defaults to ‘int’ in declaration of ‘pylong’
cmodule.c:212: warning: data definition has no type or storage class
cmodule.c:213: error: syntax error before ‘*’ token
cmodule.c:213: warning: type defaults to ‘int’ in declaration of ‘return_val’
cmodule.c:213: error: conflicting types for ‘return_val’
cmodule.c:135: error: previous definition of ‘return_val’ was here
cmodule.c:213: warning: data definition has no type or storage class
cmodule.c:215: error: syntax error before ‘if’
cmodule.c:223: error: syntax error before ‘*’ token
cmodule.c:224: error: syntax error before ‘PyObject’
cmodule.c:224: warning: type defaults to ‘int’ in declaration of ‘self’
cmodule.c:224: warning: data definition has no type or storage class
cmodule.c:225: error: syntax error before ‘*’ token
cmodule.c:225: warning: type defaults to ‘int’ in declaration of ‘args’
cmodule.c:225: warning: data definition has no type or storage class
cmodule.c:226: error: syntax error before ‘{’ token
cmodule.c:228: warning: type defaults to ‘int’ in declaration of ‘sync’
cmodule.c:228: warning: function declaration isn’t a prototype
cmodule.c:228: warning: data definition has no type or storage class
cmodule.c:229: error: syntax error before ‘return’
cmodule.c:234: error: syntax error before ‘*’ token
cmodule.c:235: error: syntax error before ‘PyObject’
cmodule.c:235: warning: type defaults to ‘int’ in declaration of ‘self’
cmodule.c:235: warning: data definition has no type or storage class
cmodule.c:236: error: syntax error before ‘*’ token
cmodule.c:236: warning: type defaults to ‘int’ in declaration of ‘args’
cmodule.c:236: warning: data definition has no type or storage class
cmodule.c:237: error: syntax error before ‘{’ token
cmodule.c:241: error: syntax error before ‘if’
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: syntax error before ‘size_t’
cmodule.c:263: warning: function declaration isn’t a prototype
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: error: ‘buf’ undeclared (first use in this function)
cmodule.c:274: warning: assignment makes pointer from integer without a cast
cmodule.c: In function ‘quote’:
cmodule.c:287: error: syntax error before ‘quoted_str_len’
cmodule.c:290: error: ‘size_t’ undeclared (first use in this function)
cmodule.c:290: error: syntax error 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:295: warning: value computed is not used
cmodule.c:296: 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:303: error: ‘quoted_str_len’ undeclared (first use in this function)
cmodule.c: At top level:
cmodule.c:354: error: syntax error before ‘*’ token
cmodule.c:354: error: syntax error before ‘*’ token
cmodule.c:355: warning: return type defaults to ‘int’
cmodule.c:355: warning: function declaration isn’t a prototype
cmodule.c: In function ‘acl_quote’:
cmodule.c:358: warning: implicit declaration of function ‘PyArg_ParseTuple’
cmodule.c:359: warning: return makes pointer from integer without a cast
cmodule.c: At top level:
cmodule.c:363: error: syntax error before ‘*’ token
cmodule.c:363: error: syntax error before ‘*’ token
cmodule.c:364: warning: return type defaults to ‘int’
cmodule.c:364: warning: function declaration isn’t a prototype
cmodule.c: In function ‘acl_unquote’:
cmodule.c:368: warning: return makes pointer from integer without a cast
cmodule.c: At top level:
cmodule.c:406: error: syntax error before ‘CMethods’
cmodule.c:406: warning: type defaults to ‘int’ in declaration of ‘CMethods’
cmodule.c:407: warning: braces around scalar initializer
cmodule.c:407: warning: (near initialization for ‘CMethods[0]’)
cmodule.c:407: warning: initialization makes integer from pointer without a cast
cmodule.c:407: warning: excess elements in scalar initializer
cmodule.c:407: warning: (near initialization for ‘CMethods[0]’)
cmodule.c:407: error: ‘METH_VARARGS’ undeclared here (not in a function)
cmodule.c:407: warning: excess elements in scalar initializer
cmodule.c:407: warning: (near initialization for ‘CMethods[0]’)
cmodule.c:408: warning: excess elements in scalar initializer
cmodule.c:408: warning: (near initialization for ‘CMethods[0]’)
cmodule.c:409: warning: braces around scalar initializer
cmodule.c:409: warning: (near initialization for ‘CMethods[1]’)
cmodule.c:409: warning: initialization makes integer from pointer without a cast
cmodule.c:409: warning: excess elements in scalar initializer
cmodule.c:409: warning: (near initialization for ‘CMethods[1]’)
cmodule.c:409: warning: excess elements in scalar initializer
cmodule.c:409: warning: (near initialization for ‘CMethods[1]’)
cmodule.c:409: warning: excess elements in scalar initializer
cmodule.c:409: warning: (near initialization for ‘CMethods[1]’)
cmodule.c:410: warning: braces around scalar initializer
cmodule.c:410: warning: (near initialization for ‘CMethods[2]’)
cmodule.c:410: warning: initialization makes integer from pointer without a cast
cmodule.c:410: warning: excess elements in scalar initializer
cmodule.c:410: warning: (near initialization for ‘CMethods[2]’)
cmodule.c:410: warning: excess elements in scalar initializer
cmodule.c:410: warning: (near initialization for ‘CMethods[2]’)
cmodule.c:410: warning: excess elements in scalar initializer
cmodule.c:410: warning: (near initialization for ‘CMethods[2]’)
cmodule.c:411: warning: braces around scalar initializer
cmodule.c:411: warning: (near initialization for ‘CMethods[3]’)
cmodule.c:411: warning: initialization makes integer from pointer without a cast
cmodule.c:411: warning: excess elements in scalar initializer
cmodule.c:411: warning: (near initialization for ‘CMethods[3]’)
cmodule.c:411: warning: excess elements in scalar initializer
cmodule.c:411: warning: (near initialization for ‘CMethods[3]’)
cmodule.c:411: warning: excess elements in scalar initializer
cmodule.c:411: warning: (near initialization for ‘CMethods[3]’)
cmodule.c:412: warning: braces around scalar initializer
cmodule.c:412: warning: (near initialization for ‘CMethods[4]’)
cmodule.c:412: warning: initialization makes integer from pointer without a cast
cmodule.c:412: warning: excess elements in scalar initializer
cmodule.c:412: warning: (near initialization for ‘CMethods[4]’)
cmodule.c:412: warning: excess elements in scalar initializer
cmodule.c:412: warning: (near initialization for ‘CMethods[4]’)
cmodule.c:413: warning: excess elements in scalar initializer
cmodule.c:413: warning: (near initialization for ‘CMethods[4]’)
cmodule.c:414: warning: braces around scalar initializer
cmodule.c:414: warning: (near initialization for ‘CMethods[5]’)
cmodule.c:414: warning: initialization makes integer from pointer without a cast
cmodule.c:414: warning: excess elements in scalar initializer
cmodule.c:414: warning: (near initialization for ‘CMethods[5]’)
cmodule.c:414: warning: excess elements in scalar initializer
cmodule.c:414: warning: (near initialization for ‘CMethods[5]’)
cmodule.c:415: warning: excess elements in scalar initializer
cmodule.c:415: warning: (near initialization for ‘CMethods[5]’)
cmodule.c:420: warning: braces around scalar initializer
cmodule.c:420: warning: (near initialization for ‘CMethods[6]’)
cmodule.c:420: warning: excess elements in scalar initializer
cmodule.c:420: warning: (near initialization for ‘CMethods[6]’)
cmodule.c:420: warning: excess elements in scalar initializer
cmodule.c:420: warning: (near initialization for ‘CMethods[6]’)
cmodule.c:420: warning: excess elements in scalar initializer
cmodule.c:420: warning: (near initialization for ‘CMethods[6]’)
cmodule.c:421: warning: data definition has no type or storage class
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: invalid operands to binary *
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:425: warning: statement with no effect
cmodule.c:427: warning: implicit declaration of function ‘Py_InitModule’
cmodule.c:427: warning: statement with no effect
cmodule.c:428: warning: implicit declaration of function ‘PyModule_GetDict’
cmodule.c:428: warning: statement with no effect
cmodule.c:429: warning: implicit declaration of function ‘PyErr_NewException’
cmodule.c:430: warning: assignment makes pointer from integer without a cast
cmodule.c:431: warning: implicit declaration of function ‘PyDict_SetItemString’
error: command 'gcc' failed with exit status 1

Attachment: bmead.vcf
Description: Vcard


reply via email to

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