[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: error al copilar en c error: cannot run C compiled programs.



Luis Rodrigo Gallardo Cruz escribió:
On Fri, Nov 02, 2007 at 04:16:41AM +0100, kingworld360 wrote:
Luis Rodrigo Gallardo Cruz escribió:
On Fri, Nov 02, 2007 at 03:22:27AM +0100, kingworld360 wrote:
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
Debes tener un archivo config.log (o parecido). Revisa ahí pra ver
cual es el mensaje de error preciso que está dando.

perdon pero soi nuevo en esto   no se donde esta el config.log

En el mismo directorio donde estás ejecutando el ./configure

ok ok gracias aqui te pongo lo que pone


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.57.  Invocation command line was

 $ ./configure

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

hostname = broking
uname -m = i686
uname -r = 2.6.20-16-generic
uname -s = Linux
uname -v = #2 SMP Sun Sep 23 19:50:39 UTC 2007

/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/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


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

configure:1330: checking for a BSD-compatible install
configure:1384: result: /usr/bin/install -c
configure:1395: checking whether build environment is sane
configure:1438: result: yes
configure:1471: checking for gawk
configure:1500: result: no
configure:1471: checking for mawk
configure:1487: found /usr/bin/mawk
configure:1497: result: mawk
configure:1507: checking whether make sets $(MAKE)
configure:1527: result: yes
configure:1717: checking for style of include used by make
configure:1745: result: GNU
configure:1816: checking for gcc
configure:1832: found /usr/bin/gcc
configure:1842: result: gcc
configure:2086: checking for C compiler version
configure:2089: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Copyright (C) 2006 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:2092: $? = 0
configure:2094: gcc -v </dev/null >&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 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
configure:2097: $? = 0
configure:2099: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2102: $? = 1
configure:2126: checking for C compiler default output
configure:2129: gcc    conftest.c  >&5
configure:2132: $? = 0
configure:2178: result: a.out
configure:2183: checking whether the C compiler works
configure:2189: ./a.out
./configure: line 2190: ./a.out: Permission denied
configure:2192: $? = 126
configure:2201: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
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_exeext=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

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

ACLOCAL='${SHELL} /media/descargas/paquetes/fpm-0.60/missing --run aclocal-1.6 -I m4'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /media/descargas/paquetes/fpm-0.60/missing --run tar'
AUTOCONF='${SHELL} /media/descargas/paquetes/fpm-0.60/missing --run autoconf' AUTOHEADER='${SHELL} /media/descargas/paquetes/fpm-0.60/missing --run autoheader' AUTOMAKE='${SHELL} /media/descargas/paquetes/fpm-0.60/missing --run automake-1.6'
AWK='mawk'
BUILD_INCLUDED_LIBINTL=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GENCAT=''
GLIBC21=''
GMSGFMT=''
GNOMEGNORBA_LIBS=''
GNOMEUI_LIBS=''
GNOME_APPLETS_LIBS=''
GNOME_CAPPLET_LIBS=''
GNOME_CONFIG=''
GNOME_DOCKLETS_LIBS=''
GNOME_INCLUDEDIR=''
GNOME_LIBDIR=''
GNOME_LIBS=''
GNORBA_CFLAGS=''
GNORBA_LIBS=''
GTKXMHTML_LIBS=''
GTK_CFLAGS=''
GTK_CONFIG=''
GTK_LIBS=''
HAVE_GNORBA_FALSE=''
HAVE_GNORBA_TRUE=''
HAVE_ORBIT_FALSE=''
HAVE_ORBIT_TRUE=''
INSIDE_GNOME_COMMON_FALSE=''
INSIDE_GNOME_COMMON_TRUE='#'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLBISON=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
LDFLAGS=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /media/descargas/paquetes/fpm-0.60/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
MSGMERGE=''
OBJEXT=''
ORBIT_CFLAGS=''
ORBIT_CONFIG=''
ORBIT_IDL=''
ORBIT_LIBS=''
PACKAGE='fpm'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_PIXMAPS_DIR=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
POSUB=''
PTHREAD_LIB=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
USE_INCLUDED_LIBINTL=''
USE_NLS=''
VERSION='0.60'
XGETTEXT=''
XML2_CONFIG=''
XML_CFLAGS=''
XML_LIBS=''
XPM_LIBS=''
ZVT_LIBS=''
ac_ct_CC='gcc'
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__include='include'
am__quote=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
cflags_set=''
datadir='${prefix}/share'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/media/descargas/paquetes/fpm-0.60/install-sh'
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 "fpm"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.60"

configure: exit 1



Reply to: