<div dir="ltr"><div>I had the same issue last week in an Ubuntu 18 box, both installing binaries and trying to compile grass. We had to remove everything, esp the official repo of qgis, install grass first from ubuntugis-unstable and then get an older qgis version. Some dependencies hell and conflicting versions, I guess... <br></div><div><br></div><div>Did you try installing from binaries? There's already grass7.8.1 for f31:  <a href="https://koji.fedoraproject.org/koji/buildinfo?buildID=1410936">https://koji.fedoraproject.org/koji/buildinfo?buildID=1410936</a></div><div><br></div><div>Vero<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun., 11 nov. 2019 a las 9:13, Pietro (<<a href="mailto:peter.zamb@gmail.com">peter.zamb@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear devs,<br><br>I have an issue when<i> I</i> try to configure ad compile grass.<br>At the moment I'm on Fedora 31. So I installed the default gdal (2.3.2) with:<br><br><span style="font-family:monospace">`sudo dnf install gdal gdal-devel gdal-libs`</span><br><br>I executed locally gdalinfo on a tif and it provide the information of the raster and then I checked the installation paths with:<br><div><br></div><div><span style="font-family:monospace">```<br></span></div><span style="font-family:monospace">$ /usr/bin/gdal-config --version<br>2.3.2<br>$ /usr/bin/gdal-config --libs<br>-L/usr/lib64 -lgdal<br>$ /usr/bin/gdal-config --cflags<br>-I/usr/include/gdal<br>$ /usr/bin/gdal-config --datadir<br></span><div><span style="font-family:monospace">/usr/share/gdal</span></div><div><span style="font-family:monospace">```</span><br></div><br><div>So it seems to work, then my configure command is:</div><div><br></div><div><span style="font-family:monospace">```<br></span></div><div><span style="font-family:monospace">$ CFLAGS="-g -O1 -Wall -Wextra -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wstrict-overflow=5 -Wwrite-strings  -Wshadow -Werror-implicit-function-declaration -Waggregate-return -Wcast-qual -Wswitch-default -Wswitch-enum -Wconversion -Wunreachable-code -Winit-self -Wuninitialized -fno-common -fexceptions -fstack-protector -fmudflap -m64 -mtune=native" \<br>CXXFLAGS="-g -O1 -Wall" \<br>./configure \<br>    --prefix=$HOME/.local \<br>    --with-zstd \<br>    --with-blas --with-blas-includes=/usr/include/atlas-x86_64-base/ \<br>    --with-lapack --with-lapack-includes=/usr/include/atlas-x86_64-base/ \<br>    --with-cxx \<br>    --with-cairo \<br>    --with-freetype \<br>    --with-freetype-includes=/usr/include/freetype2 \<br>    --with-geos \<br>    --with-gdal=/usr/bin/gdal-config \<br>    --with-gdal-includes=/usr/include/gdal \<br>    --with-gdal-libs=/usr/lib64 \<br>    --with-gdal-share=/usr/share/gdal \<br>    --with-nls \<br>    --with-netcdf \<br>    --with-odbc \<br>    --with-openmp \<br>    --with-postgres \<br>    --with-python=/usr/bin/python3-config \<br>    --with-readline \<br>    --with-proj \<br>    --with-pthread \<br>    --with-sqlite \<br>    --with-wxwidgets=/usr/bin/wx-config</span></div><div><span style="font-family:monospace">```</span></div><div><br></div><div>But I get the following error:</div><div><span style="font-family:monospace">```</span></div><div><span style="font-family:monospace">checking host system type... x86_64-pc-linux-gnu<br>checking for gcc... gcc</span></div><div><span style="font-family:monospace">[...]</span></div><div><span style="font-family:monospace">checking whether to use GDAL... yes<br>checking for gdal-config... /usr/bin/gdal-config<br>configure: error: *** Unable to locate GDAL library.</span></div><div><span style="font-family:monospace">```</span><br></div><div><br></div><div>Do you understand why I still receive this error even if I specify all the paths of the gdal iclude/libs/share directories?</div><div>Any ideas on how to solve/fix this issue?</div><div><br></div><div>Thank you for your support.</div><div><br></div><div>Pietro<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>
_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-dev</a></blockquote></div>