[postgis-devel] Building the extension on Solaris/amd64

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Sat May 18 14:34:50 PDT 2013


On 18/05/13 18:34, Paragon Corporation wrote:

> While we are at it any chance we can have it stop installing in system
> folders if its not asked for.  I don't know how it happens but liblwgeom.a
> and friends always happen to sneak into
>
> My msys\local\lib  during make install and I suspect this is causing
> problems during my regress testing of shp2pgsql-gui on 32-bit
> As noted here: http://trac.osgeo.org/postgis/ticket/2158

Are you executing "make install" as part of the build? If so that's the 
correct behaviour from libtool since after all it's creating a system 
library.

For the build boxes, I would highly recommend passing the --prefix, 
--includedir and --libdir options into your configure statement so that 
your binaries are placed in a separate, non-system directory suring 
"make install" (see my example earlier in this thread), one for each 
version.

Then all you need to do is add this directory to PATH during regression 
and then everything will just work without having problems locating 
which libraries are correct for each version.


HTH,

Mark.



More information about the postgis-devel mailing list