Typo
[linux_from_scratch_hints.git] / OLD / midnight_commander.txt
blobf7d3b472dc82574b827241fc688334a46d38d49d
1 TITLE:          Midnight_Commander
2 LFS VERSION:    3.1
3 AUTHOR:         Barbara Pfieffer <mudadmin@bejay.com>
5 SYNOPSIS:
6         How to install Midnight Commander (MC) and required glib
9 HINT:
11 I like to use Midnight Commander for a file manager, which works
12 in both terminals and X.
14 Download Midnight Commander 4.5.55
15 http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-4.5.55.tar.gz
17 Download glib 1.2.10 (not the 1.3 versions)
18 ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz
20 Unpack glib-1.2.10 and change to its directory.
22 I put all newly installed packages (nonstandard lfs) in /usr/local, so
23 that's where these will be installed.
25 To install glib: (run as root)
26 ./configure &&
27 make &&
28 rm -rf /install-prefix/include/glib.h /install-prefix/include/gmodule.h &&
29 make install
31 Then type ldconfig (to allow the libraries to be found)
32 If you installed in /usr/local as I did, edit your PATH:
34 export PATH=$PATH:/usr/local/bin
36 Unpack mc-4.5.55 and change to its directory
38 To install MC:
39 ./configure --with-ncurses &&
40 make &&
41 make install