вобщем
$ wget -c http://mc.linuxinside.com/Releases/mc-4.1.40-pre9.tar.gz
$ tar xzvfp mc-4.1.40-pre9.tar.gz
$ cd mc-4.1.40-pre9
по ЛОРу
http://www.linux.org.ru/news/opensource/644798меняем в файле /mc-4.1.40-pre9/src/cons.handler.c
>эта фигня и в pre8 была. там код в указанной строке >default: /* Nothing */ >надо заменить на >default: ; /* Nothing */
>Спасибо! Сразу встало всё без сучка и без задоринки

>Re: Re: Re: Re: Re: Вышел Midnight Commander mc-MP 4.1.40-pre9
> ну нифига себе, а у меня и без этого скомпилился наура!

>это зависит от компайлера. проявляется только на последних гцц
далее меняем в файле /mc-4.1.40-pre9/mc.configure
--with-gpm-mouse на --without-gpm-mouse
чтоб без мышки собиралось
конфигурируем ./mc.configure
Configuration:
Source code location: .
Compiler: gcc
Compiler flags: -g
File system: Midnight Commander Virtual File System
tarfs, mcfs, ftpfs
Text mode screen manager: SLang with terminfo
Install console saver: yes
Text mode mouse library: xterm only
Debugger code: none
With subshell support: yes
Internal editor: yes
Install path: /usr/bin, /usr/lib/mc
и все равно не компилится
make
make[1]: Leaving directory '/home/jeny/work/mc-4.1.40-pre9/src'
make[1]: Entering directory '/home/jeny/work/mc-4.1.40-pre9/po'
file=./`echo ru | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ru.po
ru.po:878: context separator <EOT> within string
ru.po:2407: context separator <EOT> within string
ru.po:2410: context separator <EOT> within string
/usr/bin/msgfmt: found 3 fatal errors
Makefile:105: recipe for target 'ru.gmo' failed
make[1]: *** [ru.gmo] Error 1
make[1]: Leaving directory '/home/jeny/work/mc-4.1.40-pre9/po'
Makefile:25: recipe for target 'all' failed
make: *** [all] Error 1

Пользователь решил продолжить мысль [time]26 Апрель 2015, 16:51:13[/time]:
вот патчи на него с которыми точно собирается
https://svnweb.freebsd.org/ports/head/misc/mc-light/files/вот на этом заглючило
patch-po-ru.po
https://svnweb.freebsd.org/ports/head/misc/mc-light/files/patch-po-ru.po?view=markup1 --- po/ru.po.orig Mon Aug 30 23:55:58 2004
2 +++ po/ru.po Tue Aug 14 21:17:35 2007
3 @@ -875,7 +875,7 @@
4
5 #: src/fixhlp.c:181
6 msgid ""
7 -"[Contents]\n"
8 +"[Contents]\n"
9 " Topics:\n"
10 "\n"
11 msgstr ""
12 @@ -2404,10 +2404,10 @@
13 #: src/help.c:278
14 msgid ""
15 " Help file format error\n"
16 -""
17 +""
18 msgstr ""
19 "ïÛÉÂËÁ × ÆÏÒÍÁÔÅ ÆÁÊÌÁ ÐÏÍÏÝÉ\n"
20 -""
21 +""
22
23 #: src/help.c:317
24 msgid " Internal bug: Double start of link area "
Пользователь решил продолжить мысль [time]26 Апрель 2015, 17:18:38[/time]:
с такой правкой файла ru.po скомпилилось, слава FreeBSD

--- po/ru.po.orig Mon Aug 30 23:55:58 2004
+++ po/ru.po Tue Aug 14 21:17:35 2007
@@ -875,7 +875,7 @@
#: src/fixhlp.c:181
msgid ""
-"[Contents]\n"
+"[Contents]\n"
" Topics:\n"
"\n"
msgstr ""
@@ -2404,10 +2404,10 @@
#: src/help.c:278
msgid ""
" Help file format error\n"
-""
+""
msgstr ""
"Ошибка в формате файла помощи\n"
-""
+""
#: src/help.c:317
msgid " Internal bug: Double start of link area "
без мышки правда

там тоже ошибки летят если конфигурировать с мышкой
Пользователь решил продолжить мысль 26 Апреля 2015, 16:19:36:
файл ru.po в KOI8 кодировке открывать