Compiling on MacOSX/id: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
(New page: Untuk membangun GRASS dari sourc code, Anda dapat menggunakan framework yang tersedia di : http://www.kyngchaos.com/software/unixport/frameworks terima kasih untuk W.Kyngesbury setelah me...)
 
(jpeg not needed)
 
(One intermediate revision by one other user not shown)
Line 25: Line 25:


--with-proj-share=/Library/Frameworks/PROJ.framework/Versions/4.5/unix/share/  
--with-proj-share=/Library/Frameworks/PROJ.framework/Versions/4.5/unix/share/  
--with-jpeg --with-jpeg-includes=/Library/Frameworks/UnixImageIO.framework/unix/include
--with-jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib


--with-tiff --with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/include  
--with-tiff --with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/include  
Line 61: Line 57:


--with-motif --with-motif-includes=/sw/include --with-motif-libs=/sw/lib --with-glw
--with-motif --with-motif-includes=/sw/include --with-motif-libs=/sw/lib --with-glw
[[Category:Languages/id]]

Latest revision as of 20:27, 11 March 2012

Untuk membangun GRASS dari sourc code, Anda dapat menggunakan framework yang tersedia di : http://www.kyngchaos.com/software/unixport/frameworks terima kasih untuk W.Kyngesbury

setelah melakukan instalasi semua "frameworks" Anda dapat menambahkan beberapa pustaka seperti "motif" yang diperlukan untuk menggunakan by Xganim, dengan memanfaatkan fink atau membangunnya dari source code

instal dari sumbernya pustaka tcl-tk : http://www.tcl.tk/software/tcltk/downloadnow84.tml di /usr/local

unduhlah sebuah versi cvs dari GRASS di http://grass.itc.it/download/index.php

kemudian lakukan konfigurasi dan make grass cvs :

cd /path_ke_grass_source

./configure --prefix=/usr/local --enable-sysv --with-x --with-opengl=x11 --without-odbc --with-cxx --with-freetype

--with-freetype-includes=/Library/Frameworks/FreeType.framework/unix/include

--with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib

--with-gdal=/Library/Frameworks/GDAL.framework/Versions/1.5/Programs/gdal-config

--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/Versions/4.5/unix/share/

--with-tiff --with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/include

--with-tiff-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-sqlite --with-sqlite-libs=/Library/Frameworks/SQLite3.framework/unix/lib

--with-sqlite-includes=/Library/Frameworks/SQLite3.framework/unix/include

--with-fftw --with-fftw-includes=/Library/Frameworks/FFTW3.framework/unix/include

--with-fftw-libs=/Library/Frameworks/FFTW3.framework/unix/lib

--with-postgres-includes=/usr/local/pgsql/include --with-postgres-libs=/usr/local/pgsql/lib

--with-freetype --with-freetype-includes=/Library/Frameworks/FreeType.framework/unix/include

--with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib --with-python --with-readline

--with-readline-includes=/sw/include/readline --with-readline-libs=/sw/lib --with-tcltk-includes=/usr/local/include

--with-tcltk-libs=/usr/local/lib

--with-blas --with-blas-libs=/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/

--with-lapack --with-lapack-libs=/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/

--with-motif --with-motif-includes=/sw/include --with-motif-libs=/sw/lib --with-glw