* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘gdalcubes’ ...
** this is package ‘gdalcubes’ version ‘0.7.2’
** package ‘gdalcubes’ successfully unpacked and MD5 sums checked
** using staged installation
'config' variable 'CXX11' is defunct
'config' variable 'CXX11STD' is defunct
configure: CC: gcc-15
configure: CXX:  
checking for gdal-config... /usr/bin/gdal-config
checking gdal-config usability... yes
configure: GDAL: 3.12.1
checking GDAL version >= 2.0.1... yes
checking GDAL version != 3.6.0... yes
checking whether the C++ compiler works... no
configure: error: in `/tmp/RtmpS5MpWd/R.INSTALLdaa8a38fc5ae0/gdalcubes':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
ERROR: configuration failed for package ‘gdalcubes’
* removing ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/gdalcubes’