[GRASS-dev] build fails on mac osx

Markus Neteler neteler at osgeo.org
Sat Jan 24 15:38:33 EST 2009


On Sat, Jan 17, 2009 at 1:20 PM, massimo di stefano
<massimodisasha at yahoo.it> wrote:
> Hi All
>
> tring to build on osx on a fresh svn checkout :
...
> Errors in:
> /opt/gis/grass6_devel/lib/form
> /opt/gis/grass6_devel/lib/vector/diglib
> /opt/gis/grass6_devel/vector/v.digit
> /opt/gis/grass6_devel/visualization/nviz
> /opt/gis/grass6_devel/visualization/nviz2/cmd
> --
> In case of errors please change into the directory with error and run
> 'make'.
> If you get multiple errors, you need to deal with them in the order they
> appear in the error log. If you get an error building a library, you will
> also get errors from anything which uses the library.
> --
> Finished compilation: Sab 17 Gen 2009 12:42:54 CET
> make: *** [default] Error 1
> macbook-pro-15-di-sasha:grass6_devel sasha$ cd /opt/gis/grass6_devel/lib/form
> macbook-pro-15-di-sasha:form sasha$ make
> gcc -I/opt/gis/grass6_devel/dist.i386-apple-darwin9.6.0/include  -arch ppc
> -arch i386    -fno-common   -DPACKAGE=\""grasslibs"\" -I/usr/X11/include
> -I/Library/Frameworks/Tcl.framework/Headers
> -I/Library/Frameworks/Tk.framework/Headers
> -I/Library/Frameworks/Tk.framework/PrivateHeaders
> -I/Library/Frameworks/Tcl.framework/Headers
> -I/Library/Frameworks/Tk.framework/Headers
> -I/Library/Frameworks/Tk.framework/PrivateHeaders
> -DPACKAGE=\""grasslibs"\"
>  -I/opt/gis/grass6_devel/dist.i386-apple-darwin9.6.0/include -o
> OBJ.i386-apple-darwin9.6.0/form.o -c form.c
> form.c: In function 'submit':
> form.c:195: error: 'struct Tcl_Interp' has no member named 'result'
> form.c: In function 'submit':
> form.c:195: error: 'struct Tcl_Interp' has no member named 'result'

New Tcl versions have removed the long term deprecated "result".
A patch is provided now in
 http://trac.osgeo.org/grass/ticket/462
can you please test it? Then we can fix it for 6.4.0RC3 and newer
versions of GRASS.

Markus


More information about the grass-dev mailing list