QGIS/doc/install_guide/node17.html
gsherman f5c424a8d6 Merged changes in 0.5 release branch to MAIN
git-svn-id: http://svn.osgeo.org/qgis/trunk@2094 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-04 00:53:49 +00:00

80 lines
2.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 2002-2-1 (1.70)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Example Use of Configure</TITLE>
<META NAME="description" CONTENT="Example Use of Configure">
<META NAME="keywords" CONTENT="install">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="install.css">
<LINK REL="next" HREF="node18.html">
<LINK REL="previous" HREF="node16.html">
<LINK REL="up" HREF="node12.html">
<LINK REL="next" HREF="node18.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html266"
HREF="node18.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
<A NAME="tex2html262"
HREF="node12.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
<A NAME="tex2html256"
HREF="node16.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<A NAME="tex2html264"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html267"
HREF="node18.html">Compiling and Installing QGIS</A>
<B> Up:</B> <A NAME="tex2html263"
HREF="node12.html">Configuring QGIS the Right</A>
<B> Previous:</B> <A NAME="tex2html257"
HREF="node16.html">GRASS</A>
&nbsp; <B> <A NAME="tex2html265"
HREF="node1.html">Contents</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
<H3><A NAME="SECTION000102500000000000000">
Example Use of Configure</A>
</H3>
An example of use of configure for building QGIS with all options:
<PRE>
./configure --prefix=/usr/local/qgis \
--with-gdal=/usr/local/gdal/bin/gdal-config \
--with-pg=/usr/local/psql/bin/pg_config \
--with-grass=/usr/local/grass-5.7.0
</PRE>
This will configure QGIS to use GDAL, GRASS, and PostgreSQL. QGIS will be
installed in /usr/local/qgis.
<P>
If QTDIR is set and gdal-config and pg_config are both
in the PATH, there is no need to use the -with-gdal and -with-pg
options. The configure script will properly detect and configure
GDAL and PostgreSQL. You must still use the -with-grass option if building with GRASS support.
<BR><HR>
<ADDRESS>
Gary Sherman
2004-10-01
</ADDRESS>
</BODY>
</HTML>