Bilbotarra | |
| 2006-05-25 09:03 - Respuestas: 2 - Tema nº: 2413960
hola:
al teclear el comando ./configure para compilar el programa AMSN 0.95 en mi Ubuntu 5.10 sale un mensaje de error diciendo así:
"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."
Ya he leído el archivo config.log, pero no entiendo bien. alguien puede ayudarme. gracias.
saludos. | |
|
|
JoSeMi | |
|
Re: Error ./configure - 2006-05-25 09:26 - Respuesta 2
El problema es que "configure" no tiene acceso al compilador de C del sistema. Ejecuta "gcc" en la linea de comandos para ver si lo tienes instalado bien, en caso de error significa que: o bien no lo tienes instalado, o bien no está en PATH.
Si no está instalado tendrás que instalarlo (apt-get), si no está en PATH simplemente se trata de añadirlo a dicha variable.
Saludos. | |
|
|
Bilbotarra | |
|
Re: Error ./configure - 2006-05-25 19:51 - Respuesta 3
pego aquí lo que dice el log, espero que te sirva algo para ayudarme:
"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 = raul
uname -m = i686
uname -r = 2.6.12-9-386
uname -s = Linux
uname -v = #1 Mon Oct 10 13:14:36 BST 2005
/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/local/bin
PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/bin/X11
PATH: /usr/games
## - ##
## Core tests. ##
## - ##
configure:1361: checking for gcc
configure:1377: found /usr/bin/gcc
configure:1387: result: gcc
configure:1631: checking for C compiler version
configure:1634: gcc version &5
gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
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:1637: $? = 0
configure:1639: gcc -v &5
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)
configure:1642: $? = 0
configure:1644: gcc -V &5
gcc: '-V' option must have argument
configure:1647: $? = 1
configure:1670: checking for C compiler default output file name
configure:1673: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:1676: $? = 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:1715: 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_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_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. ##
## - ##
APPNAME='amsn'
APPRELEASE='1'
APPSTABLE='yes'
APPVERSION='0.95'
BUILD_DIR=''
CC='gcc'
CFLAGS=''
CONFIGURE_ARGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXFLAGS=''
CXX_LIB=''
DEBUG='no'
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
FOUND_OS=''
FOUND_X11=''
LDFLAGS=''
LDLIBS=''
LIBDIR=''
LIBOBJS=''
LIBPTHREAD=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SHELL='/bin/sh'
TCLSH=''
TCL_INC_SPEC=''
TCL_LIB_DIR=''
TCL_STUB_LIB_SPEC=''
TK_INC_SPEC=''
TK_LIB=''
TK_LIBS=''
TK_LIB_DIR=''
TK_STUB_LIB_SPEC=''
TK_VERSION=''
TOP_DIR=''
USE_LIBNG=''
USE_MMX=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_prefix_program=''
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"
saludos. | |
|
|
|