INSTALL 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 release 1.6.4 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. RPM NOTES
  22. ---------
  23. Under packaging you will find .spec files for several distributions.
  24. The .spec file in packaging/lsb can be used for Linux systems that
  25. adhere to the Linux Standards Base (e.g., RedHat and others).
  26. HP-UX NOTES
  27. -----------
  28. The HP-UX 10.10 "bundled" C compiler seems not to be able to cope with
  29. ANSI C. You may see this error message in config.log if ./configure
  30. fails:
  31. (Bundled) cc: "configure", line 2162: error 1705: Function prototypes are an ANSI feature.
  32. Install gcc or HP's "ANSI/C Compiler".
  33. MAC OSX NOTES
  34. -------------
  35. Some versions of Mac OS X (Darwin) seem to have an IPv6 stack, but do
  36. not completely implement the "New Sockets" API.
  37. <http://www.ipv6.org/impl/mac.html> says that Apple started to support
  38. IPv6 in 10.2 (Jaguar). If your build fails, try again after running
  39. configure with --disable-ipv6.
  40. IBM AIX NOTES
  41. -------------
  42. IBM AIX has a largefile problem with mkstemp. See IBM PR-51921.
  43. The workaround is to append the below to config.h
  44. #ifdef _LARGE_FILES
  45. #undef HAVE_SECURE_MKSTEMP
  46. #endif