Mapserver 4.6.1 configure fails ("test: unknown operator ==" - line 9975)

Frank Warmerdam warmerdam at POBOX.COM
Thu Sep 29 09:28:12 EDT 2005


On 9/29/05, Havard Tveite <havard.tveite at umb.no> wrote:
> On Solaris 2.7, Mapserver 4.6.1 configure fail with the
> following error message:
> "test: unknown operator =="
>
> The problem is line 9975:
> "if test "$enable_point_z_m" == "yes" ; then"

Havard,

I believe this is one of those things that works with /bin/bash
(used on Linux) but not on the traditional bourne shell used on
Solaris, freebsd, etc.   I have created a bug for this problem and will
fix it in 4.6 and 4.7.

  http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1485

Your change directly in configure is fine as a workaround.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-dev mailing list