[GRASSLIST:5852] Re: Problem compiling Grass Mac OS X

Niwa Concept - Oriental Gardens contact at niwaconcept.com
Mon Mar 24 15:16:26 EST 2003


>
> More precisely, NVIZ needs the Unix/X11 version of Tcl/Tk, as well as
> the Unix/X11 version of OpenGL. The "native" MacOS X versions of these
> packages won't work with NVIZ.
>
> A compatible OpenGL library should be included with X. I don't know
> about binary packages, but you can obtain the Tcl/Tk source code from:
>
> 	http://tcl.sourceforge.net/
>

Yes but, I have successfully compiled TCL, but When I try to compile  
TK, I get these errors :

/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tk.h:72: #error Tk 8.4  
must be compiled with tcl.h from Tcl 8.4
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tk.h:337: syntax error,  
found `CONST84'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tk.h:337: illegal  
function definition, found `)'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:142: syntax  
error, found `CONST84'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:142: illegal  
function definition, found `)'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:237: illegal  
external declaration, missing `;' after `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:327: illegal  
external declaration, missing `;' after `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:330: illegal  
external declaration, missing `;' after `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:410: syntax  
error, found `CONST84'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:410: illegal  
function definition, found `)'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:479: illegal  
external declaration, missing `;' after `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:482: illegal  
external declaration, missing `;' after `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:484: illegal  
external declaration, missing `;' after `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:487: illegal  
external declaration, missing `;' after `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:489: illegal  
external declaration, missing `;' after `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:491: illegal  
external declaration, missing `;' after `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:494: illegal  
external declaration, missing `;' after `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:496: illegal  
external declaration, missing `;' after `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:499: illegal  
external declaration, missing `;' after `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:501: illegal  
external declaration, missing `;' after `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:504: illegal  
external declaration, missing `;' after `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:513: syntax  
error, found `CONST84'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:513: illegal  
function definition, found `)'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:960: syntax  
error, found `CONST84'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:986: undefined  
type, found `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:986: illegal  
member declaration, missing name, found `char'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1014:  
undefined type, found `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1014: illegal  
member declaration, missing name, found `char'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1015:  
undefined type, found `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1015: illegal  
member declaration, missing name, found `char'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1039: syntax  
error, found `CONST84'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1061:  
undefined type, found `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1061: illegal  
member declaration, missing name, found `char'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1062:  
undefined type, found `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1062: illegal  
member declaration, missing name, found `char'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1063:  
undefined type, found `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1063: illegal  
member declaration, missing name, found `char'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1064:  
undefined type, found `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1064: illegal  
member declaration, missing name, found `char'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1065:  
undefined type, found `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1065: illegal  
member declaration, missing name, found `char'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1066:  
undefined type, found `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1066: illegal  
member declaration, missing name, found `char'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1067:  
undefined type, found `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1067: illegal  
member declaration, missing name, found `char'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1068:  
undefined type, found `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1068: illegal  
member declaration, missing name, found `char'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1069:  
undefined type, found `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1069: illegal  
member declaration, missing name, found `char'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1070:  
undefined type, found `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1070: illegal  
member declaration, missing name, found `char'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1071:  
undefined type, found `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1071: illegal  
member declaration, missing name, found `char'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkDecls.h:1074: syntax  
error, found `CONST84'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/../unix/ 
tkUnixPort.h:224: header file 'tclInt.h' not found
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkIntDecls.h:144:  
illegal external declaration, missing `;' after `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkIntDecls.h:600:  
undefined type, found `CONST84_RETURN'
/Users/aymeric/Desktop/tk8.4.2/unix/../generic/tkIntDecls.h:600:  
illegal member declaration, missing name, found `char'
cpp-precomp: warning: errors during smart preprocessing, retrying in  
basic mode
<built-in>:1:1: no macro name given in #define directive
make: *** [tk3d.o] Error 1

> -- 
> Glynn Clements <glynn.clements at virgin.net>
>




More information about the grass-user mailing list