Commit | Line | Data |
---|---|---|
26c08b6c MP |
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, | |
3e85237e | 14 | and will be used if there is no popt library on your build host, or if |
26c08b6c | 15 | the --with-included-popt option is passed to ./configure. |
1c47fbd9 | 16 | |
c0531332 MP |
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. | |
1c47fbd9 MP |
20 | |
21 | ||
e2bea9eb PG |
22 | RPM NOTES |
23 | --------- | |
24 | ||
25 | Under packaging you will find .spec files for several distributions. | |
3903928c PG |
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). | |
e2bea9eb | 28 | |
1c47fbd9 MP |
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 | ||
ea775255 MP |
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 | ||
3e85237e S |
51 | IBM AIX NOTES |
52 | ------------- | |
ea775255 | 53 | |
3e85237e S |
54 | IBM AIX has a largefile problem with mkstemp. See IBM PR-51921. |
55 | The workaround is to append the below to config.h | |
56 | #ifdef _LARGE_FILES | |
57 | #undef HAVE_SECURE_MKSTEMP | |
58 | #endif |