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