<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-NZ" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Greetings,</p>
<p class="MsoNormal">  I am attempting to compile gdal with python support.  However, I don't want to use the system installed python; I want to use a locally compiled version of python.  I am unable to find how to select the python version to use with the
 gdal install.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">It seems that --with-python doesn't have an option to set the python install directory; --with-hdf5 can set the install directory of hdf5.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Is there a way to set gdal to point to a different install directory for python?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">If not, how does gdal find the path to python?  Is it possible to set an environment variable (I am compiling on GNU/Linux)?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">-- </p>
<p class="MsoNormal">Michael Speth</p>
<p class="MsoNormal">Research Systems Developer</p>
<p class="MsoNormal">Landcare Research</p>
</div>
<br>
<hr>
<font face="Arial" color="Green" size="1"><br>
Please consider the environment before printing this email<br>
Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.<br>
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz<br>
</font>
</body>
</html>