Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
устновка портежа x86 если в make.conf ACCEPT_KEYWORDS="~x86"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
chama
n00b
n00b


Joined: 30 Nov 2006
Posts: 26
Location: Екатеринбург

PostPosted: Thu Nov 30, 2006 9:30 am    Post subject: устновка портежа x86 если в make.conf AC Reply with quote

Я полный новичок в Linux а в Дженту в частности.
Стоит grub-0.97-r2, в make.conf ACCEPT_KEYWORDS="~x86"
Обновил portage. В них последняя версия grub-0.97-r3.
Но он у меня не устанавливается :(

Code:
 * Running autoheader ...                                                 [ ok ]
 * Running automake --add-missing --copy ...                              [ !! ]

 * Failed Running automake !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/sys-boot/grub-0.97-r3/temp/automake-1803.out


!!! ERROR: sys-boot/grub-0.97-r3 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  grub-0.97-r3.ebuild, line 35:   Called eautoreconf
  autotools.eclass, line 87:   Called eautomake
  autotools.eclass, line 188:   Called autotools_run_tool 'automake' '--add-miss                                              ing' '--copy'
  autotools.eclass, line 242:   Called die

!!! Failed Running automake !
!!! If you need support, post the topmost build error, and the call stack if rel                                              evant.


чтобы это обойти (grub-0.97-r3 имеет ключи ~amd64 ~x86, а grub-0.97-r2 amd64 x86), пытался в package.keywords написать sys-boot/grub x86, но при emerge --newuse grub дженту пытается установиьь grub-0.97-r3.

Как этого избежать?

Мне это необходимо что бы привести систему в актуальное сосотояние emerge -uDNv world
_________________
Иногда решительный шаг вперед - результат хорошего пинка сзади!
Back to top
View user's profile Send private message
viy
Veteran
Veteran


Joined: 03 Jul 2004
Posts: 1580
Location: Riga, Latvia

PostPosted: Thu Nov 30, 2006 10:00 am    Post subject: Reply with quote

Если ты живешь на ~-архитектуре, то будь готов сам разбираться с проблемами.
Я не думаю, что это стоящее занятия. Я как старичок пользуюсь ~ в исключительных случаях.

В данном случае тебе стоит посмотреть логи и найти ошибки в них, после которых все это дело падает.
Back to top
View user's profile Send private message
chama
n00b
n00b


Joined: 30 Nov 2006
Posts: 26
Location: Екатеринбург

PostPosted: Thu Nov 30, 2006 10:17 am    Post subject: Reply with quote

Есть еще один вопрос.
Я пытался обновить linux-2.6.18-gentoo-r2 на linux-2.6.18-gentoo-r3
emerge gentoo-sources
а дальше в /usr/src/linux make modules_install install (некоторая привычка оставшаяся с freebsd)
в /boot
получились следующие файлы
Code:
lrwxrwxrwx 1 root root       1 Ноя 24 09:43 boot -> .
lrwxrwxrwx 1 root root      23 Ноя 29 17:19 config -> config-2.6.18-gentoo-r3
-rw-r--r-- 1 root root   40384 Ноя 29 15:57 config-2.6.18-gentoo-r2
-rw-r--r-- 1 root root   40510 Ноя 27 15:23 config-2.6.18-gentoo-r2.old
-rw-r--r-- 1 root root   40627 Ноя 29 17:19 config-2.6.18-gentoo-r3
lrwxrwxrwx 1 root root      23 Ноя 29 15:57 config.old -> config-2.6.18-gentoo-r2
lrwxrwxrwx 1 root root      27 Ноя 29 17:19 System.map -> System.map-2.6.18-gentoo-r3
-rw-r--r-- 1 root root  849928 Ноя 29 15:57 System.map-2.6.18-gentoo-r2
-rw-r--r-- 1 root root  839154 Ноя 27 15:23 System.map-2.6.18-gentoo-r2.old
-rw-r--r-- 1 root root  854251 Ноя 29 17:19 System.map-2.6.18-gentoo-r3
lrwxrwxrwx 1 root root      27 Ноя 29 15:57 System.map.old -> System.map-2.6.18-gentoo-r2
lrwxrwxrwx 1 root root      24 Ноя 29 17:19 vmlinuz -> vmlinuz-2.6.18-gentoo-r3
-rw-r--r-- 1 root root 2036645 Ноя 29 15:57 vmlinuz-2.6.18-gentoo-r2
-rw-r--r-- 1 root root 2012703 Ноя 27 15:23 vmlinuz-2.6.18-gentoo-r2.old
-rw-r--r-- 1 root root 2039738 Ноя 29 17:19 vmlinuz-2.6.18-gentoo-r3
lrwxrwxrwx 1 root root      24 Ноя 29 15:57 vmlinuz.old -> vmlinuz-2.6.18-gentoo-r2

я думал что теперь у меня linux-2.6.18-gentoo-r3, но после перезагрузки пишет
Quote:
uname -a
Linux chama.telenet.ru 2.6.18-gentoo-r2 #5 SMP Fri Nov 24 04:41:44 YEKT 2006 i686 Intel(R) Pentium(R) 4 CPU 1400MHz GenuineIntel GNU/Linux

теперь пытаюсь обновляться так emerge -uDNv world
Правильноли это?
_________________
Иногда решительный шаг вперед - результат хорошего пинка сзади!
Back to top
View user's profile Send private message
Laitr Keiows
Bodhisattva
Bodhisattva


Joined: 04 Jul 2005
Posts: 891
Location: Kobe, Japan

PostPosted: Thu Nov 30, 2006 10:35 am    Post subject: Reply with quote

chama wrote:
Я полный новичок в Linux а в Дженту в частности.
make.conf ACCEPT_KEYWORDS="~x86"

Code:
 
 * Failed Running automake !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/sys-boot/grub-0.97-r3/temp/automake-1803.out


1) Сначала сделай что говорят и посмотри баги для grub на https://bugs.gentoo.org
2) Если решения там нет то прочитай про portage.mask в man portage


chama wrote:
Я пытался обновить linux-2.6.18-gentoo-r2 на linux-2.6.18-gentoo-r3
Правильноли это?

Покажи grub.conf и
Code:
ls -l /usr/src/linux
Back to top
View user's profile Send private message
chama
n00b
n00b


Joined: 30 Nov 2006
Posts: 26
Location: Екатеринбург

PostPosted: Fri Dec 01, 2006 4:31 am    Post subject: Reply with quote

Bug нашел щас разираюсь

Оказывется папка /boot/grub :?: у меня почему то затирается при перезагрузке, но после переустановки граббера восстанвливается
в grub.conf следующие данные:
Code:
default 0
timeout 3
splashimage=(hd0,0) /boot/grub/splash.xpm.gz
title=Gentoo GNU/Linux
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hdc3


Code:
ls -l /usr/src/linux
lrwxrwxrwx 1 root root 31 Ноя 29 16:54 /usr/src/linux -> /usr/src/linux-2.6.18-gentoo-r3

_________________
Иногда решительный шаг вперед - результат хорошего пинка сзади!
Back to top
View user's profile Send private message
Laitr Keiows
Bodhisattva
Bodhisattva


Joined: 04 Jul 2005
Posts: 891
Location: Kobe, Japan

PostPosted: Fri Dec 01, 2006 6:17 am    Post subject: Reply with quote

chama wrote:
Bug нашел щас разираюсь

Тут тебе и решение есть:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/grub/grub-0.97-r3.ebuild?r1=1.3&r2=1.4

Делаешь все как слева, потом делаешь ebuild /path/to/grub.ebuild digest и устанавливаешься.

Добавлю к тому что сказал viy что это не последняя проблема с который ты столкнешься на ~x86-системе.
Оно тебе надо?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum