"Fossies" - the Fresh Open Source Software Archive

Member "lzip-1.22-rc2/INSTALL" (18 Jun 2020, 2459 Bytes) of package /linux/misc/lzip-1.22-rc2.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 report for "INSTALL": 1.22-rc1_vs_1.22-rc2.

    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 The operating system must allow signal handlers read access to objects with
    9 static storage duration so that the cleanup handler for Control-C can delete
   10 the partial output file.
   11 
   12 
   13 Procedure
   14 ---------
   15 1. Unpack the archive if you have not done so already:
   16 
   17 	tar -xf lzip[version].tar.lz
   18 or
   19 	lzip -cd lzip[version].tar.lz | tar -xf -
   20 
   21 This creates the directory ./lzip[version] containing the source from
   22 the main archive.
   23 
   24 2. Change to lzip directory and run configure.
   25    (Try 'configure --help' for usage instructions).
   26 
   27 	cd lzip[version]
   28 	./configure
   29 
   30    If you are compiling on MinGW, use:
   31 
   32 	./configure CXXFLAGS+='-D __USE_MINGW_ANSI_STDIO'
   33 
   34 3. Run make.
   35 
   36 	make
   37 
   38 4. Optionally, type 'make check' to run the tests that come with lzip.
   39 
   40 5. Type 'make install' to install the program and any data files and
   41    documentation.
   42 
   43    Or type 'make install-compress', which additionally compresses the
   44    info manual and the man page after installation.
   45    (Installing compressed docs may become the default in the future).
   46 
   47    You can install only the program, the info manual, or the man page by
   48    typing 'make install-bin', 'make install-info', or 'make install-man'
   49    respectively.
   50 
   51 
   52 Another way
   53 -----------
   54 You can also compile lzip into a separate directory.
   55 To do this, you must use a version of 'make' that supports the variable
   56 'VPATH', such as GNU 'make'. 'cd' to the directory where you want the
   57 object files and executables to go and run the 'configure' script.
   58 'configure' automatically checks for the source code in '.', in '..', and
   59 in the directory that 'configure' is in.
   60 
   61 'configure' recognizes the option '--srcdir=DIR' to control where to
   62 look for the sources. Usually 'configure' can determine that directory
   63 automatically.
   64 
   65 After running 'configure', you can run 'make' and 'make install' as
   66 explained above.
   67 
   68 
   69 Building without 'make'
   70 -----------------------
   71 If you need to build lzip on a system lacking a 'make' program, you can use
   72 'configure' to build, check, and install the lzip executable like this:
   73 
   74 	./configure --build --check --installdir=/usr/local/bin
   75 
   76 
   77 Copyright (C) 2008-2020 Antonio Diaz Diaz.
   78 
   79 This file is free documentation: you have unlimited permission to copy,
   80 distribute, and modify it.