2003-09-19 03:28:49 +00:00
|
|
|
/* INSTALL,v 1.15 2003/09/19 03:28:49 gsherman Exp */
|
2002-11-30 20:15:23 +00:00
|
|
|
QGis can be built with or without PostgreSQL/PostGIS support.
|
|
|
|
Requirements common to either build:
|
|
|
|
1. Qt 3.0.x built with thread support
|
2002-08-10 14:23:26 +00:00
|
|
|
(http://www.trolltech.com/developer/download/qt-x11.html)
|
2002-11-30 20:15:23 +00:00
|
|
|
2. GDAL/OGR library compiled and installed (with headers). QGIS assumes
|
2002-08-02 07:08:17 +00:00
|
|
|
that the headers and library will be in a standard (i.e. /usr/local)
|
2002-08-14 05:30:51 +00:00
|
|
|
location. A Linux binary is available at http://www.remotesensing.org/gdal.
|
2002-11-30 20:15:23 +00:00
|
|
|
|
|
|
|
Additional requirements for building with PostgreSQL/PostGIS support:
|
|
|
|
1. PostgreSQL built with the --with-CXX configure options (C++ wrapper)
|
|
|
|
(http://www.postgresql.org)
|
|
|
|
2. PostGIS support in PostgreSQL (http://postgis.refractions.net)
|
2002-07-27 23:33:29 +00:00
|
|
|
|
2003-09-19 03:28:49 +00:00
|
|
|
Running ./configure in the qgis directory will give a list of options.
|
|
|
|
|
2002-11-30 20:15:23 +00:00
|
|
|
To build QGIS without PostgreSQL/PostGIS support:
|
2003-08-26 05:24:04 +00:00
|
|
|
1. Make sure your QTDIR environment variable is set to your Qt directory
|
2003-09-19 03:28:49 +00:00
|
|
|
2. Change to the qgis directory
|
|
|
|
3. ./configure
|
|
|
|
4. make
|
2002-11-30 20:15:23 +00:00
|
|
|
|
|
|
|
To build QGIS with PostgreSQL/PostGIS support:
|
2003-08-26 05:24:04 +00:00
|
|
|
1. Make sure your QTDIR environment variable is set to your Qt directory
|
2003-09-19 03:28:49 +00:00
|
|
|
3. Change to the qgis directory
|
|
|
|
4. ./configure --with-pg=<full path to pg_config>
|
|
|
|
5. make
|
2002-07-27 23:33:29 +00:00
|
|
|
|
2002-08-14 05:30:51 +00:00
|
|
|
The QGIS executable (qgis) will be built in the ./qgis/src directory
|
2002-11-24 16:14:04 +00:00
|
|
|
|
|
|
|
For more detailed instructions, see http://qgis.sourceforge.net/qgis_howto.html
|