Works!!!  :-D

GRASS 7.0.svn (spearfish60):~ > g.gui
GRASS 7.0.svn (spearfish60):~ > ipython
Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) 
Type "copyright", "credits" or "license" for more information.

IPython 0.11.bzr.r1205 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]: from grass.lib import raster

In [2]: 


thanks too mutch Guys!!!


Il giorno 05/giu/2010, alle ore 20.21, William Kyngesburye ha scritto:

> On Jun 5, 2010, at 1:01 PM, Glynn Clements wrote:
> 
>> William Kyngesburye wrote:
>> 
>>> Next error, after that finishes:
>>> 
>>> sed \
>>>     -e '/^# End loader$/a\
>>>     from ctypes_preamble import *\
>>>     from ctypes_preamble import _variadic_function\
>>>     from ctypes_loader import *' \
>>>     -e '/^# Begin preamble$/,/^# End preamble$/d' \
>>>     -e '/^# Begin loader$/,/^# End loader$/d' \
>>>     date.py > 
>>> /Users/Shared/src/GRASS/svn/trunk/dist.i386-apple-darwin10.3.1/etc/python/grass/lib/date.py
>>> sed: 1: "/^# End loader$/afrom c ...": command a expects \ followed by text
>>> make[2]: *** 
>>> [/Users/Shared/src/GRASS/svn/trunk/dist.i386-apple-darwin10.3.1/etc/python/grass/lib/date.py]
>>>  Error 1
>>> 
>>> There is only 1 file after this in dist/etc/python/grass/lib: an empty 
>>> date.py.
>>> 
>>> I never had any luck on OSX with newlines in sed replacement strings
>>> in makefiles. It'll work in shell scripts but not makefiles.
>> 
>> Try r42489; this moves the sed script to a separate file.
>> 
> That works, dist/etc/python/grass/lib now fully populated, no make errors 
> (besides the ignored CPP unknown architecture errors).
> 
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
> 
> All generalizations are dangerous, even this one.
> 
> 
> _______________________________________________
> grass-dev mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/grass-dev

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to