[GRASS-dev] compile errors for GRASS 7 in Mac OS X
Michael Barton
michael.barton at asu.edu
Sun Dec 21 21:41:05 EST 2008
Thanks. I'll try it again and let you know.
Michael
On Dec 21, 2008, at 7:23 PM, Glynn Clements wrote:
>
> Michael Barton wrote:
>
>> I just tried compiling GRASS 7 with OS X. Most went fine. I got a few
>> errors
>>
>> Error in...
>> /Users/cmbarton/grass_dev/grass7_src/lib/proj
>>
>> Doesn't recognize the NAD2BIN environmental variable
>> Had to create symlink to /Library/Frameworks/PROJ.framework/Programs/
>> nad2bin in /usr/local
>> Then it compiled OK
>
> Fixed in r34985.
>
>> cmb-MBP-2:grass7_src cmbarton$ cd ./raster/r.statistics3
>> cmb-MBP-2:r.statistics3 cmbarton$ make
>> gcc -I/Users/cmbarton/grass_dev/grass7_src/dist.i386-apple-
>> darwin9.6.0/
>> include -arch i386 -Os -DPACKAGE=\""grassmods"\" -I/Users/
>> cmbarton/grass_dev/grass7_src/dist.i386-apple-darwin9.6.0/include -o
>> OBJ.i386-apple-darwin9.6.0/main.o -c main.c
>> main.c:43: error: �fmin� redeclared as different kind of symbol
>> main.c:43: error: �fmax� redeclared as different kind of symbol
>> make: *** [OBJ.i386-apple-darwin9.6.0/main.o] Error 1
>>
>> A bug that needs fixing I guess
>
> Fixed in r34984.
>
>> Error in...
>> /Users/cmbarton/grass_dev/grass7_src/macosx/app
>>
>> cd to ./macosx and ran make. No errors. Something in the make files
>> messed up?
>
> Maybe something is returning a non-zero exit code? If it performed its
> intended task, it probably won't get run if you run make again.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list