Skip to content

Commit 36cfbef

Browse files
author
timlinux
committedMar 7, 2008

File tree

1 file changed

+31
-16
lines changed

1 file changed

+31
-16
lines changed
 

‎INSTALL

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -766,37 +766,52 @@ I suggest you press 'p' to accept the key permanently.
766766
========================
767767

768768
CMake supports out of source build so we will create a 'build' dir for the
769-
build process . By convention I build my software into a dir called 'apps'
770-
in my home directory. If you have the correct permissions you may want to
771-
build straight into your /Applications folder (although personally I dont
772-
really recommend this). The instructions below assume you are building into
773-
a pre-existing ${HOME}/apps directory ...
769+
build process . By convention I build my software into a dir called 'apps' in
770+
my home directory. If you have the correct permissions you may want to build
771+
straight into your /Applications folder. The instructions below assume you are
772+
building into a pre-existing ${HOME}/apps directory ...
774773

775774

776-
cd qgis
777-
mkdir build
778-
cd build
775+
cd qgis
776+
mkdir build
777+
cd build
779778
cmake -D CMAKE_INSTALL_PREFIX=$HOME/apps/ -D CMAKE_BUILD_TYPE=Release ..
780779

781780

782-
Leopard note: To find the custom install of SIP on Leopard, add -D SIP_BINARY_PATH=/usr/local/bin/sip to the cmake command above, before the .. at the end, ie:
781+
Leopard note: To find the custom install of SIP on Leopard, add ""-
782+
D SIP_BINARY_PATH=/usr/local/bin/sip"" to the cmake command above,
783+
before the .. at the end, ie:
783784

784785

785-
cmake -D CMAKE_INSTALL_PREFIX=$HOME/apps/ -D CMAKE_BUILD_TYPE=Release -D SIP_BINARY_PATH=/usr/local/bin/sip ..
786+
cmake -D CMAKE_INSTALL_PREFIX=$HOME/apps/ -D CMAKE_BUILD_TYPE=Release -
787+
D SIP_BINARY_PATH=/usr/local/bin/sip ..
786788

787789

788-
To use a specific GRASS version, You can optionally use the following
789-
cmake invocation (with modifications to suite your system (thanks William
790-
Kyngesburye for this hint):
790+
To use the application build of GRASS on OSX, you can optionally use the
791+
following cmake invocation (minimum GRASS 6.3 required, substitute the GRASS
792+
version as required):
791793

792794

793795
cmake -D CMAKE_INSTALL_PREFIX=${HOME}/apps/ \
794-
-D GRASS_INCLUDE_DIR=/Applications/GRASS-6.3.app/Contents/Resources/include \
795-
-D GRASS_PREFIX=/Applications/GRASS-6.3.app/Contents/Resources \
796+
-D GRASS_INCLUDE_DIR=/Applications/GRASS-6.3.app/Contents/MacOS/
797+
include \
798+
-D GRASS_PREFIX=/Applications/GRASS-6.3.app/Contents/MacOS \
796799
-D CMAKE_BUILD_TYPE=Release \
797800
..
798801

799802

803+
Or, to use a Unix-style build of GRASS, use the following cmake invocation
804+
(minimum GRASS version as stated in the Qgis requirements, substitute the GRASS
805+
path and version as required):
806+
807+
808+
cmake -D CMAKE_INSTALL_PREFIX=${HOME}/apps/ \
809+
-D GRASS_INCLUDE_DIR=/user/local/grass-6.3.0/include \
810+
-D GRASS_PREFIX=/user/local/grass-6.3.0 \
811+
-D CMAKE_BUILD_TYPE=Release \
812+
..
813+
814+
800815

801816
4.8. Building
802817
=============
@@ -821,7 +836,7 @@ If all built without errors you can then install it:
821836
5.1. Building QGIS with Qt4.x
822837
=============================
823838

824-
Requires: Ubuntu Edgy / Debian derived distro
839+
Requires: Ubuntu Gutsy / Debian derived distro
825840

826841
These notes are current for Ubuntu 7.10 - other versions and Debian derived
827842
distros may require slight variations in package names.

0 commit comments

Comments
 (0)
Please sign in to comment.