LINUX.ORG.RU

Gentoo/emake-like error

 , ,


0

1

Здравствуйте! Поставил я генту, ядро скомпилил, были подозрительные ошибки, но emerge сказал чтобы на них я не обращал внимания. Ок. Груб настроил, вхожу в генту: 1. Нет интернета. Зашел в генту под chroot и нужнобыло мне сделать emerge pciutils и тут такое:

make[1]: *** [init.o] Помилка 1
make[1]: *** Очікування завершення завдань...
make[1]: *** [access.o] Помилка 1
x86_64-pc-linux-gnu-gcc: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/vanilla.specs: No such file or directory
make[1]: *** [generic.o] Помилка 1
make[1]: Залишаю каталог "/var/tmp/portage/sys-apps/pciutils-3.1.10/work/pciutils-3.1.10/lib"
make: *** [lib/libpci.so.3.1.10] Помилка 2
 * ERROR: sys-apps/pciutils-3.1.10 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/pciutils-3.1.10'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/pciutils-3.1.10'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/pciutils-3.1.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/pciutils-3.1.10/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/pciutils-3.1.10/work/pciutils-3.1.10'
 * S: '/var/tmp/portage/sys-apps/pciutils-3.1.10/work/pciutils-3.1.10'

>>> Failed to emerge sys-apps/pciutils-3.1.10, Log file:

>>>  '/var/tmp/portage/sys-apps/pciutils-3.1.10/temp/build.log'

 * Messages for package sys-apps/pciutils-3.1.10:

 * ERROR: sys-apps/pciutils-3.1.10 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/pciutils-3.1.10'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/pciutils-3.1.10'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/pciutils-3.1.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/pciutils-3.1.10/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/pciutils-3.1.10/work/pciutils-3.1.10'
 * S: '/var/tmp/portage/sys-apps/pciutils-3.1.10/work/pciutils-3.1.10'
пробовал перекомпилить gcc и make
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/sys-devel/make-3.82-r4/work/make-3.82':
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-devel/make-3.82-r4/work/make-3.82/config.log
 * ERROR: sys-devel/make-3.82-r4 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 2349:  Called econf '--program-prefix=g' '--enable-nls'
 *   phase-helpers.sh, line  501:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=sys-devel/make-3.82-r4'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/make-3.82-r4'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/make-3.82-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/make-3.82-r4/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/make-3.82-r4/work/make-3.82'
 * S: '/var/tmp/portage/sys-devel/make-3.82-r4/work/make-3.82'

>>> Failed to emerge sys-devel/make-3.82-r4, Log file:

>>>  '/var/tmp/portage/sys-devel/make-3.82-r4/temp/build.log'

 * Messages for package sys-devel/make-3.82-r4:

 * ERROR: sys-devel/make-3.82-r4 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 2349:  Called econf '--program-prefix=g' '--enable-nls'
 *   phase-helpers.sh, line  501:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=sys-devel/make-3.82-r4'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/make-3.82-r4'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/make-3.82-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/make-3.82-r4/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/make-3.82-r4/work/make-3.82'
 * S: '/var/tmp/portage/sys-devel/make-3.82-r4/work/make-3.82'

с первого раза gcc не компилился, а теперь жду пока скомпилиться. может в нем проблемма

Ответ на: комментарий от Kindly_Cat

в chroot среде все работает какраз, а вот в самой генте - нет

Zoreno ()
Ответ на: комментарий от Kindly_Cat

только что пошаманил и оказалось что emerge ggc&&emerge make&&emerge pciutils все решили. а вот emerge gcc make pciutils не выполнялось. а вообще я живу в странной магической местности + весело здезды стали

Zoreno ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.