LINUX.ORG.RU
решено ФорумAdmin

Gentoo установка

 


0

1

Ставлю gentoo по хендбуку, все как обычно, при установке gentoo-sources:

# emerge gentoo-sources

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 2) sys-devel/bc-1.06.95
 * bc-1.06.95.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking bc-1.06.95.tar.bz2 to /var/tmp/portage/sys-devel/bc-1.06.95/work
>>> Source unpacked in /var/tmp/portage/sys-devel/bc-1.06.95/work
>>> Compiling source in /var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-readline --without-libedit
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... 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/bc-1.06.95/work/bc-1.06.95/config.log
 * ERROR: sys-devel/bc-1.06.95 failed (compile phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_compile
 *        environment, line 2424:  Called econf '--with-readline' '--without-libedit'
 *   phase-helpers.sh, line  521:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=sys-devel/bc-1.06.95'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/bc-1.06.95'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
 * S: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'

>>> Failed to emerge sys-devel/bc-1.06.95, Log file:

>>>  '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'

 * Messages for package sys-devel/bc-1.06.95:

 * ERROR: sys-devel/bc-1.06.95 failed (compile phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_compile
 *        environment, line 2424:  Called econf '--with-readline' '--without-libedit'
 *   phase-helpers.sh, line  521:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=sys-devel/bc-1.06.95'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/bc-1.06.95'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
 * S: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
(chroot) ubuntu / # emerge gentoo-sources

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 2) sys-devel/bc-1.06.95
 * bc-1.06.95.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking bc-1.06.95.tar.bz2 to /var/tmp/portage/sys-devel/bc-1.06.95/work
>>> Source unpacked in /var/tmp/portage/sys-devel/bc-1.06.95/work
>>> Compiling source in /var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-readline --without-libedit
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... 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/bc-1.06.95/work/bc-1.06.95/config.log
 * ERROR: sys-devel/bc-1.06.95 failed (compile phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_compile
 *        environment, line 2424:  Called econf '--with-readline' '--without-libedit'
 *   phase-helpers.sh, line  521:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=sys-devel/bc-1.06.95'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/bc-1.06.95'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
 * S: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'

>>> Failed to emerge sys-devel/bc-1.06.95, Log file:

>>>  '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'

 * Messages for package sys-devel/bc-1.06.95:

 * ERROR: sys-devel/bc-1.06.95 failed (compile phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_compile
 *        environment, line 2424:  Called econf '--with-readline' '--without-libedit'
 *   phase-helpers.sh, line  521:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=sys-devel/bc-1.06.95'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/bc-1.06.95'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
 * S: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
Первый раз такое, как исправить?

★★★★★

То что вы сюда поместили не нужно, а нужно то, что указано выложить здесь:

 * If you need support, post the output of `emerge --info '=sys-devel/bc-1.06.95'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/bc-1.06.95'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
stage3 из какого LiveCD распаковывали ?

kostik87 ★★★★★
()
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

вот и открой config.log, как тебе советуется, и посмотри какая там ошибка пишется ( не в самом конце, а чуть повыше). Или выложи весь config.log

Harald ★★★★★
()
Ответ на: комментарий от TDrive
configure:2134: x86_64-pc-linux-gnu-gcc -O2 -pipe march=native  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
x86_64-pc-linux-gnu-gcc: error: march=native: No such file or directory

теперь открываешь свой /etc/make.conf и добавляешь пропущеный дефис к march=native

Harald ★★★★★
()
Ответ на: комментарий от vurdalak

Место закончилось?

Места полно

stage3 из какого LiveCD распаковывали ?

stage3 брал с зеркала яндекса, распоковывал из ubuntu LiveCD, в принципе всегда так делал.

TDrive ★★★★★
() автор топика
Ответ на: комментарий от megabaks

***************************************
**********************************************
*********************************************

Спасибо.)

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