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

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

[rdiff-backup-users] Cygwin [WAS: Version 0.11.3 released]


From: Greg Freemyer
Subject: [rdiff-backup-users] Cygwin [WAS: Version 0.11.3 released]
Date: Wed, 5 Mar 2003 16:37:06 -0500

Okay,

I got past the build problem by just manually typing in the gcc line and adding 
a -L/usr/local/lib arg.

I can now successfully do a "python setup.py build;  python setup.py install".

When I try rdiff-backup, I'm now getting run time errors (in cygwin only) about 
IOError: [Errno 2] No such file or directory: 
'devel2/rdiff-backup-data/error_log.2003-03-05T16:33:25-05:00.data.gz'

==  Full Python output below:

$ rdiff-backup devel devel2
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 24, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 234, in 
Main
    take_action(rps)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 208, in 
take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 244, in 
Backup
    backup_init_dirs(rpin, rpout)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 302, in 
backup_init_dirs
    ErrorLog.open(Time.curtimestr, compress = Globals.compression)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/log.py", line 219, in open
    cls._log_fileobj = cls._log_inc_rp.open("wb", compress = compress)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line 806, in 
open
    if compress: return gzip.GzipFile(self.path, mode)
  File "/usr/lib/python2.2/gzip.py", line 43, in __init__
    fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
IOError: [Errno 2] No such file or directory: 
'devel2/rdiff-backup-data/error_log.2003-03-05T16:33:25-05:00.data.gz'

==
>>  Let's try this again...

>>  New in v0.11.3 (2003/03/04)
>>  ---------------------------

Ben,

I have installed 0.11.3 on a couple of SuSE boxes and it seems to be working 
great.

I am now trying to compile it in a cygwin environment.

I have the cvs version of librsync compiled as a static lib and installed into 
/usr/local/lib.  I'm not sure if that should work or not.

When I try to build rdiff-backup, I'm getting an error about not finding the 
lib.  

I was going to edit the makefile and hardcode the directory, but I can't even 
find a makefile.

Any ideas?

===
$ python setup.py build
running build
running build_py
not copying rdiff_backup/backup.py (output up-to-date)
not copying rdiff_backup/connection.py (output up-to-date)
not copying rdiff_backup/FilenameMapping.py (output up-to-date)
not copying rdiff_backup/Globals.py (output up-to-date)
not copying rdiff_backup/Hardlink.py (output up-to-date)
not copying rdiff_backup/increment.py (output up-to-date)
not copying rdiff_backup/iterfile.py (output up-to-date)
not copying rdiff_backup/lazy.py (output up-to-date)
not copying rdiff_backup/librsync.py (output up-to-date)
not copying rdiff_backup/log.py (output up-to-date)
not copying rdiff_backup/Main.py (output up-to-date)
not copying rdiff_backup/manage.py (output up-to-date)
not copying rdiff_backup/metadata.py (output up-to-date)
not copying rdiff_backup/Rdiff.py (output up-to-date)
not copying rdiff_backup/regress.py (output up-to-date)
not copying rdiff_backup/restore.py (output up-to-date)
not copying rdiff_backup/robust.py (output up-to-date)
not copying rdiff_backup/rorpiter.py (output up-to-date)
not copying rdiff_backup/rpath.py (output up-to-date)
not copying rdiff_backup/Security.py (output up-to-date)
not copying rdiff_backup/selection.py (output up-to-date)
not copying rdiff_backup/SetConnections.py (output up-to-date)
not copying rdiff_backup/static.py (output up-to-date)
not copying rdiff_backup/statistics.py (output up-to-date)
not copying rdiff_backup/TempFile.py (output up-to-date)
not copying rdiff_backup/Time.py (output up-to-date)
not copying rdiff_backup/__init__.py (output up-to-date)
running build_ext
skipping 'rdiff_backup.C' extension (up-to-date)
building 'rdiff_backup._librsync' extension
skipping _librsyncmodule.c (build/temp.cygwin-1.3.20-i686-2.2/_librsyncmodule.o
up-to-date)
gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.3.20-i686-2.2/_libr
syncmodule.o -L/usr/lib/python2.2/config -lrsync -lpython2.2 -o build/lib.cygwin
-1.3.20-i686-2.2/rdiff_backup/_librsync.dll
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: cannot fi
nd -lrsync
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

===

TIA
Greg




reply via email to

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