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

Martin Spott Martin.Spott at mgras.net
Wed Dec 26 05:39:30 PST 2012


Hi,
this is *not* a serious issue I'm unable to deal with, I'd just like to
post a heads-up:
Building the extension makes use of GNU specific flags for "grep" in
"postgis/Makefile" and "postgis_topology/Makefile" ("-qE"), which the
common Unix "grep" doesn't support.

The standard way of having a GNU-compliant "grep" in your $PATH on
Solaris is to install the Sunfreeware package, which requires a
"libiconv" dependency, which resolves to a 32-bit package in the
default $LIBPATH which, again, breaks the build of a 64-bit PostGIS.

My custom solution was to replace "grep" by "ggrep" on Solaris, which
is a common feature at least on Solaris10 and upwards.  I don't feel
like making any suggestions because I don't know about the future plans
wrt. the use of "sed" and "grep" in these Makefiles.

Cheers,
	Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------



More information about the postgis-devel mailing list