<div dir="ltr">See the attached config.log file<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El sáb., 27 jun. 2020 a las 21:29, Veronica Andreo (<<a href="mailto:veroandreo@gmail.com">veroandreo@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"><div>Hello everyone</div><div><br></div><div>I have just updated my system to fedora 32 (which fetched GDAL 3 and PROJ 6) and when updating my R packages, I get the following error for rgdal. Can someone help me out here? What does it mean that it cannot run C++ compiled programs? And do I want to crosscompile?<br></div><div><br></div><div>Thanks much in advance</div><div><br></div><div>Vero</div><div><br></div><div>---</div><div><br></div><div>install.packages("rgdal")</div>Installing package into ‘/home/veroandreo/R/x86_64-redhat-linux-gnu-library/3.6’<br>(as ‘lib’ is unspecified)<br>trying URL '<a href="http://cran.rstudio.com/src/contrib/rgdal_1.5-12.tar.gz" target="_blank">http://cran.rstudio.com/src/contrib/rgdal_1.5-12.tar.gz</a>'<br>Content type 'application/x-gzip' length 2302403 bytes (2.2 MB)<br>==================================================<br>downloaded 2.2 MB<br><br>* installing *source* package ‘rgdal’ ...<br>** package ‘rgdal’ successfully unpacked and MD5 sums checked<br>** using staged installation<br>configure: R_HOME: /usr/lib64/R<br>configure: CC: gcc -m64<br>configure: CXX: g++ -m64 -std=gnu++11<br>configure: CXX11 is: g++ -m64, CXX11STD is: -std=gnu++11<br>configure: CXX is: g++ -m64 -std=gnu++11<br>configure: C++11 support available<br>configure: rgdal: 1.5-12<br>checking for /usr/bin/svnversion... yes<br>configure: svn revision: 1018<br>checking for gdal-config... /usr/bin/gdal-config<br>checking gdal-config usability... yes<br>configure: GDAL: 3.0.4<br>checking GDAL version >= 1.11.4... yes<br>checking GDAL version <= 2.5 or >= 3.0... yes<br>checking GDAL: linking with --libs only... yes<br>checking GDAL: gdal-config data directory readable... yes<br>checking GDAL: /usr/share/gdal/stateplane.csv readable... yes<br>configure: pkg-config proj exists, will use it<br>configure: PROJ version: 6.3.2<br>configure: PROJ CPP flags: -DPROJ_H_API <br>configure: PROJ LIBS: -lproj <br>checking PROJ header API:... yes<br>checking whether the C++ compiler works... yes<br>checking for C++ compiler default output file name... a.out<br>checking for suffix of executables... <br>checking whether we are cross compiling... configure: error: in `/home/veroandreo/tmp/Rtmpo7AtPr/R.INSTALL12cc66f8f895/rgdal':<br>configure: error: cannot run C++ compiled programs. <span style="color:rgb(255,0,0)"><<<<--- here</span><br>If you meant to cross compile, use `--host'.<br>See `config.log' for more details<br>ERROR: configuration failed for package ‘rgdal’<br>* removing ‘/home/veroandreo/R/x86_64-redhat-linux-gnu-library/3.6/rgdal’<br>* restoring previous ‘/home/veroandreo/R/x86_64-redhat-linux-gnu-library/3.6/rgdal’<br>Warning in install.packages :<br><div> installation of package ‘rgdal’ had non-zero exit status</div><div><br></div><div>---</div><div><br></div><div>sessionInfo()<br>R version 3.6.3 (2020-02-29)<br>Platform: x86_64-redhat-linux-gnu (64-bit)<br>Running under: Fedora 32 (Thirty Two)<br><br>Matrix products: default<br>BLAS/LAPACK: /usr/lib64/<a href="http://libopenblas-r0.3.9.so" target="_blank">libopenblas-r0.3.9.so</a><br><br>Random number generation:<br> RNG: Mersenne-Twister <br> Normal: Inversion <br> Sample: Rounding <br> <br>locale:<br> [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C <br> [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 <br> [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 <br> [7] LC_PAPER=en_US.UTF-8 LC_NAME=C <br> [9] LC_ADDRESS=C LC_TELEPHONE=C <br>[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C <br><br>attached base packages:<br>[1] stats graphics grDevices utils datasets methods base <br><br>loaded via a namespace (and not attached):<br>[1] compiler_3.6.3 tools_3.6.3 <br></div></div>
</blockquote></div>