LINUX.ORG.RU

не находит компилятор


0

0

Решил собрать новый squid [quote] root@ubuntu:/home/tmp/squid-2.5.STABLE14# ./configure creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... mawk 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. [/quote]

И подобная фигня всегда когда че то пытаюсь собрать хотя gcc установлен

[quote] root@ubuntu:/home/tmp/squid-2.5.STABLE14# gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) [/quote]

в config.log

[quote] 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: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/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);} [/quote]


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