LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 07: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, 07: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, 08:03 PM   #3
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
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 08:04 PM. Reason: s/rsync/rdiff
 
Old 08-01-2016, 08: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



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 10:49 PM
git clone: Git Protocol not working SnH Linux - Newbie 3 05-23-2013 02:29 AM
inconsistency issue of git-clone ***/git/mesa/drm with the existing kernel source centguy Linux - Desktop 2 10-08-2008 10:36 PM
Backup system ala rdiff-backup, but without mirror and with dst encryption dr_dex Linux - Software 0 08-04-2008 03:39 AM
rdiff-backup problem dave`2005 Linux - Software 0 03-19-2006 03:16 PM

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

All times are GMT -5. The time now is 12:50 AM.

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