j_70 < at > comcast.net wrote:
I compiled rdiff from source on SuSe 9.1 Pro but when I try a test backup, I get the following:
linux:~ # rdiff-backup /home/user1/ 192.168.1.140::c:\2004
Traceback (most recent call last):
File "/usr/local/bin/rdiff-backup", line 20, in ?
import rdiff_backup.Main
File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py", line 25, in ?
import Globals, Time, SetConnections, selection, robust, rpath, \
File "/usr/local/lib/python2.4/site-packages/rdiff_backup/SetConnections.py", line 30, in ?
import Globals, connection, rpath
File "/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py", line 23, in ?
import types, os, tempfile, cPickle, shutil, traceback, pickle, \
File "/usr/local/lib/python2.4/gzip.py", line 9, in ?
import zlib
ImportError: No module named zlib
linux:~ #
Run the Python interpreter, and put in the command "import zlib". It'll
fail, because your Python install was compiled without zlib support;
this is the issue you need to fix.
Recompiling Python with the zlib *headers* installed will likely resolve
this issue.
