Con el configure estandar, tira el siguiente mensaje de error:
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
Adjunto el config.log.
Ahi me tira que el error esta en una cabecera confdefs.h
Este es el snapshot de fecha 26 de diciembre (lo baje del ftp)
Lo raro es que en Centos5.2 y OpenSolaris.11 compila bien.
Configuración del SO?
Linux emanuel-laptop 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC
2007 i686 GNU/Linux
[ 0.000000] Linux version 2.6.20-15-generic (r...@palmer) (gcc
version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Apr 15 07:36:31 UTC
2007 (Ubuntu 2.6.20-15.27-generic)
--
Emanuel Calvo Franco
Syscope Postgresql Consultant
ArPUG / AOSUG Member
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by PostgreSQL configure 8.4devel, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = emanuel-laptop
uname -m = i686
uname -r = 2.6.20-15-generic
uname -s = Linux
uname -v = #2 SMP Sun Apr 15 07:36:31 UTC 2007
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/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/X11R6/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1928: checking build system type
configure:1946: result: i686-pc-linux-gnulibc1
configure:1968: checking host system type
configure:1983: result: i686-pc-linux-gnulibc1
configure:2007: checking which template to use
configure:2107: result: linux
configure:2217: checking whether to build with 64-bit integer date/time support
configure:2253: result: yes
configure:2260: checking whether NLS is wanted
configure:2295: result: no
configure:2303: checking for default port number
configure:2333: result: 5432
configure:2759: checking for block size
configure:2800: result: 8kB
configure:2812: checking for segment size
configure:2846: result: 1GB
configure:2858: checking for WAL block size
configure:2900: result: 8kB
configure:2912: checking for WAL segment size
configure:2954: result: 16MB
configure:3057: checking for gcc
configure:3073: found /usr/bin/gcc
configure:3084: result: gcc
configure:3120: checking for C compiler version
configure:3127: gcc --version >&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:3130: $? = 0
configure:3137: 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 --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:3140: $? = 0
configure:3147: gcc -V >&5
gcc: '-V' option must have argument
configure:3150: $? = 1
configure:3173: checking for C compiler default output file name
configure:3200: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3203: $? = 1
configure:3241: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "PostgreSQL"
| #define PACKAGE_TARNAME "postgresql"
| #define PACKAGE_VERSION "8.4devel"
| #define PACKAGE_STRING "PostgreSQL 8.4devel"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PG_VERSION "8.4devel"
| #define PG_MAJORVERSION "8.4"
| #define USE_INTEGER_DATETIMES 1
| #define DEF_PGPORT 5432
| #define DEF_PGPORT_STR "5432"
| #define BLCKSZ 8192
| #define RELSEG_SIZE 131072
| #define XLOG_BLCKSZ 8192
| #define XLOG_SEG_SIZE (16 * 1024 * 1024)
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3248: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnulibc1
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_DOCBOOKSTYLE_set=
ac_cv_env_DOCBOOKSTYLE_value=
ac_cv_env_LDFLAGS_SL_set=
ac_cv_env_LDFLAGS_SL_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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_host=i686-pc-linux-gnulibc1
ac_cv_prog_ac_ct_CC=gcc
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
AWK=''
BISON=''
BISONFLAGS=''
CC='gcc'
CFLAGS=''
COLLATEINDEX=''
CPP=''
CPPFLAGS=''
DEFS=''
DLLTOOL=''
DLLWRAP=''
DOCBOOK2MAN=''
DOCBOOKSTYLE=''
DTRACE=''
DTRACEFLAGS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ELF_SYS=''
EXEEXT=''
FLEX=''
FLEXFLAGS=''
GCC=''
GCOV=''
GENHTML=''
GREP=''
HAVE_IPV6=''
HAVE_POSIX_SIGNALS=''
INCLUDES=''
JADE=''
LCOV=''
LD=''
LDAP_LIBS_BE=''
LDAP_LIBS_FE=''
LDFLAGS=''
LDFLAGS_SL=''
LIBOBJS=''
LIBS=''
LN_S=''
LTLIBOBJS=''
MSGFMT=''
MSGMERGE=''
NSGMLS=''
OBJEXT=''
OSSP_UUID_LIBS=''
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='PostgreSQL'
PACKAGE_STRING='PostgreSQL 8.4devel'
PACKAGE_TARNAME='postgresql'
PACKAGE_VERSION='8.4devel'
PATH_SEPARATOR=':'
PERL=''
PG_MAJORVERSION='8.4'
PORTNAME='linux'
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
PYTHON=''
RANLIB=''
SGMLSPL=''
SHELL='/bin/bash'
STRIP=''
STRIP_SHARED_LIB=''
STRIP_STATIC_LIB=''
SUN_STUDIO_CC=''
TAR=''
TAS=''
TCLSH=''
TCL_CONFIG_SH=''
TCL_INCLUDE_SPEC=''
TCL_LIBS=''
TCL_LIB_FILE=''
TCL_LIB_SPEC=''
TCL_SHARED_BUILD=''
TCL_SHLIB_LD_LIBS=''
WANTED_LANGUAGES=''
WINDRES=''
XGETTEXT=''
XML2_CONFIG=''
ac_ct_CC='gcc'
acx_pthread_config=''
autodepend=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnulibc1'
build_alias=''
build_cpu='i686'
build_os='linux-gnulibc1'
build_vendor='pc'
configure_args=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
default_port='5432'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_coverage='no'
enable_debug='no'
enable_dtrace='no'
enable_nls='no'
enable_profiling='no'
enable_rpath='yes'
enable_shared='yes'
enable_thread_safety=''
exec_prefix='NONE'
have_docbook=''
host='i686-pc-linux-gnulibc1'
host_alias=''
host_cpu='i686'
host_os='linux-gnulibc1'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
krb_srvtab=''
ld_R_works=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
perl_archlibexp=''
perl_embed_ldflags=''
perl_privlibexp=''
perl_useshrplib=''
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
python_additional_libs=''
python_configdir=''
python_includespec=''
python_libdir=''
python_libspec=''
python_version=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
vpath_build=''
with_bonjour=''
with_gnu_ld=''
with_gssapi=''
with_krb5=''
with_ldap=''
with_libxml=''
with_libxslt=''
with_openssl=''
with_ossp_uuid=''
with_pam=''
with_perl=''
with_python=''
with_system_tzdata=''
with_tcl=''
with_zlib=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "PostgreSQL"
#define PACKAGE_TARNAME "postgresql"
#define PACKAGE_VERSION "8.4devel"
#define PACKAGE_STRING "PostgreSQL 8.4devel"
#define PACKAGE_BUGREPORT "[email protected]"
#define PG_VERSION "8.4devel"
#define PG_MAJORVERSION "8.4"
#define USE_INTEGER_DATETIMES 1
#define DEF_PGPORT 5432
#define DEF_PGPORT_STR "5432"
#define BLCKSZ 8192
#define RELSEG_SIZE 131072
#define XLOG_BLCKSZ 8192
#define XLOG_SEG_SIZE (16 * 1024 * 1024)
configure: exit 77
--
TIP 9: visita nuestro canal de IRC #postgresql-es en irc.freenode.net