nixp.ru v3.0

29 марта 2024,
пятница,
08:29:37 MSK

simsim написал 3 мая 2006 года в 13:00 (6283 просмотра) Ведет себя неопределенно; открыл 7 тем в форуме, оставил 5 комментариев на сайте.

Выполняю

#./configure

loading cache ./config.cache

checking for a BSD compatible install… /usr/bin/ginstall -c

checking whether build environment is sane… yes

checking for mawk… no

checking for gawk… gawk

checking whether make sets ${MAKE}… yes

checking whether to enable maintainer-specific portions of Makefiles… no

checking for gcc… gcc

checking whether the C compiler (gcc -g) works… no

configure: error: installation or configuration problem: C compiler cannot create executables.

////////////////////////////

содержимое config.log

This file contains any messages produced by compilers while

running configure, to aid debugging if configure makes a mistake.

configure:809: checking for a BSD compatible install

configure:862: checking whether build environment is sane

configure:933: checking for mawk

configure:933: checking for gawk

configure:963: checking whether make sets ${MAKE}

configure:1084: checking whether to enable maintainer-specific portions of Makefiles

configure:1117: checking for gcc

configure:1230: checking whether the C compiler (gcc -g) works

configure:1246: gcc -o conftest -g conftest.c 1>&5

/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackware-linux/bin/ld: crt1.o: No such file: No such file or directory

collect2: ld returned 1 exit status

configure: failed program was:

#line 1241 «configure»

#include «confdefs.h»

main(){return(0);}

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

gcc переустанавливал, не помогло. Есть идеи?

metal

gcc --version работает?

simsim
metal
gcc --version работает?

# gcc --version

gcc (GCC) 3.3.6

Copyright (C) 2003 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Genie
checking whether the C compiler (gcc -g) works… no

configure: error: installation or configuration problem: C compiler cannot create executables.

сосмотри, что у тебя тут в config.log находится и что именно не так.

будет понятно..

/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackware-l inux/bin/ld: crt1.o: No such file: No such file or directory

не хватает этого файла.

надо доставить пакеты от …. libc6:

$ dpkg -S crt1.o
libc6-dev: /usr/lib/Scrt1.o
libc6-dev: /usr/lib/Mcrt1.o
libc6-dev: /usr/lib/gcrt1.o
libc6-dev: /usr/lib/crt1.o
8084

Иногда(не в данном случае) такое(похожее сильно) бывает из-за неверных CFLAGS

anonymous

upgradepkg --reinstall glibc-2.3.5-i486-5

если это slackware-10.2

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.