[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
re: [rdiff-backup-users] Re: Cygwin [WAS: Version 0.11.3 released]
From: |
Greg Freemyer |
Subject: |
re: [rdiff-backup-users] Re: Cygwin [WAS: Version 0.11.3 released] |
Date: |
Thu, 6 Mar 2003 11:22:52 -0500 |
Thanks Ben.
That worked and it is much better than typing in the gcc line by hand.
Greg
>> >>>>> "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
>> -- NextPart --
>> Attached File: c:\program
>> files\goldmine\MailBox\Attach\gaf\FILE2004.pgp-signature
>> -- NextPart --
>> _______________________________________________
>> rdiff-backup-users mailing list
>> address@hidden
>> http://mail.nongnu.org/mailman/listinfo/rdiff-backup-users
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- re: [rdiff-backup-users] Re: Cygwin [WAS: Version 0.11.3 released],
Greg Freemyer <=