okay so I worked through your example....
here's what I did
downloaded your codebase
loaded/mounted debian
shoved the code in /usr/local/src/mc-4.8.10
(well /mnt/us/debian/usr/local/src/mc-4.8.10 as viewed externally )
get the stuff we need to build this lot
apt-get build-dep mc
configure it (keep it simple) / make it / install it
./configure --prefix=/mnt/us/extensions/mc/usr
make; make install
then copy everything from the resulting /mnt/us/debian/mnt/us/extensions/mc to /mnt/us/extensions/mc
tidy up the missing libs:
cd /mnt/us/extensions/mc
cp /mnt/us/debian/usr/lib/arm-linux-gnueabi/libgpm.so.2 usr/lib/
cp /mnt/us/debian/lib/arm-linux-gnueabi/libslang.so.2 usr/lib/
make a run script...
(let's read it)
cat /mnt/us/extensions/mc/mc
Code:
#!/bin/sh
LD_LIBRARY_PATH=/mnt/us/extensions/mc/usr/lib:/usr/lib:/lib /mnt/us/extensions/mc/usr/bin/mc
now run that...
(attached)
Hope that helps.