Prev Up (Under construction)

mc


Norton Commander clone.

Compilation

Needs glib, ncurses or slang (preferrable).

V4.8.11

Needs glib 2.8.x minimum, recommended version >>=2.14.x. Further prerequisites: Then, for example:
             # AIX 6.1/7.1; C 9.0/12.1  
   ./configure --prefix=/tmp/mc-4.8.11 CC=cc 
      CPPFLAGS="-D_LARGE_FILES -D_THREAD_SAFE" CFLAGS="-O2"
      LDFLAGS="-L/bio/local/libssh2-1.4.3/lib -lssh2 -L/bio/local/glib-2.20.5/lib -lglib-2.0 -lgmodule-2.0"
      GLIB_CFLAGS="-I/bio/local/glib-2.20.5/include -I/bio/local/glib-2.20.5/include/glib-2.0"
      GLIB_LIBS=/bio/local/glib-2.20.5/lib
      GMODULE_CFLAGS="-I/bio/local/glib-2.20.5/include -I/bio/local/glib-2.20.5/include/glib-2.0"
      GMODULE_LIBS=/bio/local/glib-2.20.5/lib
      LIBSSH_CFLAGS=-I/bio/local/libssh2-1.4.3/include
      LIBSSH_LIBS=/bio/local/libssh2-1.4.3/lib
      --enable-static --disable-shared --disable-rpath --with-glib-static
      --with-slang-includes=/bio/local/include
      --with-slang-libs=/bio/local/lib
      --with-search-engine=glib
      --with-x --with-mmap
      --with-libiconv-prefix=/lib --with-included-gettext
      --enable-vfs-smb --enable-aspell

   make 
        # ensure the current directory is excluded from command path  
   make install

Installation/Configuration

V4.8.x

Assume a parent directory, $DST. Then put some definitions in some central startup script, for example:
   export MC_HOME=$DST/mc-4.8.x
   export MC_DATADIR=$MC_HOME/etc/mc
          # further definitions might be, no clue what for:
   export MC_TMPDIR=...         
   export MC_KEYMAP=...         
   export MC_SID=...         
   export MC_LOG_ENABLE=...         
   export MC_LOG_FILE=...         
   export MC_SKIN=...         
   export MC_COLOR_TABLE=...         

V4.6.x

Assume a parent directory, $DST. Then, for example:
   cd     $DST           
   gunzip -c /d/bio/biodev/HPUX/PA/mc-4.6.0-HP-UX.tar.gz | tar -xvf -
   export MC_DATADIR=$DST/mc-4.6.0-HP-UX/share/mc  # put this in some central startup script

Last updated: Fri Apr 11 12:49:43 CED 2014 , M.Kraemer

Impressum Data privacy protection