[Pgsql-ayuda] configure: error: C compiler cannot create executables
Martin Marques
martin@bugs.unl.edu.ar
Fri, 13 Jun 2003 19:18:40 -0300
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@unl.edu.ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------