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

Sandro Santilli strk at keybit.net
Wed Dec 26 08:49:27 PST 2012


Thanks Martin, I think the correct fix here would be to look
for GNU grep compatible commanline at ./configure time and use
that in the Makefiles. Do you feel like providing a patch in
that direction ?

On Wed, Dec 26, 2012 at 01:39:30PM +0000, Martin Spott wrote:
> 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