| 1 | To build and install rsync |
| 2 | |
| 3 | $ ./configure |
| 4 | $ make |
| 5 | # make install |
| 6 | |
| 7 | You may set the installation directory and other parameters by options |
| 8 | to ./configure. To see them, use: |
| 9 | |
| 10 | $ ./configure --help |
| 11 | |
| 12 | As of 2.4.7, rsync uses Eric Troan's popt option-parsing library. A |
| 13 | cut-down copy of release 1.5 is included in the rsync distribution, |
| 14 | and will be used if there is no popt library on your build host, or if |
| 15 | the --with-included-popt option is passed to ./configure. |
| 16 | |
| 17 | If you configure using --enable-maintainer-mode, then rsync will try |
| 18 | to pop up an xterm on DISPLAY=:0 if it crashes. You might find this |
| 19 | useful, but it should be turned off for production builds. |
| 20 | |
| 21 | |
| 22 | RPM NOTES |
| 23 | --------- |
| 24 | |
| 25 | Under packaging you will find .spec files for several distributions. |
| 26 | The .spec file in packaging/lsb can be used for Linux systems that |
| 27 | adhere to the Linux Standards Base (e.g., RedHat and others). |
| 28 | |
| 29 | HP-UX NOTES |
| 30 | ----------- |
| 31 | |
| 32 | The HP-UX 10.10 "bundled" C compiler seems not to be able to cope with |
| 33 | ANSI C. You may see this error message in config.log if ./configure |
| 34 | fails: |
| 35 | |
| 36 | (Bundled) cc: "configure", line 2162: error 1705: Function prototypes are an ANSI feature. |
| 37 | |
| 38 | Install gcc or HP's "ANSI/C Compiler". |
| 39 | |
| 40 | |
| 41 | |
| 42 | MAC OSX NOTES |
| 43 | ------------- |
| 44 | |
| 45 | Mac OS X (Darwin) seems to have an IPv6 stack, but it does not |
| 46 | completely implement the "New Sockets" API. |
| 47 | |
| 48 | <http://www.ipv6.org/impl/mac.html> says that Apple do not support |
| 49 | IPv6 yet. If your build fails, try again with --disable-ipv6. |
| 50 | |
| 51 | There is an unresolved problem with the OSX implimentation |
| 52 | of setgroups causing rsyncd to fail. The workaround is to |
| 53 | #undef HAVE_SETGROUPS in config.h |
| 54 | |
| 55 | IBM AIX NOTES |
| 56 | ------------- |
| 57 | |
| 58 | IBM AIX has a largefile problem with mkstemp. See IBM PR-51921. |
| 59 | The workaround is to append the below to config.h |
| 60 | #ifdef _LARGE_FILES |
| 61 | #undef HAVE_SECURE_MKSTEMP |
| 62 | #endif |