home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / file / managers / mc-3.2 / mc-3 / mc-3.2.1 / INSTALL.FAST < prev    next >
Encoding:
Text File  |  1996-05-17  |  2.8 KB  |  70 lines

  1. -*-text-*-
  2.  
  3. Read the INSTALL file for the complete instructions. 
  4.  
  5.    The Midnight Commander by default will use the Slang screen
  6. manager, if something fails with the Slang screen manager, you may
  7. compile the program with your system curses (You will need a SysV
  8. compatible curses, in case you don't have such, read the README file
  9. for directions on getting the ncurses package, a freely available 
  10. replacement for SysV curses).
  11.  
  12. 1. Configure the package for your system.
  13.  
  14.    Normally, you just `cd' to the package main directory and type
  15. `./configure'.
  16.  
  17.    The most often needed options to configure are following:
  18.  
  19. `--prefix=PATH'
  20.     By default, `make install' will install the package's files in
  21.     `/usr/local/bin', `/usr/local/man', etc. or to `/usr/bin',
  22.     `/usr/man', etc. depending on the location of an old mc binary.
  23.     If you have none in your system, default will be `/usr/local'.
  24.     You can specify an installation prefix other than default by giving
  25.     `configure' the option `--prefix=PATH'.
  26.  
  27. `--with-slang' (default)
  28.     The easy way to get the Commander running: Slang is part of
  29.     the distribution. This is the default screen manager, if you run
  30.     configure without any --with-*curses parameter.
  31.    
  32. `--with-ncurses[=PATH]'
  33.     Use the flag without =PATH if you want to compile with ncurses
  34.     (default is in version 3.0 the SLang screen manager included
  35.     in the distribution).
  36.     Use this flag with =PATH part, if you want to compile with ncurses
  37.     and your ncurses is not installed in any of the
  38.     places configure checks (/usr/include, /usr/include/ncurses,
  39.     /usr/local/include and /usr/local/include/ncurses). The
  40.     configure script will append `lib' and `include' to find the
  41.     libncurses.a and ncurses.h files respectively.
  42.  
  43. `--with-gpm-mouse=PATH'
  44.     Use this flag if your GPM mouse package is not installed in
  45.     a standard place.  configure will append `lib' and `include'
  46.     to find the libgpm.a and gpm.h files respectively.
  47.  
  48. `--with-sco'
  49.     If you are compiling on a SCO machine.
  50.  
  51.    You may also want to specify CFLAGS for the compiler, even if it finds
  52.    itself some defaults by typing e.g.
  53.  
  54.    `CFLAGS=-O2 ./configure'
  55.  
  56. 2. Type `make' to compile the package.
  57.  
  58. 3. Type `make install' (as root) to install programs, data files, and
  59. documentation. If you're on a Linux system, this will install the 
  60. `cons.saver' utility, which allows the Midnight Commander to save and 
  61. restore the screen contents. If you're making a mc binary distribution for
  62. other people and want to tar the whole binary later, you may want to specify
  63. `make install DESTDIR=PATH', which will make PATH the root for installation
  64. (but in the installed stuff will be still stored only --prefix).
  65.  
  66. 3a. Type `make mcfninstall' to get an interactive program check if you
  67. want to define an useful alias for the Midnight Commander.
  68.  
  69. 4. Type `mc' and enjoy!
  70.