SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Problem when compiling - cant find Python.h
Author Message
Post Problem when compiling - cant find Python.h 
I use rdiff-backup to do backups to two external systems where I have
shell login accounts. Trying to compile version 1.3.3 on *both* of these
systems fails because Python.h is missing:-

...
...
...
copying rdiff_backup/user_group.py -> build/lib.linux-i686-2.5/rdiff_backup
copying rdiff_backup/win_acls.py -> build/lib.linux-i686-2.5/rdiff_backup
running build_ext
building 'rdiff_backup.C' extension
creating build/temp.linux-i686-2.5
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
...
...
...

So, is this simply because the remote systems don't have some Python
development headers installed or is there some more subtle problem?

--
Chris Green

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

Post Problem when compiling - cant find Python.h 
mån 2010-11-22 klockan 14:05 +0000 skrev Chris G:
I use rdiff-backup to do backups to two external systems where I have
shell login accounts. Trying to compile version 1.3.3 on *both* of
these
systems fails because Python.h is missing:-

...
...
...
copying rdiff_backup/user_group.py ->
build/lib.linux-i686-2.5/rdiff_backup
copying rdiff_backup/win_acls.py ->
build/lib.linux-i686-2.5/rdiff_backup
running build_ext
building 'rdiff_backup.C' extension
creating build/temp.linux-i686-2.5
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
...
...
...

So, is this simply because the remote systems don't have some Python
development headers installed or is there some more subtle problem?

Yes, this is the exact error you get from missing python dev headers.

(You will also need librsync and its development headers.)

// Andreas

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

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB