LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-01-2016, 08:05 PM   #1
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Rep: Reputation: Disabled
How to build rdiff-backup from a git clone.


Anyone know how to build rdiff-backup from a git clone?

librsync is in non-standard location but it seems that the build is just broken.

I tried python setup.py install but that fails when it can't find rdiff_backup. setup.py is in dist/ and rdiff_backup is at the same level as dist/.
 
Old 08-01-2016, 08:46 PM   #2
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Original Poster
Rep: Reputation: Disabled
I found out the rdiff-backup is not compatible with the latest librsync.
 
Old 08-01-2016, 09:03 PM   #3
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,075

Rep: Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725
You can install librsync 0.9.7 from sourceforge and use it with rdiff-backup, unless there were features you specifically need in librsync 2.x

Last edited by notKlaatu; 08-01-2016 at 09:04 PM. Reason: s/rsync/rdiff
 
Old 08-01-2016, 09:34 PM   #4
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by notKlaatu
unless there were features you specifically need in librsync 2.x
As far as I know there are no features in 2.x that I need but I found that I just had to patch one file so things would compile.

The call to rs_sig_begin need to use the new three parameter form.

rdiff_backup/_librsyncmodule.c

Code:
sm->sig_job = rs_sig_begin((size_t)blocklen,(size_t)8, RS_MD4_SIG_MAGIC);
Now it all works.
I have always liked rsync so I like that rdiff_backup makes use of the technology. Binary diff is a nice thing.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rdiff-backup syntax MsFinni Linux - Newbie 4 01-24-2016 11:49 PM
git clone: Git Protocol not working SnH Linux - Newbie 3 05-23-2013 03:29 AM
inconsistency issue of git-clone ***/git/mesa/drm with the existing kernel source centguy Linux - Desktop 2 10-08-2008 11:36 PM
Backup system ala rdiff-backup, but without mirror and with dst encryption dr_dex Linux - Software 0 08-04-2008 04:39 AM
rdiff-backup problem dave`2005 Linux - Software 0 03-19-2006 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration