| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 | Please glance through *all* sections of this`README' file before starting configuration.  Also make sure you read files`ABOUT-NLS' and `INSTALL' if you are not familiar with them already.If you got the `tar' distribution in `shar' format, timestamps ought to beproperly restored, do not ignore such complaints at `unshar' time.GNU `tar' saves many files together into a single tape or diskarchive, and can restore individual files from the archive.  It includesmultivolume support, the ability to archive sparse files, automatic archivecompression/decompression, remote archives and special features that allow`tar' to be used for incremental and full backups.  This distributionalso includes `rmt', the remote tape server.  The `mt' tape drive controlprogram is in the GNU `cpio' distribution.GNU `tar' is derived from John Gilmore's public domain `tar'.See file `ABOUT-NLS' for how to customize this program to your language.See file `BACKLOG' for a summary of pending mail and articles.See file `COPYING' for copying conditions.See file `INSTALL' for compilation and installation instructions.See file `PORTS' for various ports of GNU tar to non-Unix systems.See file `NEWS' for a list of major changes in the current release.See file `THANKS' for a list of contributors.Besides those configure options documented in files `INSTALL' and`ABOUT-NLS', a few extra options may be accepted after `./configure':* `--with-dmalloc' is a debugging option for looking at memory managementproblems, it prerequires Gray Watson's package, which is available as`ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz'.The default archive device is now `stdin' on read and `stdout' on write.The installer can still override this by presetting `DEFAULT_ARCHIVE'in the environment before configuring (the behavior of `-[0-7]' or`-[0-7]lmh' options in `tar' are then derived automatically).  Similarly,`DEFAULT_BLOCKING' can be preset to something else than 20.For comprehensive modifications to GNU tar, you might need tools beyondthose used in simple installations.  Fully install GNU m4 1.4 first,and only then, Autoconf 2.13 or later.  Install Perl, then Automake1.4 or later.  You might need Bison 1.26 or later, and GNU tar itself.All are available on GNU archive sites, like inftp://ftp.gnu.org/pub/gnu/.Send bug reports to `bug-tar@gnu.org'.  (Beware, old-timers: it is`@gnu', not `@prep'; and not `bug-gnu-utils' anymore.)  A bug report isan adequate description of the problem: your input, what you expected,what you got, and why this is wrong.  Diffs are welcome, but they onlydescribe a solution, from which the problem might be uneasy to infer.If needed, submit actual data files with your report.  Small data filesare preferred.  Big files may sometimes be necessary, but do not send themto the report address; rather take special arrangement with the maintainer.Your feedback will help us to make a better and more portable package.Consider documentation errors as bugs, and report them as such.  If youdevelop anything pertaining to `tar' or have suggestions, let us knowand share your findings by writing at `tar-forum@iro.umontreal.ca'..--------------------.| Installation hints |`--------------------'Here are a few hints which might help installing `tar' on some systems.* Static linking.Some platform will, by default, prepare a smaller `tar' executablewhich depends on shared libraries.  Since GNU `tar' may be used forsystem-level backups and disaster recovery, installers might prefer toforce static linking, making a bigger `tar' executable maybe, but able towork standalone, in situations where shared libraries are not available.The way to achieve static linking varies between systems.  Set LDFLAGSto a value from the table below, before configuration (see `INSTALL').	Platform	Compiler	LDFLAGS	(any)		Gnu C		-static	AIX		(vendor)	"-bnso -bI:/lib/syscalls.exp"	HPUX		(vendor)	-Wl,-a,archive	IRIX		(vendor)	-non_shared	OSF		(vendor)	-non_shared	SCO 3.2v5	(vendor)	-dn	Solaris		(vendor)	-Bstatic	SunOS		(vendor)	-Bstatic* Failed `incremen.sh'.In an NFS environment, lack of synchronisation between machine clocksmight create difficulties to any tool comparing dates and file timestamps,like `tar' in incremental dumps.  This has been a recurrent problem inGNU Makefiles for the last few years.  We would like a general solution.* BSD compatibility matters.Set LIBS to `-lbsd' before configuration (see `INSTALL') if the linkercomplains about undefined `valloc' (AIX) or `bsd_ioctl' (Slackware).Also set CPPFLAGS to `-I/usr/include/bsd/sys' before configuration tosolve dirent problems (NeXT), or to `-I/usr/include/bsd' if <sgtty.h>is not found (Slackware).* `union wait' problems.Configuration of `union wait' does not always take the best decision.If you have this problem, edit file `config.cache' after configuration,find the line about `tar_cv_header_union_wait', change `yes' by `no'or vice-versa, execute `./config.status', then launch `make'.* `%lld' unsupported in `printf'.GNU C has `long long', but the underneath C library might not supportthe `%lld' format.  If you have this problem, edit file `config.cache'after configuration, find the line about `ac_cv_sizeof_long_long, change`8' by `0', execute `./config.status', then launch `make'.* FreeBSD users -- `configure' fails.It has been reported that `configure' does not run on FreeBSD 2.1.7,because of a buggy `sh'.  It works using `bash', however.* ISC users -- `S_*' symbols undefined.On ISC 4.1mu, POSIX environment, set CFLAGS to `-posix' and CPPFLAGS to`-D_SYSV3' before configuration (see `INSTALL').  This will trigger thedefinition of a few `S_' prefixed symbols from <sys/stat.h>.* Ultrix users -- broken `make'.It seems that Ultrix make does not correctly handle shell commandshaving logical connectives in them.  Use `s5make' if you have it, try`PROG_ENV=SYSTEM_FIVE make' (works on Ultrix 4.4), or install GNU Make..------------------.| Special topics.  |`------------------'Here are a few special matters about GNU `tar', not related to buildmatters.  See previous section for such.* File attributes.About *security*, it is probable that future releases of `tar' will havesome behaviour changed.  There are many pending suggestions to choose from.Today, extracting an archive not being `root', `tar' will restore suid/sgidbits on files but owned by the extracting user.  `root' automatically getsa lot of special priviledges, `-p' might later become required to get them.GNU `tar' does not properly restore symlink attributes.  Various systemsimplement flavours of symbolic links showing different behaviour andproperties.  We did not successfully sorted all these out yet.  Currently,the `lchown' call will be used if available, but that's all.* POSIX compliance.GNU `tar' implements an early draft of the POSIX 1003.1 `ustar' standardwhich is different from the final standard.  This will be progressivelycorrected over the incoming few years.  Don't be mislead by the mereexistence of the --posix option.  Later releases will become able toread truly POSIX archives, and also to produce them under option.  (Also,if you look at the internals, don't take the GNU extensions you see forgranted, as they are planned to change.)  GNU tar 2.0 will produce POSIXarchives by default, but there is a long way before we get there.* What's next?The emphasis from 1.11.2 to 1.12 has been on solving the main portability,execution or usability bugs.  This was accompanied all over with aninternal cleanup in the sources, and the reassembly of a `tar' manual.The `BACKLOG' file shows an approximative priorisation of the many pendingproblems and suggestions.  Besides pending problems and all other matterslisted above, the cleanup is planned to continue and extend to the generalorganisation of the code, preparing a long time in advance for a possiblemerge of the `cpio' and `tar' distributions, into some common `paxutils'.We also want to address some long-awaited performance issues (for example:double buffering) or enhancements (for example: per-file compression).
 |