Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to configure ./configure --prefix=/localfolder glib-2.26.1/ make make install

but it fails at make stage.

trying to configure mc-4.6.1/ and make doesn't obviously work.

What are the steps I need to make in order to install midnight comander for my local user in a custom folder?

Make for glib gives me these errors

/usr/bin/msgfmt: found 2 fatal errors
cp: cannot stat `': No such file or directory
gmake[4]: *** [] Error 1
gmake[4]: Leaving directory `/remote/folder/mc/glib-2.26.1/gio/tests'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/remote/folder/mc/glib-2.26.1/gio'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/remote/folder/mc/glib-2.26.1/gio'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/remote/folder/mc/glib-2.26.1'
gmake: *** [all] Error 2
share|improve this question

Here's your problem:

./configure --prefix=/localfolder

This will install to a folder underneath the root directory, which is not writable for a normal user.

This is the correct commandline:

./configure --prefix=~/localfolder && make && make install

(Of course, I'm assuming that you don't have write priveliges to /localfolder. The missing file may be another problem entirely.)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.