INSTALL 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. To build and install rsync:
  2. $ ./configure
  3. $ make
  4. # make install
  5. You may set the installation directory and other parameters by options
  6. to ./configure. To see them, use:
  7. $ ./configure --help
  8. Configure tries to figure out if the local system uses group "nobody" or
  9. "nogroup" by looking in the /etc/group file. (This is only used for the
  10. default group of an rsync daemon, which attempts to run with "nobody"
  11. user and group permissions.) You can change the default user and group
  12. for the daemon by editing the NOBODY_USER and NOBODY_GROUP defines in
  13. config.h, or just override them in your /etc/rsyncd.conf file.
  14. As of 2.4.7, rsync uses Eric Troan's popt option-parsing library. A
  15. cut-down copy of a recent release is included in the rsync distribution,
  16. and will be used if there is no popt library on your build host, or if
  17. the --with-included-popt option is passed to ./configure.
  18. If you configure using --enable-maintainer-mode, then rsync will try
  19. to pop up an xterm on DISPLAY=:0 if it crashes. You might find this
  20. useful, but it should be turned off for production builds.
  21. MAKE COMPATIBILITY
  22. ------------------
  23. Note that Makefile.in has a rule that uses a wildcard in a prerequisite. If
  24. your make has a problem with this rule, you will see an error like this:
  25. Don't know how to make ./*.c
  26. You can change the "proto.h-tstamp" target in Makefile.in to list all the *.c
  27. filenames explicitly in order to avoid this issue.
  28. RPM NOTES
  29. ---------
  30. Under packaging you will find .spec files for several distributions.
  31. The .spec file in packaging/lsb can be used for Linux systems that
  32. adhere to the Linux Standards Base (e.g., RedHat and others).
  33. HP-UX NOTES
  34. -----------
  35. The HP-UX 10.10 "bundled" C compiler seems not to be able to cope with
  36. ANSI C. You may see this error message in config.log if ./configure
  37. fails:
  38. (Bundled) cc: "configure", line 2162: error 1705: Function prototypes are an ANSI feature.
  39. Install gcc or HP's "ANSI/C Compiler".
  40. MAC OSX NOTES
  41. -------------
  42. Some versions of Mac OS X (Darwin) seem to have an IPv6 stack, but do
  43. not completely implement the "New Sockets" API.
  44. <http://www.ipv6.org/impl/mac.html> says that Apple started to support
  45. IPv6 in 10.2 (Jaguar). If your build fails, try again after running
  46. configure with --disable-ipv6.
  47. IBM AIX NOTES
  48. -------------
  49. IBM AIX has a largefile problem with mkstemp. See IBM PR-51921.
  50. The workaround is to append the below to config.h
  51. #ifdef _LARGE_FILES
  52. #undef HAVE_SECURE_MKSTEMP
  53. #endif