понимаю, но ответа на вопрос так и не видно. у меня такая же проблема.
при сборке ЛЮБОГО пакета выскакивает такая же ошибка.
пример при сборке Gnome Commander
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
--------------------------------------
содержание лога:
.......................
configure:3122: $? = 0
configure:3129: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
configure:3132: $? = 0
configure:3139: gcc -V >&5
gcc: '-V' option must have argument
configure:3142: $? = 1
configure:3165: checking for C compiler default output file name
configure:3192: gcc conftest.c >&5
collect2: cannot find 'ld'
configure:3195: $? = 1
configure:3233: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "gnome-commander"
| #define PACKAGE_TARNAME "gnome-commander"
| #define PACKAGE_VERSION "1.2.5"
| #define PACKAGE_STRING "gnome-commander 1.2.5"
| #define PACKAGE_BUGREPORT "
http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-commander"
| #define PACKAGE "gnome-commander"
| #define VERSION "1.2.5"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3240: error: C compiler cannot create executables
See `config.log' for more details.
....................
хотелось бы пояснения, что это за ошибка и как ее исправлять. есть подозрение, что в параметрах нужно настроить пути... но какие ?
все требуемые пакеты для компиляции установлены.