"Fossies" - the Fresh Open Source Software Archive 
Member "zutils-1.10/INSTALL" (5 Jan 2021, 2694 Bytes) of package /linux/privat/zutils-1.10.tar.lz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes reports for "INSTALL":
1.10-rc1_vs_1.10 or
1.9_vs_1.10.
1 Requirements
2 ------------
3 You will need a C++11 compiler. (gcc 3.3.6 or newer is recommended).
4 I use gcc 6.1.0 and 4.1.2, but the code should compile with any standards
5 compliant compiler.
6 Gcc is available at http://gcc.gnu.org.
7
8 POSIX compliant versions of diff and grep are required for zdiff and zgrep.
9
10 (Option -L of zgrep fails (prints wrong results, returns wrong status, and
11 even hangs) when using GNU grep versions 3.2 to 3.4 inclusive because of a
12 wrong change in the exit status of grep, which was reverted in GNU grep 3.5).
13
14 Compressors for bzip2, gzip and lzip formats are required to run the tests.
15
16 If you are installing zutils along with GNU gzip and want to keep the
17 gzip scripts, the recommended method is to configure gzip as follows:
18
19 ./configure --program-transform-name='s/^z/gz/'
20
21 This renames, at installation time, the gzip scripts and man pages to
22 'gzcat', 'gzcat.1', etc, avoiding the name clashing with the programs
23 and man pages from zutils.
24
25
26 Procedure
27 ---------
28 1. Unpack the archive if you have not done so already:
29
30 tar -xf zutils[version].tar.lz
31 or
32 lzip -cd zutils[version].tar.lz | tar -xf -
33
34 This creates the directory ./zutils[version] containing the source from
35 the main archive.
36
37 2. Change to zutils directory and run configure.
38 (Try 'configure --help' for usage instructions).
39
40 cd zutils[version]
41 ./configure
42
43 3. Run make.
44
45 make
46
47 4. Optionally, type 'make check' to run the tests that come with zutils.
48
49 5. Type 'make install' to install the programs and any data files and
50 documentation.
51
52 Or type 'make install-compress', which additionally compresses the
53 info manual and the man pages after installation.
54 (Installing compressed docs may become the default in the future).
55
56 You can install only the programs, the info manual, or the man pages by
57 typing 'make install-bin', 'make install-info', or 'make install-man'
58 respectively.
59
60
61 Another way
62 -----------
63 You can also compile zutils into a separate directory.
64 To do this, you must use a version of 'make' that supports the variable
65 'VPATH', such as GNU 'make'. 'cd' to the directory where you want the
66 object files and executables to go and run the 'configure' script.
67 'configure' automatically checks for the source code in '.', in '..', and
68 in the directory that 'configure' is in.
69
70 'configure' recognizes the option '--srcdir=DIR' to control where to
71 look for the sources. Usually 'configure' can determine that directory
72 automatically.
73
74 After running 'configure', you can run 'make' and 'make install' as
75 explained above.
76
77
78 Copyright (C) 2009-2021 Antonio Diaz Diaz.
79
80 This file is free documentation: you have unlimited permission to copy,
81 distribute, and modify it.