Details Ticket 3746


Comment | Reply | Take | Open


Serial Number 3746
Subject d.grid compilation error
Area grass6
Queue grass
Requestors rhys.stewart@gmail.com
Owner none
Status resolved
Last User Contact Sat Oct 15 21:31:28 2005 (3 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Mon Jul 17 20:35:54 2006 (2 yr ago)
Created Sat Oct 15 20:30:01 2005 (3 yr ago)

Transaction History Ticket 3746


Sat, Oct 15 2005 20:30:01    Request created by guest  
Subject: d.grid compilation error

Platform: GNU/Linux/i386 
grass obtained from: Trento Italy site 
grass binary for platform: Compiled from Sources 
GRASS Version: grass-6.1.cvs_src_snapshot_2005_10_15 
 
Did ./configure by itself. All went well. No (obvious) errors.   
after instaling it worked well, but i needed to configure freetype so i did:
./configure --with-freetype-libs=/usr/lib  
--with-freetype-includes=/usr/include/freetype2 --with-freetype  --with-blas
--with-lapack --with-blas-libs=/usr/lib --with-lapack-libs=/usr/lib   
  
and got this:  
----------------------------------------------------------------------  
GRASS GIS compilation log  
-------------------------  
Started compilation: Sat Oct 15 13:08:31 Local time zone must be set--see zic
manual page 2005  
--  
Errors in:  
/wall/grass-6.1.cvs_src_snapshot_2005_10_15/display/d.grid  
--  
Finished compilation: Sat Oct 15 13:13:03 Local time zone must be set--see  
zic manual page 2005  
(In case of errors please change into the directory with error and run  
'make')  
  
so i went into the d.grid directory and did make then i got this:  
  
/wall/grass-6.1.cvs_src_snapshot_2005_10_15/include/gprojects.h:67: error:  
syntax error before '*' token  
/wall/grass-6.1.cvs_src_snapshot_2005_10_15/include/gprojects.h:68: warning:
data definition has no type or storage class  
/wall/grass-6.1.cvs_src_snapshot_2005_10_15/include/gprojects.h:72: error:  
syntax error before "OGRSpatialReferenceH"  
main.c: In function `main':  
main.c:127: warning: passing arg 1 of `R_reset_color' with different width  
due to prototype  
main.c:127: warning: passing arg 2 of `R_reset_color' with different width  
due to prototype  
main.c:127: warning: passing arg 3 of `R_reset_color' with different width  
due to prototype  
main.c:143: warning: passing arg 1 of `R_reset_color' with different width  
due to prototype  
main.c:143: warning: passing arg 2 of `R_reset_color' with different width  
due to prototype  
main.c:143: warning: passing arg 3 of `R_reset_color' with different width  
due to prototype  
main.c:158: warning: passing arg 1 of `R_reset_color' with different width  
due to prototype  
main.c:158: warning: passing arg 2 of `R_reset_color' with different width  
due to prototype  
main.c:158: warning: passing arg 3 of `R_reset_color' with different width  
due to prototype  
make: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1  
  
  
I didnt do a make clean before i compile for the second time so I dont know 
if that is the issue. Hope this bug report is helpful.  
  
  
  
  
Sat, Oct 15 2005 21:31:28    Mail sent by paul@stjohnspoint.co.uk  
Return-Path <paul@stjohnspoint.co.uk>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <4351590A.6010008@stjohnspoint.co.uk>
Date Sat, 15 Oct 2005 20:31:22 +0100
From Paul Kelly <paul@stjohnspoint.co.uk>
User-Agent Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language en-us, en
MIME-Version 1.0
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #3746] (grass) d.grid compilation error
References <20051015183001.88AAE102BCB@lists.intevation.de>
In-Reply-To <20051015183001.88AAE102BCB@lists.intevation.de>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Looks like d.grid has been changed so it uses PROJ but the Makefile not 
totally updated accordingly. Could you try adding the line
EXTRA_INC = $(PROJINC)
to display/d.grid/Makefile and see if that makes any difference?

Paul
> /wall/grass-6.1.cvs_src_snapshot_2005_10_15/include/gprojects.h:67: error:
> syntax error before '*' token  
> /wall/grass-6.1.cvs_src_snapshot_2005_10_15/include/gprojects.h:68: warning:
> data definition has no type or storage class  
> /wall/grass-6.1.cvs_src_snapshot_2005_10_15/include/gprojects.h:72: error:
> syntax error before "OGRSpatialReferenceH"  


Thu, Oct 20 2005 00:35:20    Comments added by guest  
EXTRA_INC added in CVS. 

This bug should be done, but conformation of a sucessful build would be nice.
Hamish
Mon, Jul 17 2006 20:35:54    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