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

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

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


From: Ben Escoto
Subject: [rdiff-backup-users] Re: Cygwin [WAS: Version 0.11.3 released]
Date: Thu, 06 Mar 2003 00:04:32 -0800

>>>>> "GF" == Greg Freemyer <address@hidden>
>>>>> wrote the following on Wed, 5 Mar 2003 16:37:06 -0500

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

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

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

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

Instead of a makefile, rdiff-backup uses distutils, which is pretty
standard for python packages.  Some rdiff-backup user was complaining
about the library directory before, and patched python so that you
could specify --libdir or --includedirs on the command line.  I think
the patch got accepted, so who knows, maybe it's in the latest version
of python.

Anyway, assuming that doesn't work try editing setup.py, and adding a
library_dirs line like this (some surrounding context added):

ext_modules = [Extension("rdiff_backup.C", ["cmodule.c"]),
               Extension("rdiff_backup._librsync", ["_librsyncmodule.c"],
                         library_dirs=["/usr/local/lib/or/whatever"],
                         libraries=["rsync"])],


-- 
Ben Escoto

Attachment: pgpVK4Fbu60Sb.pgp
Description: PGP signature


reply via email to

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