[GRASS-dev] grass7 on mac OSX

William Kyngesburye woklist at kyngchaos.com
Thu May 27 09:43:57 EDT 2010


On May 27, 2010, at 3:56 AM, Massimo Di Stefano <massimodisasha at gmail.com 
 > wrote:

> Hell Soeren,
>
> seems i've an up-to-date revision :
>
> MacBook-Pro-15-di-Massimo-Di-Stefano:grass_trunk sasha$ svn up
> At revision 42358.
>
> i also did make distclean first to re-try configure && make.
>
>
> but your note about a "renamed" function, point me to a problem i  
> had on qgis side too (make install overwrite the .app but ... it  
> don't do it as aspected)
>
> infact, removing manually the old grass70.app (compiled from source)  
> trashing the complete app from /Application , instead of overwrite  
> it using "sudo make install"
>
> now i have :
>
> In [1]: import os, sys
>
> In [2]: from grass.lib import raster
> ------------------------------------------------------------
> Traceback (most recent call last):
>  File "<ipython console>", line 1, in <module>
> ImportError: No module named lib
>
I wonder if ipython is affecting this?  Just a random idea. (I can't  
try anything right now- dev Mac died)

>
> the error is present but changes ... this time maybe can be a wrong  
> sintax i used ???
> weird .. i'm a bit confused ;-)
>
>
>
> i'm tring to replicate, from command line, the code :
>
> ###
>
> import os, sys
> from grass.lib import grass, raster
> from ctypes import *
>
> input = sys.argv[1]
>
> grass.G_gisinit(sys.argv[0])
>
> mapset = grass.G_find_raster2(input, "")
> print mapset
>
>
> Massimo
>
> Il giorno 27/mag/2010, alle ore 10.37, Soeren Gebbert ha scritto:
>
>> Hello Massimo,
>> can you please make a svn update?The gmath function
>> G_math_backward_solving has been renamed into
>> G_math_backward_substitution a while ago. Maybe something got mixed
>> up?
>>
>> Best
>> Soeren
>>


More information about the grass-dev mailing list