# python setup.py install
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.5
creating build/lib.linux-x86_64-2.5/duplicity
copying src/util.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/tempdir.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/gpg.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/dup_time.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/pexpect.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/path.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/dup_threading.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/file_naming.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/manifest.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/errors.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/librsync.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/__init__.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/lazy.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/diffdir.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/static.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/misc.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/robust.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/log.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/collections.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/GnuPGInterface.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/tarfile.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/patchdir.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/asyncscheduler.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/backend.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/dup_temp.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/urlparse_2_5.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/commandline.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/globals.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/selection.py -> build/lib.linux-x86_64-2.5/duplicity
copying src/statistics.py -> build/lib.linux-x86_64-2.5/duplicity
creating build/lib.linux-x86_64-2.5/duplicity/backends
copying src/backends/webdavbackend.py ->
build/lib.linux-x86_64-2.5/duplicity/backends
copying src/backends/giobackend.py ->
build/lib.linux-x86_64-2.5/duplicity/backends
copying src/backends/cloudfilesbackend.py ->
build/lib.linux-x86_64-2.5/duplicity/backends
copying src/backends/ftpbackend.py ->
build/lib.linux-x86_64-2.5/duplicity/backends
copying src/backends/rsyncbackend.py ->
build/lib.linux-x86_64-2.5/duplicity/backends
copying src/backends/tahoebackend.py ->
build/lib.linux-x86_64-2.5/duplicity/backends
copying src/backends/hsibackend.py ->
build/lib.linux-x86_64-2.5/duplicity/backends
copying src/backends/__init__.py ->
build/lib.linux-x86_64-2.5/duplicity/backends
copying src/backends/botobackend.py ->
build/lib.linux-x86_64-2.5/duplicity/backends
copying src/backends/imapbackend.py ->
build/lib.linux-x86_64-2.5/duplicity/backends
copying src/backends/localbackend.py ->
build/lib.linux-x86_64-2.5/duplicity/backends
copying src/backends/sshbackend.py ->
build/lib.linux-x86_64-2.5/duplicity/backends
running build_ext
building 'duplicity._librsync' extension
creating build/temp.linux-x86_64-2.5
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-x86_64-2.5/_librsyncmodule.o
_librsyncmodule.c:25:20: error: Python.h: No such file or directory
_librsyncmodule.c:26:22: error: librsync.h: No such file or directory
_librsyncmodule.c:29: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
_librsyncmodule.c:33: error: expected ')' before 'result'
_librsyncmodule.c:42: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyTypeObject'
_librsyncmodule.c:45: error: expected specifier-qualifier-list before
'PyObject_HEAD'
_librsyncmodule.c:50: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
_librsyncmodule.c:69: error: expected ')' before '*' token
_librsyncmodule.c:80: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
_librsyncmodule.c:109: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '_librsync_sigmaker_methods'
_librsyncmodule.c:114: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
_librsyncmodule.c:130: error: expected declaration specifiers or '...' before
'PyObject'
_librsyncmodule.c: In function '_librsync_sigmaker_setattr':
_librsyncmodule.c:132: error: '_librsync_SigMakerObject' has no member named
'x_attr'
_librsyncmodule.c:132: error: 'NULL' undeclared (first use in this function)
_librsyncmodule.c:132: error: (Each undeclared identifier is reported only once
_librsyncmodule.c:132: error: for each function it appears in.)
_librsyncmodule.c:133: error: '_librsync_SigMakerObject' has no member named
'x_attr'
_librsyncmodule.c:133: warning: implicit declaration of function 'PyDict_New'
_librsyncmodule.c:134: error: '_librsync_SigMakerObject' has no member named
'x_attr'
_librsyncmodule.c:136: error: 'v' undeclared (first use in this function)
_librsyncmodule.c:137: warning: implicit declaration of function
'PyDict_DelItemString'
_librsyncmodule.c:137: error: '_librsync_SigMakerObject' has no member named
'x_attr'
_librsyncmodule.c:139: warning: implicit declaration of function
'PyErr_SetString'
_librsyncmodule.c:139: error: 'PyExc_AttributeError' undeclared (first use in
this function)
_librsyncmodule.c:143: warning: implicit declaration of function
'PyDict_SetItemString'
_librsyncmodule.c:143: error: '_librsync_SigMakerObject' has no member named
'x_attr'
_librsyncmodule.c: At top level:
_librsyncmodule.c:146: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '_librsync_SigMakerType'
_librsyncmodule.c:167: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyTypeObject'
_librsyncmodule.c:170: error: expected specifier-qualifier-list before
'PyObject_HEAD'
_librsyncmodule.c:177: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
_librsyncmodule.c:219: error: expected ')' before '*' token
_librsyncmodule.c:234: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
_librsyncmodule.c:262: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '_librsync_deltamaker_methods'
_librsyncmodule.c:267: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
_librsyncmodule.c:282: error: expected declaration specifiers or '...' before
'PyObject'
_librsyncmodule.c: In function '_librsync_deltamaker_setattr':
_librsyncmodule.c:284: error: '_librsync_DeltaMakerObject' has no member named
'x_attr'
_librsyncmodule.c:284: error: 'NULL' undeclared (first use in this function)
_librsyncmodule.c:285: error: '_librsync_DeltaMakerObject' has no member named
'x_attr'
_librsyncmodule.c:286: error: '_librsync_DeltaMakerObject' has no member named
'x_attr'
_librsyncmodule.c:288: error: 'v' undeclared (first use in this function)
_librsyncmodule.c:289: error: '_librsync_DeltaMakerObject' has no member named
'x_attr'
_librsyncmodule.c:291: error: 'PyExc_AttributeError' undeclared (first use in
this function)
_librsyncmodule.c:295: error: '_librsync_DeltaMakerObject' has no member named
'x_attr'
_librsyncmodule.c: At top level:
_librsyncmodule.c:298: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '_librsync_DeltaMakerType'
_librsyncmodule.c:320: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyTypeObject'
_librsyncmodule.c:323: error: expected specifier-qualifier-list before
'PyObject_HEAD'
_librsyncmodule.c:330: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
_librsyncmodule.c:357: error: expected ')' before '*' token
_librsyncmodule.c:370: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
_librsyncmodule.c:398: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '_librsync_patchmaker_methods'
_librsyncmodule.c:403: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
_librsyncmodule.c:418: error: expected declaration specifiers or '...' before
'PyObject'
_librsyncmodule.c: In function '_librsync_patchmaker_setattr':
_librsyncmodule.c:420: error: '_librsync_PatchMakerObject' has no member named
'x_attr'
_librsyncmodule.c:420: error: 'NULL' undeclared (first use in this function)
_librsyncmodule.c:421: error: '_librsync_PatchMakerObject' has no member named
'x_attr'
_librsyncmodule.c:422: error: '_librsync_PatchMakerObject' has no member named
'x_attr'
_librsyncmodule.c:424: error: 'v' undeclared (first use in this function)
_librsyncmodule.c:425: error: '_librsync_PatchMakerObject' has no member named
'x_attr'
_librsyncmodule.c:427: error: 'PyExc_AttributeError' undeclared (first use in
this function)
_librsyncmodule.c:431: error: '_librsync_PatchMakerObject' has no member named
'x_attr'
_librsyncmodule.c: At top level:
_librsyncmodule.c:434: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '_librsync_PatchMakerType'
_librsyncmodule.c:455: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '_librsyncMethods'
_librsyncmodule.c: In function 'init_librsync':
_librsyncmodule.c:467: error: 'PyObject' undeclared (first use in this function)
_librsyncmodule.c:467: error: 'm' undeclared (first use in this function)
_librsyncmodule.c:467: error: 'd' undeclared (first use in this function)
_librsyncmodule.c:467: warning: left-hand operand of comma expression has no
effect
_librsyncmodule.c:469: error: '_librsync_SigMakerType' undeclared (first use in
this function)
_librsyncmodule.c:469: error: 'PyType_Type' undeclared (first use in this
function)
_librsyncmodule.c:470: error: '_librsync_DeltaMakerType' undeclared (first use
in this function)
_librsyncmodule.c:471: warning: implicit declaration of function 'Py_InitModule'
_librsyncmodule.c:471: error: '_librsyncMethods' undeclared (first use in this
function)
_librsyncmodule.c:472: warning: implicit declaration of function
'PyModule_GetDict'
_librsyncmodule.c:473: error: 'librsyncError' undeclared (first use in this
function)
_librsyncmodule.c:473: warning: implicit declaration of function
'PyErr_NewException'
_librsyncmodule.c:473: error: 'NULL' undeclared (first use in this function)
_librsyncmodule.c:476: warning: implicit declaration of function 'Py_BuildValue'
_librsyncmodule.c:478: error: 'RS_DEFAULT_BLOCK_LEN' undeclared (first use in
this function)
error: command 'gcc' failed with exit status 1