[GRASS-user] Mac OS X compilation and addons question (how to add on addons)

stephen sefick ssefick at gmail.com
Wed Jul 8 10:18:09 EDT 2009


Mac OS X 10.5.7

Downloaded and installed dependencies from:
http://www.kyngchaos.com/software:frameworks

cd into the source directory

run in the terminal as to the example in the macosx folder of the source:
./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-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
--prefix=/Applications --enable-macosx-app

>make

end of make output:
----------------------------------------------------------------------
Following modules are missing the 'description.html' file in src code:
----------------------------------------------------------------------
GRASS GIS compilation log
-------------------------
Started compilation: Wed Jul  8 09:03:28 CDT 2009
--
Errors in:
No errors detected.

>sudo make install

installs fine

Now I would like to add some addon packages specifically v.strahler.
I can not figure this one out.
I have

svn checkout https://.../ grass-addons

which checks out the source to a folder in

/User/sefick/grass-addons

I am not sure if I need to compile the sources and then recompile
grass or use some sort of method hinted at in this post:

http://n2.nabble.com/need-help-with-mac-os-x-installation-td1879293i20.html#a1879310

thanks for all of your help,

Stephen Sefick





-- 
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

								-K. Mullis


More information about the grass-user mailing list