Return-Path |
<glynn.clements@virgin.net>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
Glynn Clements <glynn.clements@virgin.net>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<16139.23601.72363.971999@cerise.nosuchdomain.co.uk>
|
Date |
Wed, 9 Jul 2003 01:05:05 +0100
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #2009] (grass) Compilation problems (NVIZ)
|
In-Reply-To |
<20030708214224.C5602139BA@lists.intevation.de>
|
References |
<20030708214224.C5602139BA@lists.intevation.de>
|
X-Mailer |
VM 7.07 under 21.4 (patch 13) "Rational FORTRAN" XEmacs Lucid
|
X-Spam-Status |
No, hits=-2.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PATCH_UNIFIED_DIFF, QUOTED_EMAIL_TEXT,RCVD_IN_MULTIHOP_DSBL, RCVD_IN_UNCONFIRMED_DSBL,REFERENCES,SIGNATURE_SHORT_DENSE, SPAM_PHRASE_00_01 version=2.44
|
X-Spam-Level |
|
Request Tracker wrote:
> Subject: Compilation problems (NVIZ)
> GRASS Version: 5.0.2
>
> When compiling the part that compiles NVIZ returns the following error:
>
> /grass5.0.2/src/CMD/gmake5.0 /grass5.0.2/src.contrib/GMSL/NVIZ2.2/src
> #################################################################
> /grass5.0.2/src.contrib/GMSL/NVIZ2.2/src
> make -f OBJ.powerpc-apple-darwin6.6/make.rules
>
> gcc -I/grass5.0.2/src/include -g -O2 -D__unix -I/usr/X11R6/include -I/usr/local/include/
-I/
> usr/local/include/ -I/grass5.0.2/src/libes/ogsf -D_NO_PROTO -D__STDC__ -I/usr/local/
> pgsql/include/ -c nvizAppInit.c -o OBJ.powerpc-apple-darwin6.6/nvizAppInit.o
> In file included from nvizAppInit.c:9:
> interface.h:257: conflicting types for `Tk_SetAppName'
> /usr/local/include//tkDecls.h:573: previous declaration of `Tk_SetAppName'
> The version of Tcl/Tk I use is 8.4.1, from fink (http://fink.sourceforge.net).
This is a known problem; 5.0.2 doesn't work with Tcl/Tk 8.4.x. The fix
is:
--- src.contrib/GMSL/NVIZ2.2/src/interface.h 2000/02/06 15:00:41 1.2
+++ src.contrib/GMSL/NVIZ2.2/src/interface.h 2002/10/11 12:43:35 1.3
@@ -254,7 +254,11 @@
/* tkBind.c */
int TkCopyAndGlobalEval(Tcl_Interp *, char *);
/* tkSend.c */
-char *Tk_SetAppName(Tk_Window, char *);
+#if TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4
+ CONST char *Tk_SetAppName(Tk_Window, CONST char *);
+#else
+ char *Tk_SetAppName(Tk_Window, char *);
+#endif
int Tk_SendCmd(ClientData, Tcl_Interp *, int, char **);
int TkGetInterpNames(Tcl_Interp *, Tk_Window);
/* tkSend_old.c */
--
Glynn Clements <glynn.clements@virgin.net>
|
|