LINUX.ORG.RU

некомпилится...


0

0

ставлю генту. ставлю по хендбуку. и вот как пришло время поставить службу журналирования получаю это. что делать далее?

configure: error: C compiler cannot create executables See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/dev-util/pkgconfig-0.22/work/pkg-config-0.22/config.log

!!! ERROR: dev-util/pkgconfig-0.22 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3323: Called src_compile pkgconfig-0.22.ebuild, line 39: Called econf ebuild.sh, line 577: Called die

!!! econf failed !!! If you need support, post the topmost build error, and the call stack if evant. !!! A complete build log is located at '/var/tmp/portage/dev-util/pkgconfig-0 /temp/build.log'.

anonymous

может просто в stage3 нет нормального компилятора и его надо взять откуданибудь еще?

anonymous
()
Ответ на: комментарий от alex_custov

тоже самое абсолютно:

# cat /var/tmp/portage/dev-util/pkgconfig-0.22/temp/build.log >>> Unpacking source... >>> Unpacking pkg-config-0.22.tar.gz to /var/tmp/portage/dev-util/pkgconfig-0.22/work * Applying pkg-config-0.21-fix-tests.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-util/pkgconfig-0.22/work/pkg-config-0.22 ... * econf: updating pkg-config-0.22/glib-1.2.8/config.guess with /usr/share/gnuconfig/config.guess * econf: updating pkg-config-0.22/glib-1.2.8/config.sub with /usr/share/gnuconfig/config.sub * econf: updating pkg-config-0.22/config.guess with /usr/share/gnuconfig/config.guess * econf: updating pkg-config-0.22/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... i686-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 filing a report to bugs.gentoo.org: !!! /var/tmp/portage/dev-util/pkgconfig-0.22/work/pkg-config-0.22/config.log

!!! ERROR: dev-util/pkgconfig-0.22 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3323: Called src_compile pkgconfig-0.22.ebuild, line 39: Called econf ebuild.sh, line 577: Called die

!!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/dev-util/pkgconfig-0.22/temp/build.log'.

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

ой, сори :)

# cat /var/tmp/portage/dev-util/pkgconfig-0.22/temp/build.log 
>>> Unpacking source...
>>> Unpacking pkg-config-0.22.tar.gz to /var/tmp/portage/dev-util/pkgconfig-0.22/work
 * Applying pkg-config-0.21-fix-tests.patch ...                      [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-util/pkgconfig-0.22/work/pkg-config-0.22 ...
 * econf: updating pkg-config-0.22/glib-1.2.8/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating pkg-config-0.22/glib-1.2.8/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating pkg-config-0.22/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating pkg-config-0.22/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... i686-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 filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/dev-util/pkgconfig-0.22/work/pkg-config-0.22/config.log

!!! ERROR: dev-util/pkgconfig-0.22 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3323:   Called src_compile
  pkgconfig-0.22.ebuild, line 39:   Called econf
  ebuild.sh, line 577:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-util/pkgconfig-0.22/temp/build.log'.

anonymous
()
Ответ на: комментарий от bakagaijin

там очень много букв, как я понимаю в основном нужно вот это:

# cat /var/tmp/portage/dev-util/pkgconfig-0.22/work/pkg-config-0.22/config.log |grep error
gcc-config error: Could not run/locate "i686-pc-linux-gnu-gcc"
gcc-config error: Could not run/locate "i686-pc-linux-gnu-gcc"
gcc-config error: Could not run/locate "i686-pc-linux-gnu-gcc"
gcc-config error: Could not run/locate "i686-pc-linux-gnu-gcc"
configure:3051: error: C compiler cannot create executables

мда... и как же я тут без gcc жить буду?

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

а можно сделать симлинк на "gcc"?

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

Недавно ставил генту на голую машинку со stage3, было то же самое, как-то быстро пофиксилось. Поиграй с `gcc-config(1)`. Или libtool перемержить надо... Решается без костыльного симлинка.

Sphinx ★★☆☆
()
Ответ на: комментарий от anonymous

А стадия 686?

Я с 686 ставил, всё работало. Если другая стадия, то стоит скачать 686, если скачать нельзя, то поменять CHOST в make.conf в соответствии с архитектурой стадии.

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