DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2015-06-23 09:45:47

ArchyBald
New member
Registered: 2015-06-08
Posts: 2

funplug-0.7 and mc-4.8.14

Hi, all. I decided to write how to compile mc(Midnight Commander) for DNS-323(or other devices with funplug).

1. Prepare. I just installed all packages from http://www.inreto.de/dns323/fun-plug/0.7/oabi/packages/

2. Glib. When I tried to "configure" current(4.8.14) mc sources, the message given me:

Code:

checking for GLIB... no
configure: error: glib-2.0 not found or version too old (must be >= 2.14)

We have to build and install Glib >= 2.14...
Build:

Code:

mkdir /ffp/tmp/glib2
cd /ffp/tmp/glib2
wget http://ftp.gnome.org/pub/gnome/sources/glib/2.15/glib-2.15.2.tar.bz2
tar xvf glib-2.15.2.tar.bz2
cd glib-2.15.2
./configure --prefix=/ffp \
   PKG_CONFIG="/ffp/bin/pkg-config" \
    CPPFLAGS="-I/ffp/include" \
   LDFLAGS="-L/ffp/lib"
make TMPDIR=/ffp/tmp
make install DESTDIR=/mnt/HD_a2/test/glib-2.15.2
cd /mnt/HD_a2/test/glib-2.15.2
export PKGDIR=/ffp/tmp; makepkg glib 2.15.2 0

Install:

Code:

funpkg -i /ffp/tmp/glib-2.15.2-oarm-0.txz

3. MC current version is 4.8.14.
We have to build and install it...
Build:

Code:

mkdir /ffp/tmp/mc
cd /ffp/tmp/mc
wget http://ftp.midnight-commander.org/mc-4.8.14.tar.xz
tar xvf mc-4.8.14.tar.xz
cd mc-4.8.14
./configure \
  --prefix=/ffp \
  --sysconfdir=/ffp/etc \
  --mandir=/ffp/man \
  --localstatedir=/ffp/var \
  --docdir=/ffp/share/mc \
 --enable-charset \
  --enable-background \
  --with-screen=ncurses \
  --with-x=no \
   LDFLAGS="-L/ffp/lib" \
   CPPFLAGS="-I/ffp/include" \
   PKG_CONFIG="/ffp/bin/pkg-config" 
make TMPDIR=/ffp/tmp
make install DESTDIR=/mnt/HD_a2/test/mc-4.8.14
cd /mnt/HD_a2/test/mc-4.8.14
export PKGDIR=/ffp/tmp; makepkg mc 4.8.14 0

Install:

Code:

funpkg -i /ffp/tmp/mc-4.8.14-oarm-0.txz

Thats all. Enjoy current mc...

P.S. Mijzelf, please add this packages and this(http://dns323.kood.org/forum/viewtopic.php?id=7604) to
http://www.inreto.de/dns323/fun-plug/0.7/oabi/packages/
or
http://downloads.zyxel.nas-central.org/ … /0.7/oabi/

Last edited by ArchyBald (2015-06-23 09:59:24)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB