Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-25-2011, 11:24 PM   #1
Registered: Sep 2003
Posts: 93

Rep: Reputation: 0
Unhappy Query on compiling / installing rsync

Hey Guys

will be doing it one mac but I think its the same way for others. What I am keen on is installing latest rsync with patches in /opt/rsync directory in my mac..

here is what I have understood to d

curl -O
tar -xfvz rsync-3.0.8.tar.gz
curl -O
tar -xvfz rsync-patches-3.0.8.tar.gz
sudo make install
1) How to make it point to install on /opt/rsync
2) How to use rsync-patches??

Any ideas will be great
Old 08-26-2011, 01:26 AM   #2
Registered: May 2006
Location: Brisbane, Australia
Distribution: linux
Posts: 153

Rep: Reputation: 44
1) use configure --prefix /opt/rsync
The main binary will be in /opt/rsync/bin

However rsync itself does not need any libraries, configuration files etc. only a binary and optionally a man page.

as such just build it and move the binary where you want it.

Make sure your dot login profiles includes the path to the rsync binary location at the remote end, or specify the remote ends binary using a --rsync-path option on the rsync command itself.

As for patches, I have never needed to build it myself, so I couldn't tell you off-hand.
Old 08-26-2011, 02:50 AM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3152Reputation: 3152Reputation: 3152Reputation: 3152Reputation: 3152Reputation: 3152Reputation: 3152Reputation: 3152Reputation: 3152Reputation: 3152Reputation: 3152
1) tar xvf rsync-3.0.8.tar.gz
2) tar xvf rsync-patches-3.0.8.tar.gz
3) cd rsync-3.0.8/
4) → Applying the 44 patches :
patch -p1 < patches/acls.diff
patch -p1 < patches/xattrs.diff



compile, install, mac, rsync

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
Query about installing and configuring OpenLaszlo Roddles Linux - Server 2 11-21-2009 11:31 PM
pkg-config query, installing the gtk+ library cypherpunk Linux - Software 1 07-16-2006 02:17 AM
query regarding installing swig on Red hat Linux9 shweta12 Linux - Software 4 04-27-2005 11:44 PM
Help Error Compiling MySQL Query Browser MarcusG Linux - Software 3 02-06-2005 10:02 AM
Query on Installing and using programs snoopyswiss Linux - Newbie 1 08-30-2004 02:56 AM

All times are GMT -5. The time now is 01:06 AM.

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