advancing in translation: internal viewer.
[midnight-commander.git] / INSTALL.FAST
blob0f6cb5a45a71a62254013ad4cb28bca9caf2c63a
1 -*-text-*-
3 Read the INSTALL file for the complete instructions. 
5    GNU Midnight Commander requires glib.  Currently only the 1.2.x
6 series are supported.  You may already have glib installed, but if you
7 don't, take it from ftp://ftp.gtk.org/pub/gtk/v1.2/
9    GNU Midnight Commander by default will use the S-Lang screen manager.
10 It tries the S-Lang library installed on the system, but if it's not
11 found, the included S-Lang sources are used.  It is also possible to
12 use ncurses as the screen manager.
14 1. Configure the package for your system.
16    Normally, you just `cd' to the package main directory and type
17 `./configure'.
19    The most often needed options to configure are following:
21 `--prefix=PATH'
22         By default, `make install' will install the package's files
23         in `/usr/local/bin', `/usr/local/man', etc. or to `/usr/bin',
24         `/usr/man', etc. depending on the location of an old mc binary.
25         If you have none in your system, default will be `/usr/local'.
26         You can specify an installation prefix other than default by
27         giving `configure' the option `--prefix=PATH'.
29 `--with-included-slang'
30         Don't try the S-Lang library installed in the system - use the
31         included S-Lang sources.  The included library is rather old,
32         by it works very well on many terminals.
33    
34 `--with-ncurses[=PATH]'
35         Use the flag without =PATH if you want to compile with ncurses
36         Use this flag with =PATH part if you want to compile with
37         ncurses, and your ncurses is not installed in any of the places
38         configure normally checks. The configure script will append
39         `lib' and `include' to find the libncurses.a and ncurses.h files
40         respectively.
42 `--with-gpm-mouse[=PATH]'
43         Use this flag if your GPM mouse package cannot be detected by the
44         configure. Use =PATH if it is installed in a non-standard place.
45         The configure will append `lib' and `include' to find the libgpm.a
46         and gpm.h files respectively.  Note that GPM is only available on
47         GNU/Linux systems.
49    You may also want to specify CFLAGS for the compiler, even if it finds
50    itself some defaults by typing e.g.
52    `CFLAGS=-O2 ./configure'
54 2. Type `make' to compile the package.
56 3. Type `make install' (as root) to install programs, data files, and
57 documentation.  If you're on a GNU/Linux system, this will install the
58 `cons.saver' utility, which allows the Midnight Commander to save and
59 restore the screen contents.  If you're making a mc binary distribution
60 for other people and want to tar the whole binary later, you may want
61 to specify `make install DESTDIR=PATH', which will make PATH the root
62 for installation.
64 4. Type `mc' and enjoy!