[postgis-devel] pg9.5 setup

Brian M Hamlin maplabs at light42.com
Fri Jun 5 10:14:16 PDT 2015


Hi - 
  I built postgres 9.5 trunk and am running it, alongside the postgis dev setup on debian 8 VM

  * configure  

CFLAGS='-g' ./configure --with-python --with-pgport=5433 --enable-debug --enable-cassert --disable-rpath --prefix=/usr/local/pg95

  * init the db as an ordinary user
  * set shell variables PGPORT and PGHOST  (must specify localhost)
  * connect with either psql or psql 9.5dev
works fine

  however,  when I went to rebuild postgis using the 9.5 pg_config

user at debian8:/home/shared/srcs_db8/postgis_22_git $
  CFLAGS='-g' ./configure --with-pgconfig=/usr/local/pg95/bin/pg_config --enable-profile

I get a configure error msg .. 
.. 
. 
Using user-specified pg_config file: /usr/local/pg95/bin/pg_config
configure: error: the PGXS Makefile /usr/local/pg95/lib/pgxs/src/makefiles/pgxs.mk cannot be found. Please install the PostgreSQL server development packages and re-run configure. 
.. 

  I built from postgres git trunk.. what else do I need to do ?

--
Brian M Hamlin
OSGeo California Chapter
blog.light42.com




More information about the postgis-devel mailing list