Details Ticket 2173


Comment | Reply | Take | Open


Serial Number 2173
Subject Compiling under Mandrake 9.1
Area bug
Queue grass
Requestors tkrupinski@usgs.gov
Owner none
Status resolved
Last User Contact Thu Jun 17 17:13:13 2004 (4 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed Aug 11 16:04:58 2004 (4 yr ago)
Created Mon Oct 20 23:18:24 2003 (5 yr ago)

Transaction History Ticket 2173


Mon, Oct 20 2003 23:18:24    Request created by guest  
Subject: Compiling under Mandrake 9.1

Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: 5.0.3rc4

To compile the source, had to change Line #48 in minmaxheap.h from #include <strstream.h>
to #include <strstream>.  
Tue, Oct 21 2003 07:14:12    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Tue, 21 Oct 2003 07:14:08 +0200
From Markus Neteler <neteler@itc.it>
To Request Tracker <grass-bugs@intevation.de>
Subject Re: [GRASS5] [bug #2173] (grass) Compiling under Mandrake 9.1
Message-ID <20031021071408.A4324@itc.it>
References <20031020211825.78C6F13B9A@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.2.5.1i
In-Reply-To <20031020211825.78C6F13B9A@lists.intevation.de>; from grass-bugs@intevation.de on Mon, Oct 20, 2003 at 11:18:25PM +0200
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=5.0 tests=BAYES_00
X-Spam-Level
On Mon, Oct 20, 2003 at 11:18:25PM +0200, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2173
> -------------------------------------------------------------------------
> 
> Subject: Compiling under Mandrake 9.1
> 
> Platform: GNU/Linux/i386
> grass obtained from: Mirror of Trento site
> grass binary for platform: Compiled from Sources
> GRASS Version: 5.0.3rc4
> 
> To compile the source, had to change Line #48 in minmaxheap.h from #include
<strstream.h> to #include <strstream>.  
> 

Are you refering to
src.contrib/DUKE/r.terraflow/IOStream/include/minmaxheap.h
?


Tue, Oct 21 2003 15:22:09    Mail sent by tlaronde@polynum.com  
Return-Path <tlaronde@polynum.com>
Delivered-To grass-bugs@lists.intevation.de
Date Tue, 21 Oct 2003 15:16:49 +0200
From Thierry Laronde <tlaronde@polynum.com>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2173] (grass) Compiling under Mandrake 9.1
Message-ID <20031021151649.A8008@polynum.org>
References <20031020211825.78C6F13B9A@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
User-Agent Mutt/1.0.1i
In-Reply-To <20031020211825.78C6F13B9A@lists.intevation.de>; from grass-bugs@intevation.de on Mon, Oct 20, 2003 at 11:18:25PM +0200
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=5.0 tests=BAYES_00
X-Spam-Level
On Mon, Oct 20, 2003 at 11:18:25PM +0200, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2173
> -------------------------------------------------------------------------
> 
> Subject: Compiling under Mandrake 9.1
> 
> To compile the source, had to change Line #48 in minmaxheap.h from #include
<strstream.h> to #include <strstream>.  

These are the preliminary problems with all the C++ code and the new
GCC 3.x...
-- 
Thierry Laronde (Alceste) <tlaronde@polynum.org>
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Tue, Oct 21 2003 19:23:01    Mail sent by ltoma@bowdoin.edu  
Return-Path <ltoma@bowdoin.edu>
Delivered-To grass-bugs@lists.intevation.de
Date Tue, 21 Oct 2003 13:22:57 -0400
From Laura Toma <ltoma@bowdoin.edu>
Subject Re: [GRASS5] [bug #2173] (grass) Compiling under Mandrake 9.1
Sender ltoma@bowdoin.edu
To Thierry Laronde <tlaronde@polynum.com>
Cc Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
Message-id <3F956B71.8070800@bowdoin.edu>
MIME-version 1.0
Content-type multipart/alternative; boundary="Boundary_(ID_psAN6VAEQLXeVukw5D41iw)"
X-Accept-Language en-us, en
User-Agent Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (CK-BOWDOIN)
References <20031020211825.78C6F13B9A@lists.intevation.de> <20031021151649.A8008@polynum.org>
X-Spam-Status No, hits=-4.7 tagged_above=-999.0 required=5.0 tests=BAYES_00, HTML_MESSAGE, HTML_TITLE_EMPTY
X-Spam-Level
--Boundary_(ID_psAN6VAEQLXeVukw5D41iw)
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT

Hi,

As far as I can tell all the compile problems with r.terraflow are 
because of the #include lines.
With gcc3.2 and 3.3 all  #include <X.h> should be replaced with #include 
<X>.
Also, the header strstream.h is deprecated, and should be replaced with 
sstream.

With 3.2 these problems can be postponed with the compile flag  
-Wno-deprecated. Not sure about 3.3. I will try to install 3.3 and 
 compile it.  

In any case the code should be fixed to compile without warnings (and 
errors).. I'll  be working on it. 

-Laura



Thierry Laronde wrote:

>On Mon, Oct 20, 2003 at 11:18:25PM +0200, Request Tracker wrote:
>  
>
>>this bug's URL: http://intevation.de/rt/webrt?serial_num=2173
>>-------------------------------------------------------------------------
>>
>>Subject: Compiling under Mandrake 9.1
>>
>>To compile the source, had to change Line #48 in minmaxheap.h from #include
<strstream.h> to #include <strstream>.  
>>    
>>
>
>These are the preliminary problems with all the C++ code and the new
>GCC 3.x...
>  
>


--Boundary_(ID_psAN6VAEQLXeVukw5D41iw)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
Hi, <br>
<br>
As far as I can tell all the compile problems with r.terraflow are because
of the #include lines. <br>
With gcc3.2 and 3.3 all  #include <X.h> should be replaced with #include
<X>. <br>
Also, the header strstream.h is deprecated, and should be replaced with sstream.<br>
<br>
With 3.2 these problems can be postponed with the compile flag  -Wno-deprecated.
Not sure about 3.3. I will try to install 3.3 and  compile it.  <br>
<br>
In any case the code should be fixed to compile without warnings (and errors)..
I'll  be working on it.  <br>
<br>
-Laura<br>
<br>
<br>
<br>
Thierry Laronde wrote:<br>
<blockquote type="cite" cite="mid20031021151649.A8008@polynum.org">
  <pre wrap="">On Mon, Oct 20, 2003 at 11:18:25PM +0200, Request Tracker wrote:
</pre>
  <blockquote type="cite">
    <pre wrap="">this bug's URL: <a class="moz-txt-link-freetext" href="http://intevation.de/rt/webr
t?serial_num=2173">http://intevation.de/rt/webrt?serial_num=2173</a>
-------------------------------------------------------------------------

Subject: Compiling under Mandrake 9.1

To compile the source, had to change Line #48 in minmaxheap.h from #include <strstream.h>
to #include <strstream>.  
    </pre>
  </blockquote>
  <pre wrap=""><!---->
These are the preliminary problems with all the C++ code and the new
GCC 3.x...
  </pre>
</blockquote>
<br>
</body>
</html>

--Boundary_(ID_psAN6VAEQLXeVukw5D41iw)--


Tue, Oct 21 2003 20:57:00    Mail sent by tlaronde@polynum.com  
Return-Path <tlaronde@polynum.com>
Delivered-To grass-bugs@lists.intevation.de
Date Tue, 21 Oct 2003 20:05:32 +0200
From Thierry Laronde <tlaronde@polynum.com>
To Laura Toma <ltoma@bowdoin.edu>
Cc Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2173] (grass) Compiling under Mandrake 9.1
Message-ID <20031021200532.A9158@polynum.org>
References <20031020211825.78C6F13B9A@lists.intevation.de> <20031021151649.A8008@polynum.org> <3F956B71.8070800@bowdoin.edu>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
User-Agent Mutt/1.0.1i
In-Reply-To <3F956B71.8070800@bowdoin.edu>; from ltoma@bowdoin.edu on Tue, Oct 21, 2003 at 01:22:57PM -0400
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=5.0 tests=BAYES_00
X-Spam-Level
Hello,

On Tue, Oct 21, 2003 at 01:22:57PM -0400, Laura Toma wrote:
> Hi,
> 
> As far as I can tell all the compile problems with r.terraflow are 
> because of the #include lines.
> With gcc3.2 and 3.3 all  #include <X.h> should be replaced with #include 
> <X>.
> Also, the header strstream.h is deprecated, and should be replaced with 
> sstream.
> 
> With 3.2 these problems can be postponed with the compile flag  
> -Wno-deprecated. Not sure about 3.3. I will try to install 3.3 and 
>  compile it.  
> 
> In any case the code should be fixed to compile without warnings (and 
> errors).. I'll  be working on it. 

Great. All I wanted to emphasize ---since I have spent some times trying
to convince GNU libc (latest) and GNU cc (latest) to compile smoothly
together...--- is that we are going to have some hard time with mixes
of different versions of gcc and glibc... And the C++ support has deeply
changed too!

Cheers,
-- 
Thierry Laronde (Alceste) <tlaronde@polynum.org>
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Thu, Jun 17 2004 17:13:13    Mail sent by mneteler  
It should be solved in CVS, can you confirm?

Thanks

 Markus
Wed, Aug 11 2004 16:04:58    Status changed to resolved by mneteler  
Comment | Reply | Take | 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