[postgis-users] How to configure JUST the loader on a client machine

strk at refractions.net strk at refractions.net
Tue Jul 19 07:24:35 PDT 2005


On Tue, Jul 19, 2005 at 10:05:29AM -0400, Stephen Woodbridge wrote:
> strk at refractions.net wrote:
> >On Mon, Jul 18, 2005 at 03:22:50PM -0400, Stephen Woodbridge wrote:
> >
> >>Hi all,
> >>
> >>Is there any way to be able to configure and build just the loader 
> >>utilities without all of PostGIS and postgres install or configured. I 
> >>have some systems that do remote data crunching and load the results 
> >>into postgis on another system. I need to be able to configure and build 
> >>shp2pgsql and pgsql2shp utilities on a system that does not have all the 
> >>rest of the stuff loaded.
> >>
> >>How can I do this?
> >
> >
> >You should, did you try ? 
> 
> Yes, I tried. ./configure -- autoconfig which wants to know where the 
> postgres source dir is and fails without it. And if that does not run, 
> then Makefile.global does not exist doe the Makefile in the loader dir 
> does not run.

You're right. You can't easily.
Note that pgsql2shp requires postgres frontend headers
(probably postgres-dev on debian).

The USE_VERSION is also needed, if you provide it into
loader/Makefile you should be fine.

--strk;



More information about the postgis-users mailing list