[GRASS-dev] Re: [bug #5185] shared library problem solaris

Paul Kelly paul-grass at stjohnspoint.co.uk
Mon May 14 11:29:02 EDT 2007


On Mon, 14 May 2007, Markus Neteler wrote:

>> Sorry to say, but it does not yet work; I do have a suspicion, that the
>> test in aclocal.m4 on line 1137 is the reason: `uname -s`-`uname -r`
>> (aclocal.m4 line 446) gives 'SunOS-5.10' on the system I'm using, and
>> the results do indicate, that contrary to what planned, the system is
>> treated as on of 5.0 to 5.6.
>>
>> Harri K.
>
> ... new ideas are welcome again...

Looks like it is treating 5.1.* and 5.10* the same - adding an extra dot
into the matching expression should fix it I would hope:

Index: aclocal.m4
===================================================================
RCS file: /home/grass/grassrepository/grass6/aclocal.m4,v
retrieving revision 1.32
diff -u -r1.32 aclocal.m4
--- aclocal.m4  12 May 2007 15:03:33 -0000      1.32
+++ aclocal.m4  14 May 2007 15:24:14 -0000
@@ -1134,7 +1134,7 @@
             UNSHARED_LIB_SUFFIX='${GRASS_TRIM_DOTS}.a'
             GRASS_LIB_VERSIONS_OK=nodots
             ;;
-       SunOS-5.[[0-6]]*)
+       SunOS-5.[[0-6]].*)

             # Note: If _REENTRANT isn't defined, then Solaris
             # won't define thread-safe library routines.




More information about the grass-dev mailing list