[GRASS-user] Re: Operation of v.split

"António M. Rodrigues" amrodrigues at fcsh.unl.pt
Wed Apr 21 06:07:20 EDT 2010


Hi.

I have recently compiled GRASS7 (MAC OSX), using:

##########
./configure --with-freetype --with-freetype-includes="/Library/ 
Frameworks/FreeType.framework/unix/include/freetype2 /Library/ 
Frameworks/FreeType.framework/unix/include" --with-freetype-libs=/ 
Library/Frameworks/FreeType.framework/unix/lib --with-gdal=/Library/ 
Frameworks/GDAL.framework/Programs/gdal-config --with-geos=/Library/ 
Frameworks/GEOS.framework/Programs/geos-config --with-proj --with-proj- 
includes=/Library/Frameworks/PROJ.framework/unix/include --with-proj- 
libs=/Library/Frameworks/PROJ.framework/unix/lib --with-proj-share=/ 
Library/Frameworks/PROJ.framework/Resources/proj --with-jpeg-includes=/ 
Library/Frameworks/UnixImageIO.framework/unix/include --with-jpeg- 
libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-png- 
includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with- 
png-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with- 
tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/include -- 
with-tiff-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib -- 
without-postgres --without-mysql --with-odbc --with-sqlite --with- 
sqlite-libs=/Library/Frameworks/SQLite3.framework/unix/lib --with- 
sqlite-includes=/Library/Frameworks/SQLite3.framework/unix/include -- 
with-fftw-includes=/Library/Frameworks/FFTW3.framework/unix/include -- 
with-fftw-libs=/Library/Frameworks/FFTW3.framework/unix/lib --with-cxx  
--with-tcltk-includes="/Library/Frameworks/Tcl.framework/Headers / 
Library/Frameworks/Tk.framework/Headers /Library/Frameworks/ 
Tk.framework/PrivateHeaders" --with-tcltk-libs=/usr/local/lib --with-x  
--without-motif --without-glw --with-opengl=aqua --without-readline -- 
without-cairo --prefix=/Applications --enable-macosx-app

make

make install

##########

All this went fine (after some initial problems). Now, when I startup  
the application I get the following error message:

##########
'/Applications/GRASS-7.0.app/Contents/MacOS/grass.sh'; exit
norte:~ antonio$ '/Applications/GRASS-7.0.app/Contents/MacOS/ 
grass.sh'; exit
Rebuilding Addon HTML manual pages index...
Rebuilding Addon menu...
Python 2.5.1 found.
/Applications/GRASS-7.0.app/Contents/MacOS/grass.sh: line 220: / 
Applications/GRASS-7.0.app/Contents/MacOS/etc/Init.sh: No such file or  
directory
/Applications/GRASS-7.0.app/Contents/MacOS/grass.sh: line 220: exec: / 
Applications/GRASS-7.0.app/Contents/MacOS/etc/Init.sh: cannot execute:  
No such file or directory
logout

[Process completed]
##########

I tried to google the problem, but didn't really find anything. So, I  
just tried to copy the init.sh from GRASS6.4 into the GRASS7 app to  
see what happened. After the first welcome menu, I get:

##########

Starting GRASS ...
Error in startup script: couldn't read file "/Applications/ 
GRASS-7.0.app/Contents/MacOS/etc/gis_set.tcl": no such file or directory
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now.
Hit RETURN to continue...

/Applications/GRASS-7.0.app/Contents/MacOS/etc/Init.sh: line 643: / 
Applications/GRASS-7.0.app/Contents/MacOS/etc/set_data: No such file  
or directory
logout

##########

I suspect the problem may have to do with the new GUI and the python  
version which comes pre-installed with MAC OS. I had problems in the  
past trying to run some QGIS plugins (ex: ManageR), a problems which I  
have not yet been able to solve (any help on this is moslty welcomed).

Other than trying to solve the problem with python, I guess the  
simplest thing would be to start GRASS with the older GUI (which I'm  
perfectly happy with, running GRASS6.4 with no problems at all). But  
how do I do this?

Thanks you,
António



More information about the grass-user mailing list