[QGIS Commit] r13662 - in trunk/qgis: . doc

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Jun 5 12:56:54 EDT 2010


Author: kyngchaos
Date: 2010-06-05 12:56:52 -0400 (Sat, 05 Jun 2010)
New Revision: 13662

Modified:
   trunk/qgis/INSTALL
   trunk/qgis/doc/INSTALL.t2t
Log:
OSX install updates

Modified: trunk/qgis/INSTALL
===================================================================
--- trunk/qgis/INSTALL	2010-06-05 16:28:10 UTC (rev 13661)
+++ trunk/qgis/INSTALL	2010-06-05 16:56:52 UTC (rev 13662)
@@ -463,7 +463,7 @@
 In this approach I will try to avoid as much as possible building dependencies
 from source and rather use frameworks wherever possible.
 
-The base system here is Mac OS X 10.4 (Tiger) and below. Included are a few notes
+The base system here is Mac OS X 10.4 (Tiger). Included are a few notes
 for building on Mac OS X 10.5 (Leopard) and 10.6 (Snow Leopard). 
 
 Snow Leopard note: A cmake/qt/sip bug currently exists where a 32-bit
@@ -533,7 +533,7 @@
 a GSL framework.
 
 
-  http://www.kyngchaos.com/wiki/software:frameworks
+  http://www.kyngchaos.com/wiki/software/frameworks
 
 
 Once downloaded, open and install the frameworks.
@@ -544,13 +544,13 @@
 It's available here:
 
 
-  http://www.kyngchaos.com/wiki/software:postgres 
+  http://www.kyngchaos.com/wiki/software/postgres 
 
 
 Also available is a GRASS application:
 
 
-  http://www.kyngchaos.com/wiki/software:grass
+  http://www.kyngchaos.com/wiki/software/grass
 
 
 
@@ -565,7 +565,10 @@
 default system architecture, which is 64-bit, according to instructions for
 individual dependency packages.
 
+Stable release versions are preferred.  Beta and other development versions may
+have problems and you are on your own with those.
 
+
     4.3.2. Additional Dependencies : Expat
     ======================================
 
@@ -586,13 +589,7 @@
   sudo make install 
 
 
-Leopard note: To compile for 64bit, substitute the standard configure line with:
 
-
-  ./configure CFLAGS="-Os -arch x86_64"
-
-
-
     4.3.3. Additional Dependencies : Python
     =======================================
 
@@ -634,8 +631,8 @@
 basic configure above:
 
 
-  python configure.py -d /Library/Python/2.5/site-packages -b /usr/local/bin \
-  -e /usr/local/include -v /usr/local/share/sip
+  python configure.py -n -d /Library/Python/2.5/site-packages -b /usr/local/bin \
+  -e /usr/local/include -v /usr/local/share/sip -s MacOSX10.5.sdk
 
 
 Snow Leopard notes
@@ -646,15 +643,15 @@
 'arch' command, 'python' does not). If you are using 32-bit Qt (Qt Carbon):
 
 
-  python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin \
-  -e /usr/local/include -v /usr/local/share/sip --arch=i386
+  python2.6 configure.py -n -d /Library/Python/2.6/site-packages -b /usr/local/bin \
+  -e /usr/local/include -v /usr/local/share/sip --arch=i386 -s MacOSX10.6.sdk
 
 
 For 64-bit Qt (Qt Cocoa), use this configure line:
 
 
-  python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin \
-  -e /usr/local/include -v /usr/local/share/sip --arch=x86_64
+  python2.6 configure.py -n -d /Library/Python/2.6/site-packages -b /usr/local/bin \
+  -e /usr/local/include -v /usr/local/share/sip --arch=x86_64 -s MacOSX10.6.sdk
 
 
 
@@ -671,7 +668,6 @@
 and (this installs by default into the Python framework, and is appropriate only for python.org Python installs):
 
 
-  export QTDIR=/Developer/Applications/Qt
   python configure.py 
   yes 
 
@@ -737,9 +733,20 @@
 Now, first edit qwtconfig.pri in the qwt-5.2 subdir and change some settings so
 you don't get a bloated debug static library (too bad they are not configurable from
 qmake).  Scroll down to the 'release/debug mode' block.  Edit the last 'CONFIG +='
-line, within an 'else' block, and change 'debug' to 'release'.  Also uncomment
-(remove # prefix) the line 'CONFIG += QwtDll'.
+line, within an 'else' block, and change 'debug' to 'release'.  Like so:
 
+
+      else {
+          CONFIG           += release     # release/debug
+      }
+
+
+Also uncomment (remove # prefix) the line 'CONFIG += QwtDll'.  Like so:
+
+
+  CONFIG           += QwtDll
+
+
 Save and close.
 
 Now, cd into the qwt-5.2 subdir in a Terminal.  Type these commands to build and install:
@@ -765,6 +772,12 @@
 
 Make sure to use the qwt install path from the Qwt build above.
 
+Finally, if you run into problems with the library not being properly linked after you build qgis, you may need to fix that as follows and then rebuild qgis (this is not needed when bundling all Qt/PyQt related components, which is recommended, and default in the Xcode build):
+
+
+  sudo install_name_tool -id /usr/local/qwt-5.2.1-svn/lib/libqwt.5.dylib /usr/local/qwt-5.2.1-svn/lib/libqwt.5.dylib
+
+
 Snow Leopard note
 
 If using Qt Carbon, you need to specify which architectures to build, otherwise
@@ -783,7 +796,7 @@
 
 Leopard and Snow Leopard note: Leopard and Snow Leopard include Bison 2.3, so this step can be skipped on Leopard and Snow Leopard.
 
-The version of bison available by default on Mac OS X 10.4 and older is too old so you need to
+The version of bison available by default on Mac OS X 10.4 is too old so you need to
 get a more recent one on your system. Download at least version 2.3 from:
 
 
@@ -803,6 +816,8 @@
   4.4. Install CMake for OSX
   ==========================
 
+(Only needed for a cmake build.)
+
 Get the latest source release from here:
 
 

Modified: trunk/qgis/doc/INSTALL.t2t
===================================================================
--- trunk/qgis/doc/INSTALL.t2t	2010-06-05 16:28:10 UTC (rev 13661)
+++ trunk/qgis/doc/INSTALL.t2t	2010-06-05 16:56:52 UTC (rev 13662)
@@ -362,7 +362,7 @@
 In this approach I will try to avoid as much as possible building dependencies
 from source and rather use frameworks wherever possible.
 
-The base system here is Mac OS X 10.4 (__Tiger__) and below. Included are a few notes
+The base system here is Mac OS X 10.4 (__Tiger__). Included are a few notes
 for building on Mac OS X 10.5 (__Leopard__) and 10.6 (__Snow Leopard__). 
 
 __Snow Leopard note:__ A cmake/qt/sip bug currently exists where a 32-bit
@@ -427,7 +427,7 @@
 a GSL framework.
 
 ``` 
-http://www.kyngchaos.com/wiki/software:frameworks
+http://www.kyngchaos.com/wiki/software/frameworks
 ```
 
 Once downloaded, open and install the frameworks.
@@ -438,13 +438,13 @@
 It's available here:
 
 ``` 
-http://www.kyngchaos.com/wiki/software:postgres 
+http://www.kyngchaos.com/wiki/software/postgres 
 ```
 
 Also available is a GRASS application:
 
 ```
-http://www.kyngchaos.com/wiki/software:grass
+http://www.kyngchaos.com/wiki/software/grass
 ```
 
 === Additional Dependencies : General compatibility note ===
@@ -457,6 +457,9 @@
 default system architecture, which is 64-bit, according to instructions for
 individual dependency packages.
 
+Stable release versions are preferred.  Beta and other development versions may
+have problems and you are on your own with those.
+
 === Additional Dependencies : Expat ===
 
 __Snow Leopard note:__ Snow Leopard includes a usable expat, so this step is 
@@ -476,13 +479,7 @@
 sudo make install 
 ```
 
-__Leopard note:__ To compile for 64bit, substitute the standard configure line with:
 
-```
-./configure CFLAGS="-Os -arch x86_64"
-```
-
-
 === Additional Dependencies : Python ===
 
 __Leopard and Snow Leopard note:__ Leopard and Snow Leopard include a usable
@@ -522,8 +519,8 @@
 basic configure above:
 
 ```
-python configure.py -d /Library/Python/2.5/site-packages -b /usr/local/bin \
--e /usr/local/include -v /usr/local/share/sip
+python configure.py -n -d /Library/Python/2.5/site-packages -b /usr/local/bin \
+-e /usr/local/include -v /usr/local/share/sip -s MacOSX10.5.sdk
 ```
 
 __Snow Leopard notes__
@@ -534,15 +531,15 @@
 'arch' command, 'python' does not). If you are using 32-bit Qt (Qt Carbon):
 
 ```
-python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin \
--e /usr/local/include -v /usr/local/share/sip --arch=i386
+python2.6 configure.py -n -d /Library/Python/2.6/site-packages -b /usr/local/bin \
+-e /usr/local/include -v /usr/local/share/sip --arch=i386 -s MacOSX10.6.sdk
 ```
 
 For 64-bit Qt (Qt Cocoa), use this configure line:
 
 ```
-python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin \
--e /usr/local/include -v /usr/local/share/sip --arch=x86_64
+python2.6 configure.py -n -d /Library/Python/2.6/site-packages -b /usr/local/bin \
+-e /usr/local/include -v /usr/local/share/sip --arch=x86_64 -s MacOSX10.6.sdk
 ```
 
 
@@ -558,7 +555,6 @@
 and (this installs by default into the Python framework, and is appropriate only for python.org Python installs):
 
 ``` 
-export QTDIR=/Developer/Applications/Qt
 python configure.py 
 yes 
 ```
@@ -623,9 +619,20 @@
 Now, first edit qwtconfig.pri in the qwt-5.2 subdir and change some settings so
 you don't get a bloated debug static library (too bad they are not configurable from
 qmake).  Scroll down to the 'release/debug mode' block.  Edit the last 'CONFIG +='
-line, within an 'else' block, and change 'debug' to 'release'.  Also uncomment
-(remove # prefix) the line 'CONFIG += QwtDll'.
+line, within an 'else' block, and change 'debug' to 'release'.  Like so:
 
+```
+    else {
+        CONFIG           += release     # release/debug
+    }
+```
+
+Also uncomment (remove # prefix) the line 'CONFIG += QwtDll'.  Like so:
+
+```
+CONFIG           += QwtDll
+```
+
 Save and close.
 
 Now, cd into the qwt-5.2 subdir in a Terminal.  Type these commands to build and install:
@@ -673,7 +680,7 @@
 
 __Leopard and Snow Leopard note:__ Leopard and Snow Leopard include Bison 2.3, so this step can be skipped on Leopard and Snow Leopard.
 
-The version of bison available by default on Mac OS X 10.4 and older is too old so you need to
+The version of bison available by default on Mac OS X 10.4 is too old so you need to
 get a more recent one on your system. Download at least version 2.3 from:
 
 ``` 
@@ -691,6 +698,8 @@
 
 == Install CMake for OSX ==
 
+(Only needed for a cmake build.)
+
 Get the latest source release from here:
 
 ``` 



More information about the QGIS-commit mailing list