<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<style type="text/css">.style1 {font-family: "Times New Roman";}</style></head><body lang="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Thanks Jorge,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">It ended up being an unrelated POSIX permissions issue on the local file system, so it seems things were not executing correctly when
 making the source.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Sandra<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> gdal-dev [mailto:gdal-dev-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Jorge Gustavo Rocha<br>
<b>Sent:</b> Monday, 11 May 2020 6:36 PM<br>
<b>To:</b> gdal-dev@lists.osgeo.org<br>
<b>Subject:</b> Re: [gdal-dev] how to install gdal from source?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Sandra,<br>
<br>
Are you switch to gdal/gdal? You shouldn't have to add a includedir for<br>
gdal. gdal_version.h is included in the code, at gcore/gdal_version.h<br>
<br>
Here my recipe to compile gdal (on Ubuntu):<br>
<br>
git clone <a href="https://github.com/OSGeo/gdal">
https://github.com/OSGeo/gdal</a><br>
cd gdal/gdal<br>
./autogen.sh<br>
./configure --with-python=python3 --with-proj=/usr/local --with-pg=yes<br>
--with-poppler<br>
make -j8<br>
sudo make install<br>
sudo ldconfig<br>
cd swig/python<br>
python3 setup.py build<br>
sudo python3 setup.py install<br>
<br>
I hope it helps. Regards,<br>
<br>
Jorge Gustavo<br>
<br>
On 11/05/20 06:37, Sandra Maksimovic wrote:<br>
> Hi all,<br>
> <br>
>  <br>
> <br>
> I’m trying to install GDAL v3.1.0 with Proj v6.2.1 on CentOS 7.7. I am<br>
> continually receiving the following error during the make step:<br>
> <br>
>  <br>
> <br>
> ../gdal.h:44:26: fatal error: gdal_version.h: No such file or directory<br>
> <br>
> #include "gdal_version.h"<br>
> <br>
>  <br>
> <br>
> I have tried including the headers from the OS installed version of GDAL<br>
> (v1.11.4) to no avail. Here is my configure line:<br>
> <br>
>  <br>
> <br>
> ./configure --prefix=$PREFIX --with-proj=$PROJDIR<br>
> --includedir=/usr/include/gdal --with-threads --with-libtiff=internal<br>
> --with-geotiff=internal --with-jpeg=internal --with-gif=internal<br>
> --with-png=internal --with-libz=internal<br>
> <br>
>  <br>
> <br>
> Any ideas?<br>
> <br>
>  <br>
> <br>
> Thanks,<br>
> <br>
>  <br>
> <br>
> *Sandra Maksimovic*<br>
> <br>
> Systems Administrator<br>
> <br>
> Information Technology<br>
> <br>
>  <br>
> <br>
> *Murdoch Children’s Research Institute*<br>
> <br>
> The Royal Children’s Hospital, 50 Flemington Road<br>
> <br>
> Parkville, Victoria 3052 Australia<br>
> <br>
>  <br>
> <br>
> *T    *+61 3 8341 6498<br>
> <br>
> *E    <a href="mailto:*sandra.maksimovic@mcri.edu.au">*sandra.maksimovic@mcri.edu.au</a> <<a href="mailto:sandra.maksimovic@mcri.edu.au">mailto:sandra.maksimovic@mcri.edu.au</a>><br>
> <br>
> *W   *mcri.edu.au <<a href="https://www.mcri.edu.au">https://www.mcri.edu.au/</a>><br>
> <br>
>  <br>
> <br>
> <br>
> <br>
> This e-mail and any attachments to it (the "Communication") are, unless<br>
> otherwise stated, confidential, may contain copyright material and is<br>
> for the use only of the intended recipient. If you receive the<br>
> Communication in error, please notify the sender immediately by return<br>
> e-mail, delete the Communication and the return e-mail, and do not read,<br>
> copy, retransmit or otherwise deal with it. Any views expressed in the<br>
> Communication are those of the individual sender only, unless expressly<br>
> stated to be those of Murdoch Children’s Research Institute (MCRI) ABN<br>
> 21 006 566 972 or any of its related entities. MCRI does not accept<br>
> liability in connection with the integrity of or errors in the<br>
> Communication, computer virus, data corruption, interference or delay<br>
> arising from or in respect of the Communication.<br>
> <br>
> <br>
> _______________________________________________<br>
> gdal-dev mailing list<br>
> <a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">
https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
> <br>
<br>
-- <br>
OSGeo Portugal<br>
NIF: 509588190<br>
email: <a href="mailto:geral@osgeopt.pt">geral@osgeopt.pt</a><br>
<a href="https://www.osgeopt.pt">https://www.osgeopt.pt/</a><br>
<br>
Próximo evento: SASIG 2017, 20 a 22 de novembro, Porto<br>
Mais informações: <a href="http://osgeopt.pt/sasig2017">
http://osgeopt.pt/sasig2017/</a><br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><o:p></o:p></p>
</div>


<br><br><p style="font-family: Verdana; font-size:7pt; color:#666666;">This e-mail and any attachments to it (the "Communication") are, unless otherwise stated, confidential, may contain copyright material and is for the use only of the intended recipient. If you receive the Communication in error, please notify the sender immediately by return e-mail, delete the Communication and the return e-mail, and do not read, copy, retransmit or otherwise deal with it. Any views expressed in the Communication are those of the individual sender only, unless expressly stated to be those of Murdoch Children’s Research Institute (MCRI) ABN 21 006 566 972 or any of its related entities. MCRI does not accept liability in connection with the integrity of or errors in the Communication, computer virus, data corruption, interference or delay arising from or in respect of the Communication.</p></body></html>