[Gfoss] Chiarimento installazione di postgis
Salvator*eL*arosa
s_larosa a libero.it
Mer 16 Gen 2008 10:26:12 CET
Renato Trombetti wrote:
>
> Salve sono un nuovo inscritto alla mailing list e ho un problema con
> l'installazione di postgis sulla distro open suse .
>
> vi riassumo il problema:
> ho installato
> 1) postgres 8.2.6
> 2) Proj
> 3) geos
> poi quando lancio il ./configure di postgis 1.3.2 alla fine mi
> restituisce
>
> checking for pg_config... no
>
> configure: error: PostgreSQL is required by PostGIS
>
>
> ma PostgreSQL č funzionante e l'ho uso anche con pgadmin III
> per cui non capisco che cosa cerca.
>
> grazie per l'aiuto
> Renato Trombetti
>
>
> allego anche quello che restituisce la shell:
>
>
> linux:/home/renato/Desktop/postgis-1.3.2 # ./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... /usr/bin/grep
>
> checking for egrep... /usr/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
>
>
>
Puņ anche dipendere dal fatto che il configure non trova il path dove hai
installato
postgres!
Prova ad inserirlo tu manualmente nel configure:
./configure --with-PostgreSQL='/usr/local/pgsql/...'
ciao
-----
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
--
View this message in context: http://www.nabble.com/Chiarimento-installazione-di-postgis-tp14874405p14875910.html
Sent from the Gfoss mailing list archive at Nabble.com.
Maggiori informazioni sulla lista
Gfoss