Details Ticket 5185


Comment | Reply | Open


Serial Number 5185
Subject shared libraries problem (Solaris2.9/Sparc)
Area grass6
Queue grass
Requestors harri.kiiskinen@utu.fi
Owner mneteler
Status resolved
Last User Contact Wed May 16 10:20:42 2007 (1 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed May 16 10:23:39 2007 (1 yr ago)
Created Tue Oct 3 13:45:51 2006 (2 yr ago)

Transaction History Ticket 5185


Tue, Oct 3 2006 13:45:51    Request created by mneteler  
Subject: shared libraries problem (Solaris2.9/Sparc)

In the include/Makefiles/Platform.Make:

LD = /some/path/ld -G ...

which does not work for shared libraries which should be linked with CC
in solaris (from man CC, switch -G) : "Do not use ld -G to build shared
libraries; use CC -G. The CC driver automatically passes several options
to ld that are needed for C++."

[report inserted by MN]
Wed, May 9 2007 21:21:33    Mail sent by mneteler  
Harri,

is this still an issue with latest GRASS 6.3-CVS? We polished
quite a bit.

Markus
Fri, May 11 2007 15:53:05    Mail sent by harri.kiiskinen@utu.fi  
Return-Path <harkiisk@utu.fi>
Delivered-To grass-bugs@lists.intevation.de
Date Fri, 11 May 2007 15:52:12 +0200
From Harri Kiiskinen <harkiisk@utu.fi>
Subject [bug #5185] (grass) shared libraries problem (Solaris2.9/Sparc)
In-reply-to <20070509192133.A98D81006CD@lists.intevation.de>
To Markus Neteler via RT <grass-bugs@intevation.de>
Reply-To harri.kiiskinen@utu.fi
Message-id <1178891532.31741.2.camel@localhost.localdomain>
MIME-version 1.0
X-Mailer Evolution 2.6.3
Content-type text/plain
Content-transfer-encoding 7BIT
References <20070509192133.A98D81006CD@lists.intevation.de>
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, score=-4.865 tagged_above=-999 required=3.5 tests=[BAYES_00=-5, FORGED_RCVD_HELO=0.135]
X-Spam-Score -4.865
X-Spam-Level
On Wed, 2007-05-09 at 21:21 +0200, Markus Neteler via RT wrote:
> Harri,
> 
> is this still an issue with latest GRASS 6.3-CVS? We polished
> quite a bit.
> 
> Markus

Sorry to say, but the problem persists. Did a CVS update today, and the
configure-script still sets include/Make/Platform.make:

SHLIB_LD = /usr/ccs/bin/ld -G -z text

which is not able to link anything during the compilation. When changed
to:

SHLIB_LD = CC -G -z text

compilation runs ok.

If I can provide you with some other related files etc. please let me
know.

Harri K.


Sat, May 12 2007 12:37:53    Mail sent by mneteler  
Hi grass-dev,


https://intevation.de/rt/webrt?serial_num=5185

RT wrote:
> Sorry to say, but the problem persists. Did a CVS update today, and the
> configure-script still sets include/Make/Platform.make:
>
> SHLIB_LD = /usr/ccs/bin/ld -G -z text
>
> which is not able to link anything during the compilation. When changed
> to:
>
> SHLIB_LD = CC -G -z text
>
> compilation runs ok.
>
> If I can provide you with some other related files etc. please let me
> know.
>
> Harri K.

Any idea how to fix this?

Markus
Sat, May 12 2007 14:10:03    Mail sent by glynn@gclements.plus.com  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <17989.44695.74484.326684@cerise.gclements.plus.com>
Date Sat, 12 May 2007 13:09:59 +0100
To Markus Neteler via RT <grass-bugs@intevation.de>
Cc harri.kiiskinen@utu.fi, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #5185] (grass) shared libraries problem (Solaris2.9/Sparc)
In-Reply-To <20070512103753.9AF1910015A@lists.intevation.de>
References <20070512103753.9AF1910015A@lists.intevation.de>
X-Mailer VM 7.07 under 21.4 (patch 20) "Double Solitaire" XEmacs Lucid
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, score=-4.865 tagged_above=-999 required=3.5 tests=[BAYES_00=-5, FORGED_RCVD_HELO=0.135]
X-Spam-Score -4.865
X-Spam-Level
Markus Neteler via RT wrote:

> https://intevation.de/rt/webrt?serial_num=5185
> 
> RT wrote:
> > Sorry to say, but the problem persists. Did a CVS update today, and the
> > configure-script still sets include/Make/Platform.make:
> >
> > SHLIB_LD = /usr/ccs/bin/ld -G -z text
> >
> > which is not able to link anything during the compilation. When changed
> > to:
> >
> > SHLIB_LD = CC -G -z text
> >
> > compilation runs ok.
> >
> > If I can provide you with some other related files etc. please let me
> > know.
> >
> > Harri K.
> 
> Any idea how to fix this?

Change lines 1158, 1207 of aclocal.m4.

The references to C++ in the report lead me to suspect that this may
be a GDAL issue. Maybe the GDAL devs have more ideas?

-- 
Glynn Clements <glynn@gclements.plus.com>


Sat, May 12 2007 14:24:49    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
X-AuditID d94d5003-ac237bb000006b37-72-4645b20d6375
Date Sat, 12 May 2007 14:24:44 +0200
From Markus Neteler <neteler@itc.it>
To Glynn Clements <glynn@gclements.plus.com>
Cc Markus Neteler via RT <grass-bugs@intevation.de>, harri.kiiskinen@utu.fi, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #5185] (grass) shared libraries problem (Solaris2.9/Sparc)
Message-ID <20070512122444.GD8265@bartok.itc.it>
Mail-Followup-To Glynn Clements <glynn@gclements.plus.com>, Markus Neteler via RT <grass-bugs@intevation.de>, harri.kiiskinen@utu.fi, grass-dev@grass.itc.it
References <20070512103753.9AF1910015A@lists.intevation.de> <17989.44695.74484.326684@cerise.gclements.plus.com>
Mime-Version 1.0
Content-Type multipart/mixed; boundary="ew6BAiZeqk4r7MaW"
Content-Disposition inline
In-Reply-To <17989.44695.74484.326684@cerise.gclements.plus.com>
User-Agent Mutt/1.4.2.2i
X-PGP-Key http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
X-PGP-Fingerprint D4D5 2F80 120E AD60 E2F6 2297 21B3 D02B E1E7 E789
X-FBK Yes
X-Brightmail-Tracker AAAAAA==
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, score=-4.865 tagged_above=-999 required=3.5 tests=[BAYES_00=-5, FORGED_RCVD_HELO=0.135, UPPERCASE_25_50=0]
X-Spam-Score -4.865
X-Spam-Level
--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sat, May 12, 2007 at 01:09:59PM +0100, Glynn Clements wrote:
> 
> Markus Neteler via RT wrote:
> 
> > https://intevation.de/rt/webrt?serial_num=5185
> > 
> > RT wrote:
> > > Sorry to say, but the problem persists. Did a CVS update today, and the
> > > configure-script still sets include/Make/Platform.make:
> > >
> > > SHLIB_LD = /usr/ccs/bin/ld -G -z text
> > >
> > > which is not able to link anything during the compilation. When changed
> > > to:
> > >
> > > SHLIB_LD = CC -G -z text
> > >
> > > compilation runs ok.
> > >
> > > If I can provide you with some other related files etc. please let me
> > > know.
> > >
> > > Harri K.
> > 
> > Any idea how to fix this?
> 
> Change lines 1158, 1207 of aclocal.m4.

Is attached patch right? I wonder about CC version $CC. Have
used $CC in the patch.

Markus 

------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------

--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="aclocal.diff"

Index: aclocal.m4
===================================================================
RCS file: /home/grass/grassrepository/grass6/aclocal.m4,v
retrieving revision 1.31
diff -u -r1.31 aclocal.m4
--- aclocal.m4	6 Apr 2007 15:51:26 -0000	1.31
+++ aclocal.m4	12 May 2007 12:22:37 -0000
@@ -1155,7 +1155,7 @@
 		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
 	    else
 		SHLIB_CFLAGS="-KPIC"
-		SHLIB_LD="/usr/ccs/bin/ld -G -z text"
+		SHLIB_LD="$CC -G -z text"
 		CC_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
 		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
 	    fi
@@ -1204,7 +1204,7 @@
 		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
 	    else
 		SHLIB_CFLAGS="-KPIC"
-		SHLIB_LD="/usr/ccs/bin/ld -G -z text"
+		SHLIB_LD="$CC -G -z text"
 		CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
 		LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
 	    fi

--ew6BAiZeqk4r7MaW--


Sat, May 12 2007 15:04:45    Mail sent by paul-grass@stjohnspoint.co.uk  
Return-Path <paul-grass@stjohnspoint.co.uk>
Delivered-To grass-bugs@lists.intevation.de
Date Sat, 12 May 2007 14:04:35 +0100 (BST)
From Paul Kelly <paul-grass@stjohnspoint.co.uk>
X-X-Sender paulk@agrippa.ukshells.co.uk
To Markus Neteler <neteler@itc.it>
Cc Glynn Clements <glynn@gclements.plus.com>, Markus Neteler via RT <grass-bugs@intevation.de>, harri.kiiskinen@utu.fi, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #5185] (grass) shared libraries problem (Solaris2.9/Sparc)
In-Reply-To <20070512122444.GD8265@bartok.itc.it>
Message-ID <Pine.LNX.4.62.0705121358420.2644@agrippa.ukshells.co.uk>
References <20070512103753.9AF1910015A@lists.intevation.de> <17989.44695.74484.326684@cerise.gclements.plus.com> <20070512122444.GD8265@bartok.itc.it>
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII; format=flowed
X-SA-Do-Not-Run Yes
X-SA-Exim-Connect-IP 217.10.143.90
X-SA-Exim-Mail-From paul-grass@stjohnspoint.co.uk
X-SA-Exim-Scanned No (on mail.ukshells.net); SAEximRunCond expanded to false
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, score=-5 tagged_above=-999 required=3.5 tests=[BAYES_00=-5]
X-Spam-Score -5
X-Spam-Level
On Sat, 12 May 2007, Markus Neteler wrote:

> On Sat, May 12, 2007 at 01:09:59PM +0100, Glynn Clements wrote:
>>
>> Markus Neteler via RT wrote:
>>
>>> https://intevation.de/rt/webrt?serial_num=5185
>>>
>>> RT wrote:
>>>> Sorry to say, but the problem persists. Did a CVS update today, and the
>>>> configure-script still sets include/Make/Platform.make:
>>>>
>>>> SHLIB_LD = /usr/ccs/bin/ld -G -z text
>>>>
>>>> which is not able to link anything during the compilation. When changed
>>>> to:
>>>>
>>>> SHLIB_LD = CC -G -z text
>>>>
>>>> compilation runs ok.
>>>>
>>>> If I can provide you with some other related files etc. please let me
>>>> know.
>>>>
>>>> Harri K.
>>>
>>> Any idea how to fix this?
>>
>> Change lines 1158, 1207 of aclocal.m4.
>
> Is attached patch right? I wonder about CC version $CC. Have
> used $CC in the patch.

CC is the Solaris native C++ compiler I think. I see there is a separate 
section in aclocal.m4 for building with GNU gcc on Solaris. I don't have 
access to any machines using the native Solaris compilers to test it, but 
I suppose it sounds reasonable. Seems weird to have to use the C++ 
compiler for linking when GRASS is almost all C though. Maybe Glynn is on 
to something about GDAL. So many parts of GRASS indirectly depend on GDAL 
now - I wonder though is there anything that links properly using the 
Solaris ld?

Paul


Sat, May 12 2007 15:12:18    Mail sent by paul-grass@stjohnspoint.co.uk  
Return-Path <paul-grass@stjohnspoint.co.uk>
Delivered-To grass-bugs@lists.intevation.de
Date Sat, 12 May 2007 14:12:15 +0100 (BST)
From Paul Kelly <paul-grass@stjohnspoint.co.uk>
X-X-Sender paulk@agrippa.ukshells.co.uk
To Markus Neteler <neteler@itc.it>
Cc Glynn Clements <glynn@gclements.plus.com>, Markus Neteler via RT <grass-bugs@intevation.de>, harri.kiiskinen@utu.fi, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #5185] (grass) shared libraries problem (Solaris2.9/Sparc)
In-Reply-To <20070512122444.GD8265@bartok.itc.it>
Message-ID <Pine.LNX.4.62.0705121410410.2644@agrippa.ukshells.co.uk>
References <20070512103753.9AF1910015A@lists.intevation.de> <17989.44695.74484.326684@cerise.gclements.plus.com> <20070512122444.GD8265@bartok.itc.it>
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII; format=flowed
X-SA-Do-Not-Run Yes
X-SA-Exim-Connect-IP 217.10.143.90
X-SA-Exim-Mail-From paul-grass@stjohnspoint.co.uk
X-SA-Exim-Scanned No (on mail.ukshells.net); SAEximRunCond expanded to false
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, score=-5 tagged_above=-999 required=3.5 tests=[BAYES_00=-5]
X-Spam-Score -5
X-Spam-Level
On Sat, 12 May 2007, Markus Neteler wrote:

>>
>> Change lines 1158, 1207 of aclocal.m4.
>
> Is attached patch right? I wonder about CC version $CC. Have
> used $CC in the patch.

I would say only change it in the second location, as that covers Solaris 
9 (i.e SunOS 5.9) and the other version applies to old versions of Solaris 
up to 2.6 (which is pretty old these days) and the issue might not apply 
there?

Paul


Sat, May 12 2007 16:18:38    Mail sent by glynn@gclements.plus.com  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <17989.52411.450299.72504@cerise.gclements.plus.com>
Date Sat, 12 May 2007 15:18:35 +0100
To Markus Neteler <neteler@itc.it>
Cc Markus Neteler via RT <grass-bugs@intevation.de>, harri.kiiskinen@utu.fi, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #5185] (grass) shared libraries problem (Solaris2.9/Sparc)
In-Reply-To <20070512122444.GD8265@bartok.itc.it>
References <20070512103753.9AF1910015A@lists.intevation.de> <17989.44695.74484.326684@cerise.gclements.plus.com> <20070512122444.GD8265@bartok.itc.it>
X-Mailer VM 7.07 under 21.4 (patch 20) "Double Solitaire" XEmacs Lucid
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, score=-4.865 tagged_above=-999 required=3.5 tests=[BAYES_00=-5, FORGED_RCVD_HELO=0.135]
X-Spam-Score -4.865
X-Spam-Level
Markus Neteler wrote:

> Is attached patch right? I wonder about CC version $CC. Have
> used $CC in the patch.

It should be "CC"; that's the name of the C++ compiler.

-- 
Glynn Clements <glynn@gclements.plus.com>


Sat, May 12 2007 17:14:44    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
X-AuditID d94d5003-afe3dbb000006b37-df-4645d9e07349
Date Sat, 12 May 2007 17:14:39 +0200
From Markus Neteler <neteler@itc.it>
To GRASS developers list <grass-dev@grass.itc.it>
Cc Markus Neteler via RT <grass-bugs@intevation.de>, harri.kiiskinen@utu.fi
Subject Re: [GRASS-dev] [bug #5185] (grass) shared libraries problem (Solaris2.9/Sparc)
Message-ID <20070512151439.GB18085@bartok.itc.it>
Mail-Followup-To GRASS developers list <grass-dev@grass.itc.it>, Markus Neteler via RT <grass-bugs@intevation.de>, harri.kiiskinen@utu.fi
References <20070512103753.9AF1910015A@lists.intevation.de> <17989.44695.74484.326684@cerise.gclements.plus.com> <20070512122444.GD8265@bartok.itc.it> <17989.52411.450299.72504@cerise.gclements.plus.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <17989.52411.450299.72504@cerise.gclements.plus.com>
User-Agent Mutt/1.4.2.2i
X-PGP-Key http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
X-PGP-Fingerprint D4D5 2F80 120E AD60 E2F6 2297 21B3 D02B E1E7 E789
X-FBK Yes
X-Brightmail-Tracker AAAAAA==
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, score=-4.865 tagged_above=-999 required=3.5 tests=[BAYES_00=-5, FORGED_RCVD_HELO=0.135]
X-Spam-Score -4.865
X-Spam-Level
On Sat, May 12, 2007 at 03:18:35PM +0100, Glynn Clements wrote:
> Markus Neteler wrote:
> 
> > Is attached patch right? I wonder about CC version $CC. Have
> > used $CC in the patch.
> 
> It should be "CC"; that's the name of the C++ compiler.

OK, have used CC now.

On Sat, May 12, 2007 at 02:12:15PM +0100, Paul Kelly wrote:
> I would say only change it in the second location, as that covers Solaris
> 9 (i.e SunOS 5.9) and the other version applies to old versions of Solaris
> up to 2.6 (which is pretty old these days) and the issue might not apply
> there?

I have changed the second location only in aclocal.m4 and regenerated
configure. In CVS now.

Harri, could you please test if it now works?

Markus

------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------


Sat, May 12 2007 17:33:16    Taken by mneteler  
Mon, May 14 2007 14:12:03    Mail sent by harri.kiiskinen@utu.fi  
Return-Path <harkiisk@utu.fi>
Delivered-To grass-bugs@lists.intevation.de
Date Mon, 14 May 2007 14:11:47 +0200
From Harri Kiiskinen <harkiisk@utu.fi>
Subject Re: [bug #5185] (grass) shared libraries problem (Solaris2.9/Sparc)
In-reply-to <20070512151444.1B1471005B7@lists.intevation.de>
To Markus Neteler via RT <grass-bugs@intevation.de>
Reply-To harri.kiiskinen@utu.fi
Message-id <1179144708.31741.14.camel@localhost.localdomain>
MIME-version 1.0
X-Mailer Evolution 2.6.3
Content-type text/plain
Content-transfer-encoding 7BIT
References <20070512151444.1B1471005B7@lists.intevation.de>
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, score=-4.865 tagged_above=-999 required=3.5 tests=[BAYES_00=-5, FORGED_RCVD_HELO=0.135]
X-Spam-Score -4.865
X-Spam-Level
On Sat, 2007-05-12 at 17:14 +0200, Markus Neteler via RT wrote:
> On Sat, May 12, 2007 at 03:18:35PM +0100, Glynn Clements wrote:
> > Markus Neteler wrote:
> > 
> > > Is attached patch right? I wonder about CC version $CC. Have
> > > used $CC in the patch.
> > 
> > It should be "CC"; that's the name of the C++ compiler.
> 
> OK, have used CC now.
> 
> On Sat, May 12, 2007 at 02:12:15PM +0100, Paul Kelly wrote:
> > I would say only change it in the second location, as that covers Solaris
> > 9 (i.e SunOS 5.9) and the other version applies to old versions of Solaris
> > up to 2.6 (which is pretty old these days) and the issue might not apply
> > there?
> 
> I have changed the second location only in aclocal.m4 and regenerated
> configure. In CVS now.
> 
> Harri, could you please test if it now works?

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.


Mon, May 14 2007 17:17:42    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
X-AuditID d94d5003-acc38bb000006b37-21-4648798b05d0
Date Mon, 14 May 2007 17:00:27 +0200
From Markus Neteler <neteler@itc.it>
To Request Tracker <grass-bugs@intevation.de>
Cc GRASS developers list <grass-dev@grass.itc.it>
Subject Re: [bug #5185] shared library problem solaris
Message-ID <20070514150027.GC5781@bartok.itc.it>
Mail-Followup-To Request Tracker <grass-bugs@intevation.de>, GRASS developers list <grass-dev@grass.itc.it>
References <20070514121203.DBAEB1005C6@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <20070514121203.DBAEB1005C6@lists.intevation.de>
User-Agent Mutt/1.4.2.2i
X-PGP-Key http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
X-PGP-Fingerprint D4D5 2F80 120E AD60 E2F6 2297 21B3 D02B E1E7 E789
X-FBK Yes
X-Brightmail-Tracker AAAAAA==
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, score=-4.865 tagged_above=-999 required=3.5 tests=[BAYES_00=-5, FORGED_RCVD_HELO=0.135]
X-Spam-Score -4.865
X-Spam-Level
Hi grass-dev,

On Mon, May 14, 2007 at 02:12:03PM +0200, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=5185
> 
> Mon, May 14 2007 14:12:03: Request 5185 was acted upon.
> 
>  Transaction: Mail sent by harri.kiiskinen utu.fi
...
> > Harri, could you please test if it now works?
> 
> 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...

Markus 

------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------


Mon, May 14 2007 17:29:07    Mail sent by paul-grass@stjohnspoint.co.uk  
Return-Path <paul-grass@stjohnspoint.co.uk>
Delivered-To grass-bugs@lists.intevation.de
Date Mon, 14 May 2007 16:29:02 +0100 (BST)
From Paul Kelly <paul-grass@stjohnspoint.co.uk>
X-X-Sender paulk@agrippa.ukshells.co.uk
To Markus Neteler <neteler@itc.it>
Cc Request Tracker <grass-bugs@intevation.de>, GRASS developers list <grass-dev@grass.itc.it>
Subject Re: [GRASS-dev] Re: [bug #5185] shared library problem solaris
In-Reply-To <20070514150027.GC5781@bartok.itc.it>
Message-ID <Pine.LNX.4.62.0705141626510.24023@agrippa.ukshells.co.uk>
References <20070514121203.DBAEB1005C6@lists.intevation.de> <20070514150027.GC5781@bartok.itc.it>
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII; format=flowed
X-SA-Do-Not-Run Yes
X-SA-Exim-Connect-IP 217.10.143.90
X-SA-Exim-Mail-From paul-grass@stjohnspoint.co.uk
X-SA-Exim-Scanned No (on mail.ukshells.net); SAEximRunCond expanded to false
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, score=-5 tagged_above=-999 required=3.5 tests=[BAYES_00=-5]
X-Spam-Score -5
X-Spam-Level
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.


Mon, May 14 2007 17:42:52    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
X-AuditID d94d5003-ab836bb000006b37-7b-4648824a3b8b
Date Mon, 14 May 2007 17:37:45 +0200
From Markus Neteler <neteler@itc.it>
To GRASS developers list <grass-dev@grass.itc.it>
Cc Request Tracker <grass-bugs@intevation.de>
Subject Re: [GRASS-dev] Re: [bug #5185] shared library problem solaris
Message-ID <20070514153745.GJ5781@bartok.itc.it>
Mail-Followup-To GRASS developers list <grass-dev@grass.itc.it>, Request Tracker <grass-bugs@intevation.de>
References <20070514121203.DBAEB1005C6@lists.intevation.de> <20070514150027.GC5781@bartok.itc.it> <Pine.LNX.4.62.0705141626510.24023@agrippa.ukshells.co.uk>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <Pine.LNX.4.62.0705141626510.24023@agrippa.ukshells.co.uk>
User-Agent Mutt/1.4.2.2i
X-PGP-Key http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
X-PGP-Fingerprint D4D5 2F80 120E AD60 E2F6 2297 21B3 D02B E1E7 E789
X-FBK Yes
X-Brightmail-Tracker AAAAAA==
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, score=-4.865 tagged_above=-999 required=3.5 tests=[BAYES_00=-5, FORGED_RCVD_HELO=0.135]
X-Spam-Score -4.865
X-Spam-Level
On Mon, May 14, 2007 at 04:29:02PM +0100, Paul Kelly wrote:
> 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.

Thanks, Paul. In CVS now.

Harri, please try again...
Markus


------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------


Tue, May 15 2007 01:06:46    Mail sent by glynn@gclements.plus.com  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <17992.60284.229106.53434@cerise.gclements.plus.com>
Date Tue, 15 May 2007 00:06:36 +0100
To Paul Kelly <paul-grass@stjohnspoint.co.uk>
Cc Markus Neteler <neteler@itc.it>, Request Tracker <grass-bugs@intevation.de>, GRASS developers list <grass-dev@grass.itc.it>
Subject Re: [GRASS-dev] Re: [bug #5185] shared library problem solaris
In-Reply-To <Pine.LNX.4.62.0705141626510.24023@agrippa.ukshells.co.uk>
References <20070514121203.DBAEB1005C6@lists.intevation.de> <20070514150027.GC5781@bartok.itc.it> <Pine.LNX.4.62.0705141626510.24023@agrippa.ukshells.co.uk>
X-Mailer VM 7.07 under 21.4 (patch 20) "Double Solitaire" XEmacs Lucid
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, score=-4.865 tagged_above=-999 required=3.5 tests=[BAYES_00=-5, FORGED_RCVD_HELO=0.135]
X-Spam-Score -4.865
X-Spam-Level
Paul Kelly 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:

This might be a good time to think about eliminating the use of
"uname" and using $host like it should.

-- 
Glynn Clements <glynn@gclements.plus.com>


Tue, May 15 2007 13:44:18    Mail sent by harri.kiiskinen@utu.fi  
Return-Path <harkiisk@utu.fi>
Delivered-To grass-bugs@lists.intevation.de
Date Tue, 15 May 2007 13:44:06 +0200
From Harri Kiiskinen <harkiisk@utu.fi>
Subject Re: [bug #5185] (grass) shared library problem solaris
In-reply-to <20070514154252.795381006AE@lists.intevation.de>
To Markus Neteler via RT <grass-bugs@intevation.de>
Reply-To harri.kiiskinen@utu.fi
Message-id <1179229446.13429.2.camel@localhost.localdomain>
MIME-version 1.0
X-Mailer Evolution 2.6.3
Content-type text/plain
Content-transfer-encoding 7BIT
References <20070514154252.795381006AE@lists.intevation.de>
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, score=-4.865 tagged_above=-999 required=3.5 tests=[BAYES_00=-5, FORGED_RCVD_HELO=0.135]
X-Spam-Score -4.865
X-Spam-Level
On Mon, 2007-05-14 at 17:42 +0200, Markus Neteler via RT wrote:
> On Mon, May 14, 2007 at 04:29:02PM +0100, Paul Kelly wrote:
> > 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.
> 
> Thanks, Paul. In CVS now.
> 
> Harri, please try again...

Tried, and it works now. Thanks to everybody!

Harri K.


Wed, May 16 2007 10:20:42    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
X-AuditID d94d5003-aea3bbb000006b37-db-464abe6faa7c
Date Wed, 16 May 2007 10:18:55 +0200
From Markus Neteler <neteler@itc.it>
To Request Tracker <grass-bugs@intevation.de>
Cc GRASS developers list <grass-dev@grass.itc.it>
Subject Re: [bug #5185] (grass) Transaction (harri.kiiskinen utu.fi)
Message-ID <20070516081854.GB8444@bartok.itc.it>
Mail-Followup-To Request Tracker <grass-bugs@intevation.de>, GRASS developers list <grass-dev@grass.itc.it>
References <20070515114418.C1CF11006A6@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <20070515114418.C1CF11006A6@lists.intevation.de>
User-Agent Mutt/1.4.2.2i
X-PGP-Key http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
X-PGP-Fingerprint D4D5 2F80 120E AD60 E2F6 2297 21B3 D02B E1E7 E789
X-FBK Yes
X-Brightmail-Tracker AAAAAA==
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, score=-4.865 tagged_above=-999 required=3.5 tests=[BAYES_00=-5, FORGED_RCVD_HELO=0.135]
X-Spam-Score -4.865
X-Spam-Level
On Tue, May 15, 2007 at 01:44:18PM +0200, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=5185
> 
...
> > > 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.
> > 
> > Thanks, Paul. In CVS now.
> > 
> > Harri, please try again...
> 
> Tried, and it works now. Thanks to everybody!
> 
> Harri K.

Excellent. Closing report,

Markus

------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------


Wed, May 16 2007 10:23:39    Status changed to resolved by mneteler  
Comment | Reply | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request