<div dir="ltr">Dear all,<div><br></div><div>I have a problem compiling gdal-1.10.1 on a Linux system for which I'm not administrator.</div><div>In the configure I use the --prefix and --bindir options. Everything goes smoothly and it confirms that "Libraries have been installed in:" the folder that I selected (for which i have writing permission). After that, though, something goes wrong:</div>

<div><br></div><div><div>make[1]: Leaving directory `/space/modelling/opt/GIS/gdal/gdal-1.10.1/apps'</div><div>(cd swig; make install)</div><div>make[1]: Entering directory `/space/modelling/opt/GIS/gdal/gdal-1.10.1/swig'</div>

<div>for dir in python ; do (cd $dir; make install) || exit; done</div><div>make[2]: Entering directory `/space/modelling/opt/GIS/gdal/gdal-1.10.1/swig/python'</div><div>python setup.py install </div><div>running install</div>

<div>error: can't create or remove files in install directory</div><div><br></div><div>The following error occurred while trying to add or remove files in the</div><div>installation directory:</div><div><br></div><div>

    [Errno 13] Permission denied: '/usr/lib64/python2.6/site-packages/test-easy-install-29422.write-test'</div><div><br></div><div>The installation directory you specified (via --install-dir, --prefix, or</div><div>

the distutils default setting) was:</div><div><br></div><div>    /usr/lib64/python2.6/site-packages/</div><div><br></div><div>Perhaps your account does not have write access to this directory?  If the</div><div>installation directory is a system-owned directory, you may need to sign in</div>

<div>as the administrator or "root" account.  If you do not have administrative</div><div>access to this machine, you may wish to choose a different installation</div><div>directory, preferably one that is listed in your PYTHONPATH environment</div>

<div>variable.</div><div><br></div><div>For information on other options, you may wish to consult the</div><div>documentation at:</div><div><br></div><div>  <a href="http://peak.telecommunity.com/EasyInstall.html">http://peak.telecommunity.com/EasyInstall.html</a></div>

<div><br></div><div>Please make the appropriate changes for your system and try again.</div><div><br></div><div>make[2]: *** [install] Error 1</div><div>make[2]: Leaving directory `/space/modelling/opt/GIS/gdal/gdal-1.10.1/swig/python'</div>

<div>make[1]: *** [install] Error 2</div><div>make[1]: Leaving directory `/space/modelling/opt/GIS/gdal/gdal-1.10.1/swig'</div><div>make: *** [install-actions] Error 2</div><div><br></div><div style>How comes? What am I missing?</div>

<div style><br></div><div style>Thank you in advance</div><div><br></div>-- <br><div dir="ltr"><div><font color="#666666">Best regards,</font></div><div><font color="#666666"><br></font></div><div><font color="#666666">Dr. Margherita DI LEO    </font></div>

<div><span style="color:rgb(102,102,102);font-family:arial;font-size:small">Scientific / technical project officer</span><br></div><div><font color="#666666"><br></font></div><div><font color="#666666">European Commission - DG JRC </font></div>

<div><font color="#666666">Institute for Environment and Sustainability (IES)</font></div><div><font color="#666666">Via Fermi, 2749</font></div><div><font color="#666666">I-21027 Ispra (VA) - Italy - TP 261</font></div>
<div>
<font color="#666666">       </font></div><div><font color="#666666">Tel. +39 0332 78 3600   </font></div><div><font color="#666666"><a href="mailto:margherita.di-leo@jrc.ec.europa.eu" target="_blank">margherita.di-leo@jrc.ec.europa.eu</a></font></div>

<div><font color="#666666"><br></font></div><div><font color="#666666">Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.</font></div>

</div>
</div></div>