Re: [Pgsql-ayuda] configure: error: C compiler cannot create executables

From: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: "emanuel GARCIA FRANCO" <jemagf(at)hotmail(dot)com>
Cc: Pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx
Subject: Re: [Pgsql-ayuda] configure: error: C compiler cannot create executables
Date: 2003-06-13 22:18:40
Message-ID: 200306131918.40757.martin@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Vie 13 Jun 2003 18:24, emanuel GARCIA FRANCO wrote:
> Hola a todos
>
> Me podria ayudar alguian este error "configure: error: C compiler
> cannot create executables" ......
> He seguido los pasos de instalacion de postgresql, pero no he podido
> instalarlo... ya he creado el superusuario ..... descomprimi los
> ejecutables .... y al momento de ejeucar ./configure
> --prefix=/usr/ ... ... etc ......
> me sale el suiguiente mensaje
>
>
> hecking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking which template to use... linux
> checking whether to build with 64-bit integer date/time support... no
> checking whether to build with recode support... no
> checking whether NLS is wanted... no
> checking for default port number... 5432
> checking for default soft limit on number of connections... 32
> checking for gcc... gcc
> checking for C compiler default output...
> configure: error: C compiler cannot create executables

Seguramente una busqueda en Google te daria esta respuesta:

Tenes todos los paquetes de desarrollo instalados? binutils? glibc-devel?
libstdc++-devel?

Mira el log del configure config.log, y de ultima, hace esto:

1) Copia esto en un archivo hola.c

++++++++++++++++++++++++++
#include <stdio.h>
int main() {
(void)printf("Hola mundo!\n");
return 0;
}
++++++++++++++++++++++++++

I ejecuta este comando:

$ gcc -o hola hola.c

Fijate que te dice.

Saludos... :-)

--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques(at)unl(dot)edu(dot)ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Martin Marques 2003-06-13 22:32:37 Re: [Pgsql-ayuda] cambiar usuario
Previous Message emanuel GARCIA FRANCO 2003-06-13 22:05:30 [Pgsql-ayuda] lenguaje de programacion