LINUX.ORG.RU

Cannot install mrtg :-(


0

0

при установке MRTG: # ./configure 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 делаю по default (т.е. все по дефолту [])

bobik02
() автор топика

нда, а может приведете вывод ?? там обычно английским написано что к чему.

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

хорошо ./config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure

## --------- ## ## Platform. ## ## --------- ##

hostname = lamp uname -m = i686 uname -r = 2.6.17-1.2157.1asp uname -s = Linux uname -v = #1 Fri Aug 11 03:02:11 EEST 2006

/usr/bin/uname -p = unknown /bin/uname -X = unknown

/bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown

PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/bin PATH: /bin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /home/user/bin PATH: /sbin

## ----------- ## ## Core tests. ## ## ----------- ##

configure:1348: checking for gcc configure:1364: found /usr/bin/gcc configure:1374: result: gcc configure:1618: checking for C compiler version configure:1621: gcc --version </dev/null >&5 gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8) Copyright (C) 2005 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.

configure:1624: $? = 0 configure:1626: gcc -v </dev/null >&5 Using built-in specs. Target: i386-asplinux-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-asplinux-linux Thread model: posix gcc version 4.0.2 20051125 (Red Hat 4.0.2-8) configure:1629: $? = 0 configure:1631: gcc -V </dev/null >&5 gcc: '-V' option must have argument configure:1634: $? = 1 configure:1657: checking for C compiler default output file name configure:1660: gcc conftest.c >&5 /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:1663: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:1702: error: C compiler cannot create executables See `config.log' for more details.

## ---------------- ## ## Cache variables. ## ## ---------------- ##

ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_prog_ac_ct_CC=gcc

## ----------------- ## ## Output variables. ## ## ----------------- ##

CC='gcc' CFLAGS='' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GDFORM_EXT='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LDFLAGS='' LD_RUN_PATH='' LIBOBJS='' LIBS='' LTLIBOBJS='' NROFF='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PERL='' RRD_PERL='' SET_MAKE='' SHELL='/bin/sh' ac_ct_CC='gcc' bindir='${exec_prefix}/bin' build_alias='' datadir='${prefix}/share' exec_prefix='NONE' host_alias='' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias=''

## ----------- ## ## confdefs.h. ## ## ----------- ##

#define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION ""

configure: exit 77

Но не понятно что к чему %)

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