1 Read the INSTALL file for the complete instructions.
3 GNU Midnight Commander requires glib2. You may already have glib
4 installed, but if you don't, take it from ftp://ftp.gtk.org/pub/gtk/
6 GNU Midnight Commander uses the S-Lang screen library by default. It
7 tries the S-Lang library installed on the system. If it's not found,
8 the included S-Lang sources are used. It is also possible to use
9 ncurses as the screen library.
11 1. Configure the package for your system.
13 Normally, you just `cd' to the package main directory and type
16 The most often needed options to configure are following:
19 By default, `make install' will install the package's files
20 in `/usr/local/bin', `/usr/local/man', etc. or to `/usr/bin',
21 `/usr/man', etc. depending on the location of an old mc binary.
22 If you have none in your system, default will be `/usr/local'.
23 You can specify an installation prefix other than default by
24 giving `configure' the option `--prefix=PATH'.
26 `--with-screen={slang|ncurses}'
27 Choose the library used to manage interaction with the terminal.
28 `slang' means S-Lang library already installed on the system,
29 `ncurses' means ncurses library already installed on the system.
30 The installed S-Lang library is used by default if found.
32 You may also want to specify CFLAGS for the compiler, even if it finds
33 itself some defaults by typing e.g.
35 ./configure CFLAGS=-O3
37 2. Type `make' to compile the package.
39 3. Type `make install' to install programs, data files, and
40 documentation. You may need to run this command as root.
42 If you're on a GNU/Linux system, this will install the `cons.saver'
43 utility, which allows the Midnight Commander to save and restore the
44 screen contents. This utility can be installed setuid root, but it's
45 only needed on systems where users cannot access /dev/vcsaN, where N is
46 the virtual console number, on which the uses is logged on.
48 If you're making a mc binary distribution for other people and want to
49 package the whole installed tree, use `make install DESTDIR=PATH', which
50 will make PATH the root for installation.
52 4. Type `mc' and enjoy!