Hola a todos tengo el siguiente error al instalar postgis en centos me sale el siguiente error
[root@localhost postgis-1.3.6]# ./configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether ln -s works... yes checking for iconv_open in -liconv... no checking for libiconv_open in -liconv... no checking for iconv_open in -lc... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for pg_config... no configure: error: PostgreSQL is required by PostGIS [root@localhost postgis-1.3.6]# ./configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether ln -s works... yes checking for iconv_open in -liconv... no checking for libiconv_open in -liconv... no checking for iconv_open in -lc... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for pg_config... no configure: error: PostgreSQL is required by PostGIS
_________________________________________________________________ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&sour...
El 07/04/10 17:53, Alex de la Rosa escribió:
configure: error: PostgreSQL is required by PostGIS
tienes instalado PostgreSQL?
Si amigo ya lo tengo instalado y funcionando
[root@localhost /]# service postgresql restart
Parando el servicio postgresql: [ OK ]
Iniciando servicios postgresql: [ OK ]
[root@localhost /]#
El error sale cuando pongo el siguiente comando
[root@localhost postgis-1.3.6]# ./configure
Date: Wed, 7 Apr 2010 17:56:13 -0400 From: chernandez@ufro.cl To: centos-es@centos.org Subject: Re: [CentOS-es] error postgis
El 07/04/10 17:53, Alex de la Rosa escribió: configure: error: PostgreSQL is required by PostGIS
tienes instalado PostgreSQL?
On Wed, 2010-04-07 at 17:01 -0500, Alex de la Rosa wrote:
Si amigo ya lo tengo instalado y funcionando
[root@localhost /]# service postgresql restart
Parando el servicio postgresql: [ OK ]
Iniciando servicios postgresql: [ OK ]
estas compilando PostGIS desde fuentes, necesitas no solo tener postgresql-server instalado sino tambien el paquete postgresql-devel creo recordar.
ahora postgis lo encuentras en los repos de rpmforge y epel para la version stock de postgresql q viene en CentOS
y si usas el repo PostgresqlRPMs [3] ahi tb viene postgis, yo uso este repo personalmente, cero problemas hasta ahora.
[1] http://fedoraproject.org/wiki/EPEL/FAQ [2] http://wiki.centos.org/AdditionalResources/Repositories/RPMForge [3] https://public.commandprompt.com/projects/pgcore/wiki
-- Yonsy Solis aka BlackHand
Gracias lo voy a probar de esta manera
From: yonsy@blackhandchronicles.homeip.net To: centos-es@centos.org Date: Wed, 7 Apr 2010 17:51:42 -0500 Subject: Re: [CentOS-es] error postgis
On Wed, 2010-04-07 at 17:01 -0500, Alex de la Rosa wrote:
Si amigo ya lo tengo instalado y funcionando
[root@localhost /]# service postgresql restart
Parando el servicio postgresql: [ OK ]
Iniciando servicios postgresql: [ OK ]
estas compilando PostGIS desde fuentes, necesitas no solo tener postgresql-server instalado sino tambien el paquete postgresql-devel creo recordar.
ahora postgis lo encuentras en los repos de rpmforge y epel para la version stock de postgresql q viene en CentOS
y si usas el repo PostgresqlRPMs [3] ahi tb viene postgis, yo uso este repo personalmente, cero problemas hasta ahora.
[1] http://fedoraproject.org/wiki/EPEL/FAQ [2] http://wiki.centos.org/AdditionalResources/Repositories/RPMForge [3] https://public.commandprompt.com/projects/pgcore/wiki
-- Yonsy Solis aka BlackHand
CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
_________________________________________________________________ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&sour...