[postgis-users] Request from Narayanan

narayanan rm narayanan.rm at gmail.com
Thu Mar 29 21:33:57 PDT 2007


Dear Friends,

I need a small help from you , i want to install the postgis-1.2.1 in
Fedoara 4, I have downloaded the tar file from postgis refraction, and
configured in /usr/local/postgis1.2.1 it gives okay,
then i make, make install, after that i could not createlang , and
further install it please advice me how to solve the issues

Here is the report i obtained

With regards
RM Narayanan

[root at localhost postgis-1.2.1]# ./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... /usr/bin/pg_config
checking for geos-config... /usr/local/bin/geos-config
checking for proj... /usr/local/bin/proj
checking for flex... /usr/bin/flex
checking for dllwrap... no
checking for dlltool... no
checking for bison... bison -y
checking for perl... /usr/bin/perl
checking for xsltproc... /usr/bin/xsltproc
checking for pdfxmltex... /usr/bin/pdfxmltex
checking for db2pdf... /usr/bin/db2pdf
checking for jw... /usr/bin/jw
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: /usr/bin/pg_config
    GEOS: /usr/local/bin/geos-config (with C-API)
          (ldflags: -L/usr/local/lib)
    PROJ: prefix=/usr/local libdir=/usr/local/lib
   ICONV: 1

 PORTNAME: linux
   PREFIX: /usr
  EPREFIX: ${prefix}
      DOC: /usr/share/doc/postgresql/contrib
     DATA: ${datarootdir}
      MAN: ${datarootdir}/man
      BIN: /usr/bin
      EXT: /usr/lib/pgsql (\$$libdir)
 -------------------------------------------------------


[root at localhost postgis-1.2.1]# make
make -C lwgeom
make[1]: Entering directory `/usr/local/postgis-1.2.1/lwgeom'
cpp -P -traditional-cpp -DUSE_VERSION=80 lwpostgis.sql.in | sed -e
's:@MODULE_FILENAME@:\$libdir/liblwgeom.so.1.2:g;s:@POSTGIS_VERSION@:1.2
USE_GEOS=1 USE_PROJ=1
USE_STATS=1:g;s:@POSTGIS_SCRIPTS_VERSION@:1.2.1:g;s/@POSTGIS_BUILD_DATE@/2007-03-30
03:55:15/g' | grep -v '^#' > ../lwpostgis.sql
cpp -P -traditional-cpp -DUSE_VERSION=80 lwpostgis.sql.in | sed -e
's#@MODULE_FILENAME@#/usr/local/postgis-1.2.1/lwgeom/liblwgeom.so.1.2#g;s#@POSTGIS_VERSION@#1.2
USE_GEOS=1 USE_PROJ=1
USE_STATS=1#g;s#@POSTGIS_SCRIPTS_VERSION@#1.2.1#g;s/@POSTGIS_BUILD_DATE@/2007-03-30
03:55:15/g' | grep -v '^#' > ../regress/lwpostgis.sql
/usr/bin/perl ../utils/postgis_proc_upgrade.pl ../lwpostgis.sql >
../lwpostgis_upgrade.sql
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
measures.o measures.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
box2d.o box2d.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
ptarray.o ptarray.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_api.o lwgeom_api.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom.o lwgeom.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwpoint.o lwpoint.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwline.o lwline.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwpoly.o lwpoly.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwmpoint.o lwmpoint.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwmline.o lwmline.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwmpoly.o lwmpoly.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwcollection.o lwcollection.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
wktunparse.o wktunparse.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgparse.o lwgparse.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
wktparse.tab.o wktparse.tab.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lex.yy.o lex.yy.c
lex.yy.c:4023: warning: 'yyunput' defined but not used
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
vsprintf.o vsprintf.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
liblwgeom.o liblwgeom.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_pg.o lwgeom_pg.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_debug.o lwgeom_debug.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_spheroid.o lwgeom_spheroid.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_ogc.o lwgeom_ogc.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_functions_analytic.o lwgeom_functions_analytic.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_geos_c.o lwgeom_geos_c.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_inout.o lwgeom_inout.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_estimate.o lwgeom_estimate.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_functions_basic.o lwgeom_functions_basic.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_gist.o lwgeom_gist.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_btree.o lwgeom_btree.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_transform.o lwgeom_transform.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
stringBuffer.o stringBuffer.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_box.o lwgeom_box.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_box3d.o lwgeom_box3d.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_box2dfloat4.o lwgeom_box2dfloat4.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_chip.o lwgeom_chip.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_svg.o lwgeom_svg.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_gml.o lwgeom_gml.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_kml.o lwgeom_kml.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_triggers.o lwgeom_triggers.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_dump.o lwgeom_dump.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_functions_lrs.o lwgeom_functions_lrs.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
long_xact.o long_xact.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwcurve.o lwcurve.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwcompound.o lwcompound.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwcurvepoly.o lwcurvepoly.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwmcurve.o lwmcurve.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwmsurface.o lwmsurface.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include     -c -o
lwgeom_sqlmm.o lwgeom_sqlmm.c
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.2.1"'
-DPOSTGIS_VERSION='"1.2 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.2.1"' -DPOSTGIS_BUILD_DATE='"2007-03-30
03:55:15"' -I/usr/local/include -DUSE_PROJ
-I/usr/include/pgsql/server -DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g
-O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/include   -shared
-Wl,-soname,liblwgeom.so.1  measures.o box2d.o ptarray.o lwgeom_api.o
lwgeom.o lwpoint.o lwline.o lwpoly.o lwmpoint.o lwmline.o lwmpoly.o
lwcollection.o   wktunparse.o lwgparse.o wktparse.tab.o lex.yy.o
vsprintf.o liblwgeom.o lwgeom_pg.o lwgeom_debug.o lwgeom_spheroid.o
lwgeom_ogc.o lwgeom_functions_analytic.o lwgeom_geos_c.o
lwgeom_inout.o lwgeom_estimate.o lwgeom_functions_basic.o
lwgeom_gist.o lwgeom_btree.o lwgeom_transform.o stringBuffer.o
lwgeom_box.o lwgeom_box3d.o lwgeom_box2dfloat4.o lwgeom_chip.o
lwgeom_svg.o lwgeom_gml.o lwgeom_kml.o lwgeom_triggers.o lwgeom_dump.o
lwgeom_functions_lrs.o long_xact.o lwcurve.o lwcompound.o
lwcurvepoly.o lwmcurve.o lwmsurface.o lwgeom_sqlmm.o  -shared
-L/usr/local/lib -lgeos_c -L/usr/local/lib -lproj -o liblwgeom.so.1.2
rm -f liblwgeom.so.1
ln -s liblwgeom.so.1.2 liblwgeom.so.1
rm -f liblwgeom.so
ln -s liblwgeom.so.1.2 liblwgeom.so
make[1]: Leaving directory `/usr/local/postgis-1.2.1/lwgeom'
make -C loader
make[1]: Entering directory `/usr/local/postgis-1.2.1/loader'
gcc -g -Wall -I.. -DUSE_ICONV -DUSE_VERSION=80
-DPOSTGIS_VERSION='"1.2.1"'   -c -o shpopen.o shpopen.c
shpopen.c:176: warning: 'rcsid' defined but not used
gcc -g -Wall -I.. -DUSE_ICONV -DUSE_VERSION=80
-DPOSTGIS_VERSION='"1.2.1"'   -c -o dbfopen.o dbfopen.c
dbfopen.c:206: warning: 'rcsid' defined but not used
gcc -g -Wall -I.. -DUSE_ICONV -DUSE_VERSION=80
-DPOSTGIS_VERSION='"1.2.1"'   -c -o getopt.o getopt.cgcc -g -Wall -I..
-DUSE_ICONV -DUSE_VERSION=80 -DPOSTGIS_VERSION='"1.2.1"'   -c -o
shp2pgsql.o shp2pgsql.c
gcc -g -Wall -I.. -DUSE_ICONV -DUSE_VERSION=80
-DPOSTGIS_VERSION='"1.2.1"' shpopen.o dbfopen.o getopt.o shp2pgsql.o
-o shp2pgsql
gcc -g -Wall -I.. -DUSE_ICONV -DUSE_VERSION=80
-DPOSTGIS_VERSION='"1.2.1"' -I/usr/include -c pgsql2shp.c
gcc -g -Wall -I.. -DUSE_ICONV -DUSE_VERSION=80
-DPOSTGIS_VERSION='"1.2.1"'   -c -o PQunescapeBytea.o
PQunescapeBytea.c
gcc -g -Wall -I.. -DUSE_ICONV -DUSE_VERSION=80
-DPOSTGIS_VERSION='"1.2.1"' shpopen.o dbfopen.o getopt.o
PQunescapeBytea.o pgsql2shp.o  -L/usr/lib -lpq  -o pgsql2shp
make[1]: Leaving directory `/usr/local/postgis-1.2.1/loader'
make -C utils
make[1]: Entering directory `/usr/local/postgis-1.2.1/utils'
chmod +x postgis_restore.pl create_undef.pl postgis_proc_upgrade.pl
profile_intersects.pl test_estimation.pl test_joinestimation.pl
make[1]: Leaving directory `/usr/local/postgis-1.2.1/utils'
make -C extras/template_gis
make[1]: Entering directory `/usr/local/postgis-1.2.1/extras/template_gis'
cat createdb.postgis.in | sed -e s:@bindir@:/usr/bin:g -e
s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g -e s:@SONAME@:1:g >
createdb.postgis;  cat mktemplate_gis.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > mktemplate_gis;  cat mktemplate_gis.sh.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > mktemplate_gis.sh;  cat postgis_env.sh.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > postgis_env.sh;  cat postgres_lib.sh.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > postgres_lib.sh;  cat rmtemplate_gis.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > rmtemplate_gis;  cat rmtemplate_gis.sh.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > rmtemplate_gis.sh;
make[1]: Leaving directory `/usr/local/postgis-1.2.1/extras/template_gis'
[root at localhost postgis-1.2.1]#


[root at localhost postgis-1.2.1]# make install
make -C lwgeom
make[1]: Entering directory `/usr/local/postgis-1.2.1/lwgeom'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/postgis-1.2.1/lwgeom'
make -C loader
make[1]: Entering directory `/usr/local/postgis-1.2.1/loader'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/postgis-1.2.1/loader'
make -C utils
make[1]: Entering directory `/usr/local/postgis-1.2.1/utils'
chmod +x postgis_restore.pl create_undef.pl postgis_proc_upgrade.pl
profile_intersects.pl test_estimation.pl test_joinestimation.pl
make[1]: Leaving directory `/usr/local/postgis-1.2.1/utils'
make -C extras/template_gis
make[1]: Entering directory `/usr/local/postgis-1.2.1/extras/template_gis'
cat createdb.postgis.in | sed -e s:@bindir@:/usr/bin:g -e
s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g -e s:@SONAME@:1:g >
createdb.postgis;  cat mktemplate_gis.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > mktemplate_gis;  cat mktemplate_gis.sh.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > mktemplate_gis.sh;  cat postgis_env.sh.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > postgis_env.sh;  cat postgres_lib.sh.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > postgres_lib.sh;  cat rmtemplate_gis.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > rmtemplate_gis;  cat rmtemplate_gis.sh.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > rmtemplate_gis.sh;
make[1]: Leaving directory `/usr/local/postgis-1.2.1/extras/template_gis'
make -C lwgeom install
make[1]: Entering directory `/usr/local/postgis-1.2.1/lwgeom'
/usr/local/postgis-1.2.1/install-sh -c -m 755 liblwgeom.so.1.2
/usr/lib/pgsql/liblwgeom.so.1.2
cd /usr/lib/pgsql && \
rm -f liblwgeom.so.1 && \
ln -s liblwgeom.so.1.2 liblwgeom.so.1
cd /usr/lib/pgsql && \
rm -f liblwgeom.so && \
ln -s liblwgeom.so.1.2 liblwgeom.so
/usr/local/postgis-1.2.1/install-sh -c -m 644 ../lwpostgis.sql
/usr/share/lwpostgis.sql
/usr/local/postgis-1.2.1/install-sh -c -m 644 ../lwpostgis_upgrade.sql
/usr/share/lwpostgis_upgrade.sql
/usr/local/postgis-1.2.1/install-sh -c -m 644 ../spatial_ref_sys.sql
/usr/share/spatial_ref_sys.sql
make[1]: Leaving directory `/usr/local/postgis-1.2.1/lwgeom'
make -C loader install
make[1]: Entering directory `/usr/local/postgis-1.2.1/loader'
/usr/local/postgis-1.2.1/install-sh -c -m 755 pgsql2shp /usr/bin/pgsql2shp
/usr/local/postgis-1.2.1/install-sh -c -m 755 shp2pgsql /usr/bin/shp2pgsql
make[1]: Leaving directory `/usr/local/postgis-1.2.1/loader'
make -C extras/template_gis install
make[1]: Entering directory `/usr/local/postgis-1.2.1/extras/template_gis'
cat createdb.postgis.in | sed -e s:@bindir@:/usr/bin:g -e
s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g -e s:@SONAME@:1:g >
createdb.postgis;  cat mktemplate_gis.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > mktemplate_gis;  cat mktemplate_gis.sh.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > mktemplate_gis.sh;  cat postgis_env.sh.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > postgis_env.sh;  cat postgres_lib.sh.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > postgres_lib.sh;  cat rmtemplate_gis.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > rmtemplate_gis;  cat rmtemplate_gis.sh.in | sed -e
s:@bindir@:/usr/bin:g -e s:@datadir@:/usr/share:g -e s:@prefix@:/usr:g
-e s:@SONAME@:1:g > rmtemplate_gis.sh;
/usr/local/postgis-1.2.1/install-sh -c -m 755 createdb.postgis
/usr/bin/createdb.postgis;  /usr/local/postgis-1.2.1/install-sh -c -m
755 mktemplate_gis /usr/bin/mktemplate_gis;
/usr/local/postgis-1.2.1/install-sh -c -m 755 mktemplate_gis.sh
/usr/bin/mktemplate_gis.sh;  /usr/local/postgis-1.2.1/install-sh -c -m
755 postgis_env.sh /usr/bin/postgis_env.sh;
/usr/local/postgis-1.2.1/install-sh -c -m 755 postgres_lib.sh
/usr/bin/postgres_lib.sh;  /usr/local/postgis-1.2.1/install-sh -c -m
755 rmtemplate_gis /usr/bin/rmtemplate_gis;
/usr/local/postgis-1.2.1/install-sh -c -m 755 rmtemplate_gis.sh
/usr/bin/rmtemplate_gis.sh;
rm -f /usr/bin/mktemplate_gis; ln -s /usr/bin/mktemplate_gis /usr/bin;
 rm -f /usr/bin/rmtemplate_gis; ln -s /usr/bin/rmtemplate_gis
/usr/bin;  rm -f /usr/bin/createdb.postgis; ln -s
/usr/bin/createdb.postgis /usr/bin;
cp profile /etc/default/postgis
rm -f /usr/bin/profile
/usr/local/postgis-1.2.1/install-sh -c -m 644 createdb.postgis.1
/usr/share/man/man1/createdb.postgis.1;
/usr/local/postgis-1.2.1/install-sh -c -m 644 mktemplate_gis.1
/usr/share/man/man1/mktemplate_gis.1;
/usr/local/postgis-1.2.1/install-sh -c -m 644 rmtemplate_gis.1
/usr/share/man/man1/rmtemplate_gis.1;
make[1]: Leaving directory `/usr/local/postgis-1.2.1/extras/template_gis'


[root at localhost postgis-1.2.1]# createlang plpgsql postgis
createlang: language installation failed: ERROR:  permission denied
for language c


[root at localhost postgis-1.2.1]# make check
make -C regress test
make[1]: Entering directory `/usr/local/postgis-1.2.1/regress'
psql: FATAL:  permission denied to set parameter "lc_messages"
Creating spatial db postgis_reg
createdb: could not connect to database template1: FATAL:  permission
denied to set parameter "lc_messages"
createlang: could not connect to database postgis_reg: FATAL:
database "postgis_reg" does not existpsql: FATAL:  database
"postgis_reg" does not exist

 Something went wrong (no postgis installed in postgis_reg).
 For details, check /tmp/pgis_reg_8466/regress_log

make[1]: *** [test] Error 1
make[1]: Leaving directory `/usr/local/postgis-1.2.1/regress'
make: *** [check] Error 2
[root at localhost postgis-1.2.1]#



More information about the postgis-users mailing list