Страница 1 из 1

Не собирается мир FreBSD 7.0

Добавлено: 2012-06-07 14:51:30
BI_J
Добрый день. Впервые сталкиваюсь с такой штукой :(
При сборке мира вывалилась ошибка:

Код: Выделить всё

===> share/dict (all)
===> share/doc (all)
===> share/doc/bind9 (all)
===> share/doc/IPv6 (all)
===> share/doc/legal (all)
===> share/doc/legal/intel_ipw (all)
===> share/doc/legal/intel_iwi (all)
===> share/doc/legal/intel_wpi (all)
===> share/doc/papers (all)
===> share/doc/papers/beyond4.3 (all)
groff -Tascii  -mtty-char -ms -o1- /usr/src/share/doc/papers/beyond4.3/beyond43.ms | gzip -cn > beyond43.ascii.gz
groff: can't find `DESC' file
groff:fatal error: invalid device `ascii'
===> share/doc/papers/bufbio (all)
touch _stamp.extra
sed "s;bufsize\.eps;/usr/src/share/doc/papers/bufbio/&;" /usr/src/share/doc/papers/bufbio/bio.ms > bio.ms-patched
groff -Tascii -p -mtty-char -ms -o1- bio.ms-patched | gzip -cn > bio.ascii.gz
groff: can't find `DESC' file
groff:fatal error: invalid device `ascii'
===> share/doc/papers/contents (all)
groff -Tascii  -mtty-char -ms -o1- /usr/src/share/doc/papers/contents/contents.ms | gzip -cn > contents.ascii.gz
groff: can't find `DESC' file
groff:fatal error: invalid device `ascii'
===> share/doc/papers/devfs (all)
groff -Tascii -p -mtty-char -me -o1- /usr/src/share/doc/papers/devfs/paper.me | gzip -cn > devfs.ascii.gz
groff: can't find `DESC' file
groff:fatal error: invalid device `ascii'
===> share/doc/papers/diskperf (all)
groff -Tascii -t -mtty-char -ms -o1- /usr/src/share/doc/papers/diskperf/abs.ms /usr/src/share/doc/papers/diskperf/motivation.ms /usr/src/share/doc/papers/diskperf/equip.ms /usr/src/share/doc/papers/diskperf/methodology.ms /usr/src/share/doc/papers/diskperf/tests.ms /usr/src/share/doc/papers/diskperf/results.ms /usr/src/share/doc/papers/diskperf/conclusions.ms /usr/src/share/doc/papers/diskperf/appendix.ms | gzip -cn > diskperf.ascii.gz
groff: can't find `DESC' file
groff:fatal error: invalid device `ascii'
===> share/doc/papers/fsinterface (all)
groff -Tascii  -mtty-char -ms -o1- /usr/src/share/doc/papers/fsinterface/fsinterface.ms | gzip -cn > fsinterface.ascii.gz
groff: can't find `DESC' file
groff:fatal error: invalid device `ascii'
===> share/doc/papers/hwpmc (all)
groff -Tascii  -mtty-char -ms -o1- /usr/src/share/doc/papers/hwpmc/hwpmc.ms | gzip -cn > hwpmc.ascii.gz
groff: can't find `DESC' file
groff:fatal error: invalid device `ascii'
===> share/doc/papers/jail (all)
touch _stamp.extra
sed "s;jail01\.eps;/usr/src/share/doc/papers/jail/&;" /usr/src/share/doc/papers/jail/paper.ms > paper.ms-patched
groff -Tascii -I/usr/src/share/doc/papers/jail -mtty-char -ms -o1- paper.ms-patched | gzip -cn > jail.ascii.gz
groff: can't find `DESC' file
groff:fatal error: invalid device `ascii'
===> share/doc/papers/kernmalloc (all)
touch _stamp.extra
vgrind -f < /usr/src/share/doc/papers/kernmalloc/appendix.t > appendix.ms
groff -Tascii -e -p -I/usr/src/share/doc/papers/kernmalloc -t -mtty-char -ms -o1- /usr/src/share/doc/papers/kernmalloc/kernmalloc.t appendix.ms | gzip -cn > kernmalloc.ascii.gz
groff: can't find `DESC' file
groff:fatal error: invalid device `ascii'
===> share/doc/papers/kerntune (all)
touch _stamp.extra
groff -Tascii -e -p -I/usr/src/share/doc/papers/kerntune -t -mtty-char -ms -o1- /usr/src/share/doc/papers/kerntune/0.t /usr/src/share/doc/papers/kerntune/1.t /usr/src/share/doc/papers/kerntune/2.t /usr/src/share/doc/papers/kerntune/3.t /usr/src/share/doc/papers/kerntune/4.t | gzip -cn > kerntune.ascii.gz
groff: can't find `DESC' file
groff:fatal error: invalid device `ascii'
===> share/doc/papers/malloc (all)
groff -Tascii  -mtty-char -ms -o1- /usr/src/share/doc/papers/malloc/abs.ms /usr/src/share/doc/papers/malloc/intro.ms /usr/src/share/doc/papers/malloc/kernel.ms /usr/src/share/doc/papers/malloc/malloc.ms /usr/src/share/doc/papers/malloc/problems.ms /usr/src/share/doc/papers/malloc/alternatives.ms /usr/src/share/doc/papers/malloc/performance.ms /usr/src/share/doc/papers/malloc/implementation.ms /usr/src/share/doc/papers/malloc/conclusion.ms | gzip -cn > malloc.ascii.gz
groff: can't find `DESC' file
groff:fatal error: invalid device `ascii'
===> share/doc/papers/newvm (all)
groff -Tascii  -mtty-char -ms -o1- /usr/src/share/doc/papers/newvm/0.t /usr/src/share/doc/papers/newvm/1.t /usr/src/share/doc/papers/newvm/a.t | gzip -cn > newvm.ascii.gz
groff: can't find `DESC' file
groff:fatal error: invalid device `ascii'
===> share/doc/papers/relengr (all)
Как это лечится ?

Re: Не собирается мир FreBSD 7.0

Добавлено: 2012-06-07 15:44:33
hizel
лечится, живительной эвтаназией, например

Re: Не собирается мир FreBSD 7.0

Добавлено: 2012-06-09 4:07:22
rayder
некробздюшник? или как их там сейчас называют?

Re: Не собирается мир FreBSD 7.0

Добавлено: 2012-06-09 10:26:12
BI_J
Это так просто, что сказать лень ?

Re: Не собирается мир FreBSD 7.0

Добавлено: 2012-06-09 12:10:55
snorlov
Обновите исходники...

Re: Не собирается мир FreBSD 7.0

Добавлено: 2012-06-10 17:53:12
BI_J
Обновил, не помогло. На том же месте остановилось :(

Re: Не собирается мир FreBSD 7.0

Добавлено: 2012-06-12 9:36:53
BI_J
Проблема решилась. Нужно было подпилить make.conf
Делал по описанию тут

Код: Выделить всё

http://www.lissyara.su/articles/freebsd/tuning/make.conf/
Теперь другая проблема. Нужно собрать ядро. С первой же команды ошибка.
make kernel

Код: Выделить всё

ERROR: Missing kernel configuration file(s) (GENERIC).
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
Как я понимаю он не нашел файл GENERIC

uname -a

Код: Выделить всё

FreeBSD KC-02 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #13: Mon Feb 15 14:48:46 EET 2010     root@loki.ukrtelecom.com:/usr/obj/                                                                                                                                                   arm/usr/src/sys/KB920X  arm
ll /usr/src/sys/arm/conf

Код: Выделить всё

total 72
-rw-r--r--  1 root  wheel    13 Jun 20  2005 .cvsignore
-rw-r--r--  1 root  wheel  4721 Mar 12  2009 AVILA
-rw-r--r--  1 root  wheel   917 Apr 25  2008 AVILA.hints
-rw-r--r--  1 root  wheel  3718 Jan 12  2009 BWCT
-rw-r--r--  1 root  wheel   307 Jan  5  2007 BWCT.hints
-rw-r--r--  1 root  wheel  4038 Jan 12  2009 CRB
-rw-r--r--  1 root  wheel  4128 Jan 12  2009 EP80219
-rw-r--r--  1 root  wheel  5494 Jan 12  2009 HL200
-rw-r--r--  1 root  wheel  4182 Jan 12  2009 IQ31244
-rw-r--r--  1 root  wheel  5189 Jan 12  2009 KB920X
-rw-r--r--  1 root  wheel   488 Mar 24  2007 KB920X.hints
-rw-r--r--  1 root  wheel  2803 Jan 12  2009 SIMICS
-rw-r--r--  1 root  wheel  3339 Jan 12  2009 SKYEYE
Почему его может не быть ? И где его взять ?

Re: Не собирается мир FreBSD 7.0

Добавлено: 2012-06-12 10:18:11
BI_J
Например содержание другой директории:
ll /usr/src/sys/i386/conf

Код: Выделить всё

total 84
-rw-r--r--  1 root  wheel     13 Jun 20  2005 .cvsignore
-rw-r--r--  1 root  wheel    529 Jan  4  2010 DEFAULTS
-rw-r--r--  1 root  wheel  12830 Feb 17 08:58 GENERIC
-rw-r--r--  1 root  wheel   1739 May 18  2006 GENERIC.hints
-rw-r--r--  1 root  wheel   1026 Sep 18  2005 MAC
-rw-r--r--  1 root  wheel    120 Feb 27  2003 Makefile
-rw-r--r--  1 root  wheel  39334 Feb 17 08:58 NOTES
-rw-r--r--  1 root  wheel   2007 Sep 12  2008 PAE
-rw-r--r--  1 root  wheel   3530 Apr 10  2008 XBOX
Можно ли взять GENERIC из другой директории ???

Re: Не собирается мир FreBSD 7.0

Добавлено: 2012-06-12 10:51:09
Dark_fisher
BI_J писал(а):Например содержание другой директории:
ll /usr/src/sys/i386/conf

Код: Выделить всё

total 84
-rw-r--r--  1 root  wheel     13 Jun 20  2005 .cvsignore
-rw-r--r--  1 root  wheel    529 Jan  4  2010 DEFAULTS
-rw-r--r--  1 root  wheel  12830 Feb 17 08:58 GENERIC
-rw-r--r--  1 root  wheel   1739 May 18  2006 GENERIC.hints
-rw-r--r--  1 root  wheel   1026 Sep 18  2005 MAC
-rw-r--r--  1 root  wheel    120 Feb 27  2003 Makefile
-rw-r--r--  1 root  wheel  39334 Feb 17 08:58 NOTES
-rw-r--r--  1 root  wheel   2007 Sep 12  2008 PAE
-rw-r--r--  1 root  wheel   3530 Apr 10  2008 XBOX
Можно ли взять GENERIC из другой директории ???
Вообще можете попробовать, - но как по мне то проще выкачать Исходники ядра с сайта фрибсд.
Или прямо указать на то какое ядро нужно компилить
make buildkernel KERNCONF=/usr/src/sys/arm/conf/ИМЯ ФАЙЛА С КОНФИГОМ ЯДРА
make installkernel KERNCONF=/usr/src/sys/arm/conf/ИМЯ ФАЙЛА С КОНФИГОМ ЯДРА

Re: Не собирается мир FreBSD 7.0

Добавлено: 2012-06-12 13:11:56
BI_J
Прошу прощения. В списке

Код: Выделить всё

-rw-r--r--  1 root  wheel    13 Jun 20  2005 .cvsignore
-rw-r--r--  1 root  wheel  4721 Mar 12  2009 AVILA
-rw-r--r--  1 root  wheel   917 Apr 25  2008 AVILA.hints
-rw-r--r--  1 root  wheel  3718 Jan 12  2009 BWCT
-rw-r--r--  1 root  wheel   307 Jan  5  2007 BWCT.hints
-rw-r--r--  1 root  wheel  4038 Jan 12  2009 CRB
-rw-r--r--  1 root  wheel  4128 Jan 12  2009 EP80219
-rw-r--r--  1 root  wheel  5494 Jan 12  2009 HL200
-rw-r--r--  1 root  wheel  4182 Jan 12  2009 IQ31244
-rw-r--r--  1 root  wheel  5189 Jan 12  2009 KB920X
-rw-r--r--  1 root  wheel   488 Mar 24  2007 KB920X.hints
-rw-r--r--  1 root  wheel  2803 Jan 12  2009 SIMICS
-rw-r--r--  1 root  wheel  3339 Jan 12  2009 SKYEYE
Это все и есть перечень конфигов ядра, в зависимости от производителя железа.

Зря обращался за помощью.

Re: Не собирается мир FreBSD 7.0

Добавлено: 2012-06-12 13:24:46
Dark_fisher
BI_J писал(а):Прошу прощения. В списке
Это все и есть перечень конфигов ядра, в зависимости от производителя железа.

Зря обращался за помощью.
Зачем так сразу обижатся.
Я же вам говорю, что вам надо явно задать какой именно конфиг ядра компилить.
Ибо по умолчанию исчет GENERIC. А у вас, как я понял KB920X.
Вот и задайте явно
make buildkernel KERNCONF=/usr/src/sys/arm/conf/KB920X
make installkernel KERNCONF=/usr/src/sys/arm/conf/KB920X
Вот и все что я вам сказал.

А вы сразу начали огрызатся - что мол зря обратился и т.д.
Вам тут помочь пытаются - а вы.....

Re: Не собирается мир FreBSD 7.0

Добавлено: 2012-06-12 20:26:05
BI_J
Dark_fisher
Я не в коем случае не огрызался, вам показалось.
Просто не сразу понял, что это за файлы. А когда догадался увидел ваш ответ. Вот и сказал, что зря обратился, ответ был рядом...

Спасибо за помощь !

Re: Не собирается мир FreBSD 7.0

Добавлено: 2012-06-13 10:16:19
Dark_fisher
BI_J писал(а):Dark_fisher
Я не в коем случае не огрызался, вам показалось.
Просто не сразу понял, что это за файлы. А когда догадался увидел ваш ответ. Вот и сказал, что зря обратился, ответ был рядом...

Спасибо за помощь !
пользуйтесь на здоровье :)
и удачи в настройке :)