Midnight_Commander

TÍTULO:			Midnight_Commander
VERSIÓN LFS:		3.1
AUTOR:			Barbara Pfieffer <mudadmin@bejay.com>
TRADUCTOR:		Proyecto LFS-ES

SINOPSIS:
	Cómo instalar Midnight Commander (MC) y la requerida glib

RECETA:

Me gusta usar Midnight Commander como administrador de archivos que
funciona tanto en terminales como en X.

Descarga Midnight Commander 4.5.55
http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-4.5.55.tar.gz

Descarga glib 1.2.10 (no la versión 1.3)
ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz

Desempaqueta glib-1.2.10 y cambia a ese directorio.

Yo pongo todos los paquetes nuevos que instalo (no estándares en LFS)
en /usr/local, así que ahí es donde serán instalados.

Para instalar glib: (ejecuta como root)
./configure &&
make &&
rm -rf /install-prefix/include/glib.h /install-prefix/include/gmodule.h &&
make install

Entonces teclea ldconfig (para posibilitar la búsqueda de las librerías)
Si instalaste en /usr/local como hice yo, edita el PATH:

export PATH=$PATH:/usr/local/bin

Desempaqueta mc-4.5.55 y cámbiate a su directorio

Para instalar MC:
./configure --with-ncurses &&
make &&
make install