LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-25-2011, 11:24 PM   #1
khandu
Member
 
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

Code:
curl -O http://rsync.samba.org/ftp/rsync/src/rsync-3.0.8.tar.gz
tar -xfvz rsync-3.0.8.tar.gz
curl -O http://rsync.samba.org/ftp/rsync/src/rsync-patches-3.0.8.tar.gz
tar -xvfz rsync-patches-3.0.8.tar.gz
???
???
./prepare-source
./configure
make
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
A.Thyssen
Member
 
Registered: May 2006
Location: Brisbane, Australia
Distribution: linux
Posts: 158

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
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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


.
 
  


Reply

Tags
compile, install, mac, rsync



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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:51 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