2

I am trying to make a backup solution off docker containers using rdiff. I have python install and the python-dev packages but when I run the install command:

python ./setup.py install 

I get the following error

running install
running build
running build_py
running build_ext
building 'rdiff_backup._librsync' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.7 -c _librsyncmodule.c -o build/temp.linux-x86_64-2.7/_librsyncmodule.o
_librsyncmodule.c:25:22: fatal error: librsync.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
poolie
  • 9,289
  • 1
  • 47
  • 74
user3001829
  • 24,412
  • 5
  • 17
  • 21

1 Answers1

2

Your container needs the librsync-dev package.

Ben Whaley
  • 32,811
  • 7
  • 87
  • 85