Extensiones postgis

From: "Felipe Amezquita" <felmarla(at)gmail(dot)com>
To: postgresayuda <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Extensiones postgis
Date: 2007-09-12 02:15:27
Message-ID: bf4cfe570709111915r7e51f107qc0373133d0d7adda@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Que tal amigos de lista...
Espero se encuentre bien..

Resulta que andamos instalando el postgis despues de haber instalado el
potgres 8.1 geos 2.3 y el proj 4.5

y cuando descomprimos el pauqte de postgis en esta ruta /opt/lampp/postgis-
1.2.1
le damos lo siguiente
./configure --with-pgsql=/opt/lampp/bin/pg_config
--with-geos=/opt/lampp/geos/bin/geos-config --with-proj=/opt/lampp/proj
ourre esto
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... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for geos-config... no
checking for proj... no
checking for flex... /usr/bin/flex
checking for dllwrap... no
checking for dlltool... no
checking for bison... no
checking for byacc... no
checking for perl... /usr/bin/perl
checking for xsltproc... /usr/bin/xsltproc
checking for pdfxmltex... no
checking for db2pdf... no
checking for jw... no
checking which template to use... linux
configure: creating ./config.status
config.status: creating Makefile.config
config.status: WARNING: Makefile.config.in seems to ignore the
--datarootdir setting
config.status: creating config.h
config.status: config.h is unchanged

SUMMARY
-------------------------------------------------------

HOST_OS: linux-gnu

PGSQL: /opt/lampp/bin/pg_config
GEOS: /opt/lampp/geos/bin/geos-config (with C-API)
(ldflags: -L/opt/lampp/geos/lib)
PROJ: prefix=/opt/lampp/proj libdir=/opt/lampp/proj/lib
ICONV: 1

PORTNAME: linux
PREFIX: /opt/lampp
EPREFIX: ${prefix}
DOC: /opt/lampp/doc/postgresql/contrib
DATA: ${datarootdir}
MAN: ${datarootdir}/man
BIN: /opt/lampp/bin
EXT: /opt/lampp/lib/postgresql (\$$libdir)
hasta ca todo bien y cuando ejecuto el make pasa lo siguiente
make -C lwgeom
make[1]: Entering directory `/opt/lampp/postgis-1.2.1/lwgeom'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/lampp/postgis-1.2.1/lwgeom'
make -C loader
make[1]: Entering directory `/opt/lampp/postgis-1.2.1/loader'
gcc -g -Wall -I.. -DUSE_ICONV -DUSE_VERSION=81 -DPOSTGIS_VERSION='"1.2.1"'
shpopen.o dbfopen.o getopt.o PQunescapeBytea.o pgsql2shp.o -L/opt/lampp/lib
-lpq -o pgsql2shp
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /opt/lampp/lib/libpq.so when searching for -lpq
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /opt/lampp/lib/libpq.a when searching for -lpq
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld:
cannot find -lpq
collect2: ld returned 1 exit status
make[1]: *** [pgsql2shp] Error 1
make[1]: Leaving directory `/opt/lampp/postgis-1.2.1/loader'
make: *** [loaderdumper] Error 2

por favor necesito de su ayuda

Mi sistema operativo suse 10.1

--
Ing Sistemas y Telecomunicaciones
Luis Felipe Lopez Amezquita
3008217523 - 3146286237 - 3173160602

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message FRANZ RICHARD MARIN VASQUEZ 2007-09-12 02:29:21 ayuda DBLINK
Previous Message Henry 2007-09-12 02:07:11 RE: Re: [pgsql-es-ayuda] No usa índice