A GNU Arch Handbook

1.4 Configure/Build/Test/Install

(prev) (next)


                          INSTALLATION INSTRUCTIONS


    These are generic installation instructions.  For additional 
    advice for this specific package, see "=README".

    In the directory `src' (a subdirectory of this directory) use the
    following commands (or similar) to build, test, and install this
    software:


            % mkdir =build                  # [0]
            % cd =build
            % ../configure --prefix INSTALL-DIRECTORY # [1], [2]
            ...
            % make                          # [3]
            ...
            % make test                     # [4]
            ...
            % make install


    NOTES: 

    [0] You must use a build directory which is separate from the 
        source tree.

    [1] If /bin/sh on your system is not Posix enough to handle
        the configure script, but "$SHELL" is, then run 
        configure this way:

            "$SHELL" ../configure --prefix PREFIX --config-shell "$SHELL"

    [2] Run "../configure --help" for information about setting 
        parameters other than "--prefix".

    [3] You must use a recent version of GNU make.  For now, do not
        use the "-j" option to make or otherwise arrange for a 
        parallel make.

    [4] To run the tests, on some systems, you must "unlimit datasize".

  ]]



(prev) (next)

Copyright

Copyright (C) 2005 Tom Lord (lord@emf.net)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this software; see the file COPYING -- $COPYING.html. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

(prev) (next)