"Fossies" - the Fresh Open Source Software Archive

Member "lzlib-1.13/INSTALL" (23 Jan 2022, 2626 Bytes) of package /linux/misc/lzlib-1.13.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.12_vs_1.13.

    1 Requirements
    2 ------------
    3 You will need a C99 compiler. (gcc 3.3.6 or newer is recommended).
    4 I use gcc 6.1.0 and 3.3.6, 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. (This requirement is for minilzip only).
   11 
   12 
   13 Procedure
   14 ---------
   15 1. Unpack the archive if you have not done so already:
   16 
   17 	tar -xf lzlib[version].tar.lz
   18 or
   19 	lzip -cd lzlib[version].tar.lz | tar -xf -
   20 
   21 This creates the directory ./lzlib[version] containing the source from
   22 the main archive.
   23 
   24 2. Change to lzlib directory and run configure.
   25    (Try 'configure --help' for usage instructions).
   26 
   27 	cd lzlib[version]
   28 	./configure
   29 
   30    If you are compiling on MinGW, use:
   31 
   32 	./configure CFLAGS+='-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 lzlib.
   39 
   40 5. Type 'make install' to install the library and any data files and
   41    documentation. (You may need to run ldconfig also).
   42 
   43    Or type 'make install-compress', which additionally compresses the
   44    info manual after installation.
   45    (Installing compressed docs may become the default in the future).
   46 
   47    You can install only the library or the info manual by typing
   48    'make install-lib' or 'make install-info' respectively.
   49 
   50    'make install-bin install-man' installs the program minilzip and its man
   51    page. 'install-bin' installs a shared minilzip if the shared library has
   52    been configured. Else it installs a static minilzip.
   53    'make install-bin-compress' additionally compresses the man page after
   54    installation.
   55 
   56    'make install-as-lzip' runs 'make install-bin' and then links minilzip to
   57    the name 'lzip'.
   58 
   59 
   60 Another way
   61 -----------
   62 You can also compile lzlib into a separate directory.
   63 To do this, you must use a version of 'make' that supports the variable
   64 'VPATH', such as GNU 'make'. 'cd' to the directory where you want the
   65 object files and executables to go and run the 'configure' script.
   66 'configure' automatically checks for the source code in '.', in '..', and
   67 in the directory that 'configure' is in.
   68 
   69 'configure' recognizes the option '--srcdir=DIR' to control where to
   70 look for the sources. Usually 'configure' can determine that directory
   71 automatically.
   72 
   73 After running 'configure', you can run 'make' and 'make install' as
   74 explained above.
   75 
   76 
   77 Copyright (C) 2009-2022 Antonio Diaz Diaz.
   78 
   79 This file is free documentation: you have unlimited permission to copy,
   80 distribute, and modify it.