[GRASS-user] Compiling weekly source; two make errors

Seth Price seth at pricepages.org
Wed Jun 24 21:22:42 EDT 2009


I read the readme (again) and found what you're referring to. I followed
the directions on installing the latest package and ran the commands, ran
'make clean', but I'm still getting the same error. Configure doesn't seem
to be picking up 8.5, and is picking up 8.4 instead. How do I convince it
otherwise? The commands I tried didn't work.
Thanks,
Seth

On Wed, June 24, 2009 7:57 pm, William Kyngesburye wrote:
> On Jun 24, 2009, at 7:42 PM, Seth Price wrote:
>
>> I'm having two errors while compiling. The first is "no rule to make
>> target", so perhaps something wrong with the build system? The
>> second is a
>> missing include file, which is odd because it's there. I'm not exactly
>> sure what to make of it. (see the last few commands in the included
>> log)
>> Am I doing anything wrong?
>> Thanks,
>> Seth
>>
>> $ ./configure --enable-shared --prefix=/Applications --enable-macosx-
>> app
>> --with-opengl=aqua --with-freetype-includes=/usr/local/include/
>> freetype2
>> && make && sudo make install
>>
>
>> gcc
>> -I/usr/local/grass/grass-7.0.svn_src_snapshot_2009_06_20/dist.i386-
>> apple-darwin9.7.0/include
>> -I/usr/local/grass/grass-7.0.svn_src_snapshot_2009_06_20/dist.i386-
>> apple-darwin9.7.0/include
>> -g -O2
>> -I/usr/local/grass/grass-7.0.svn_src_snapshot_2009_06_20/dist.i386-
>> apple-darwin9.7.0/include
>> -I/usr/local/grass/grass-7.0.svn_src_snapshot_2009_06_20/dist.i386-
>> apple-darwin9.7.0/include
>>  -I/usr/local/include  -D_FILE_OFFSET_BITS=64  -DPACKAGE=\"\"
>> -I/usr/local/grass/grass-7.0.svn_src_snapshot_2009_06_20/dist.i386-
>> apple-darwin9.7.0/include
>> -I/usr/local/grass/grass-7.0.svn_src_snapshot_2009_06_20/dist.i386-
>> apple-darwin9.7.0/include
>> -o OBJ.i386-apple-darwin9.7.0/togl.o -c togl.c
>> In file included from togl.c:53:
>> /usr/include/tkMacOSX.h:19:19: error: tkInt.h: No such file or
>> directory
>> In file included from /usr/include/tkMacOSX.h:32,
>>                 from togl.c:53:
>> /usr/include/tkPlatDecls.h:107: error: syntax error before ‘*’ token
>> /usr/include/tkPlatDecls.h:152: error: syntax error before ‘*’ token
>> togl.c:54:54: error: tkMacOSXInt.h: No such file or directory
>> togl.c:265: error: syntax error before ‘XVisualInfo’
>> togl.c:265: warning: no semicolon at end of struct or union
>> togl.c:271: error: syntax error before ‘}’ token
>> togl.c:310: error: invalid use of incomplete typedef ‘Togl’
>> togl.c:313: error: invalid use of incomplete typedef ‘Togl’
>> [...]
>
>
> The system tcltk was detected by default.  While it is v8.4, it is not
> suitable for GRASS (it's an Aqua-fied version, and v8.5 is needed for
> that).  You should download and install ActiveTcl 8.5 (I'm not sure if
> 8.6 will work).  See the macosx readme in the source for more gorey
> details on compiling for OSX.
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> Theory of the Universe
>
> There is a theory which states that if ever anyone discovers exactly
> what the universe is for and why it is here, it will instantly
> disappear and be replaced by something even more bizarrely
> inexplicable.  There is another theory which states that this has
> already happened.
>
> -Hitchhiker's Guide to the Galaxy 2nd season intro
>
>
>




More information about the grass-user mailing list