Fork me on GitHub

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
developer:rsync_hfs [2012/03/27 03:15]
henri [Compilation Instructions for Rsync v3 with Mac OS X MetaData Support]
developer:rsync_hfs [2020/07/08 03:45] (current)
henri [Compilation Instructions for Rsync v3 with Mac OS X MetaData Support]
Line 19: Line 19:
 ===== Compilation Instructions for Rsync v3 with Mac OS X MetaData Support ===== ===== Compilation Instructions for Rsync v3 with Mac OS X MetaData Support =====
  
-Below are some basic instructions for compiling rsync version 3.0.with various Mac OS X support.+Below are some basic instructions for compiling rsync version 3.1.with various Mac OS X support.
  
 \\  \\ 
Line 26: Line 26:
 \\ \\ \\ \\
  
-\\ +Finally, because Mac OS 10.6.x and later adds additional meta data (space saving compressed binaries) you should only use rsync compiled with the instructions listed below if you intend to preserve Mac OS X file attributes of user data without compressed binaries. 
 + 
 +\\ \\  
 + 
 +**Install Developer Tools**\\ 
 +This step may involve downloading the latest version of developer tools from the [[http://​developer.apple.com/​mac/​|Apple Developer Site]] or by Installing Xcode from the Apple AppStore. This is by far the most time consuming part of this process. Once you have the developer tools installed, compilation of rsync v3 with patches on a recent intel machine and DSL connect should take less than 2 minuets. 
 +\\ \\ 
   * Note : If you have installed Xcode 4.4 or later then you will need to install the command line tools as separate step. Further details are availible from [[http://​victorquinn.com/​blog/​2012/​02/​19/​fix-git-svn-in-mountain-lion/#​Install_Xcode_Command_Line_Tools|this external link]]. For reference a screen capture of the installation in process (via Xcode) is shown below. The screen capture is from OS X (10.8, AKA Mountain Lion). If you install the command line tools via Xcode must launch '​Xcode.app',​ then open the '​Preferences'​ (under the Xcode drop down menu). Next click on the '​Downloads'​ tab (within the preferences). Finally, select and install the '​Command Line Tools'   * Note : If you have installed Xcode 4.4 or later then you will need to install the command line tools as separate step. Further details are availible from [[http://​victorquinn.com/​blog/​2012/​02/​19/​fix-git-svn-in-mountain-lion/#​Install_Xcode_Command_Line_Tools|this external link]]. For reference a screen capture of the installation in process (via Xcode) is shown below. The screen capture is from OS X (10.8, AKA Mountain Lion). If you install the command line tools via Xcode must launch '​Xcode.app',​ then open the '​Preferences'​ (under the Xcode drop down menu). Next click on the '​Downloads'​ tab (within the preferences). Finally, select and install the '​Command Line Tools'
  
Line 37: Line 44:
 Once you have the developer tools (Xcode and depending upon your version of Xcode the Developer '​Command Line Tools'​) installed on your system, open the Terminal //''/​Applications/​Utilities/​Terminal.app''//​ and enter the commands listed below. The instructions listed below should be entered into a [[http://​en.wikipedia.org/​wiki/​Bash|BASH]] shell. The default shell on Mac OS X is BASH.  Once you have the developer tools (Xcode and depending upon your version of Xcode the Developer '​Command Line Tools'​) installed on your system, open the Terminal //''/​Applications/​Utilities/​Terminal.app''//​ and enter the commands listed below. The instructions listed below should be entered into a [[http://​en.wikipedia.org/​wiki/​Bash|BASH]] shell. The default shell on Mac OS X is BASH. 
  
-\\  
-Finally, because Mac OS 10.6.x and later adds additional meta data (space saving compressed binaries) you should only use rsync compiled with the instructions listed below if you intend to preserve Mac OS X file attributes of user data without compressed binaries. 
- 
-\\ \\  
- 
-**Install Developer Tools**\\ 
-This step may involve downloading the latest version of developer tools from the [[http://​developer.apple.com/​mac/​|Apple Developer Site]] or by Installing Xcode from the Apple AppStore. This is by far the most time consuming part of this process. Once you have the developer tools installed, compilation of rsync v3 with patches on a recent intel machine and DSL connect should take less than 2 minuets. 
 \\ \\ \\ \\
  
Line 60: Line 60:
 <​file>​ <​file>​
 cd ~/Desktop cd ~/Desktop
-curl -O http://​rsync.samba.org/​ftp/​rsync/​rsync-3.0.9.tar.gz +curl -O https://​rsync.samba.org/​ftp/​rsync/src/rsync-3.2.2.tar.gz 
-tar -xzvf rsync-3.0.9.tar.gz +tar -xzvf rsync-3.2.2.tar.gz 
-rm rsync-3.0.9.tar.gz +rm rsync-3.2.2.tar.gz 
-curl -O http://​rsync.samba.org/​ftp/​rsync/​rsync-patches-3.0.9.tar.gz +curl -O https://​rsync.samba.org/​ftp/​rsync/src/​rsync-patches-3.2.2.tar.gz 
-tar -xzvf rsync-patches-3.0.9.tar.gz +tar -xzvf rsync-patches-3.2.2.tar.gz 
-rm rsync-patches-3.0.9.tar.gz +rm rsync-patches-3.2.2.tar.gz 
-cd rsync-3.0.9+cd rsync-3.2.2
 </​file>​ </​file>​
  
Line 78: Line 78:
 <​file>​ <​file>​
 ./​prepare-source ./​prepare-source
-./configure+./​configure ​--disable-openssl
 make make
 sudo make install sudo make install