You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't seem to be able to compile under Ubuntu (after installation of all relevant libs, including gdalcubes itself):
> library(devtools)
> install_git("https://github.com/appelmar/gdalcubes_R", args="--recursive")
Downloading git repo https://github.com/appelmar/gdalcubes_R
✔ checking for file ‘/tmp/Rtmpmis6TY/file5d6b6a1998a0/DESCRIPTION’ ...
─ preparing ‘gdalcubes’:
✔ checking DESCRIPTION meta-information ...
─ cleaning src
─ running ‘cleanup’
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
Removed empty directory ‘gdalcubes/src/gdalcubes’
─ building ‘gdalcubes_0.1.0.tar.gz’
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
* installing *source* package ‘gdalcubes’ ...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config exists... yes
checking pkg-config knows gdal... yes
configure: GDAL_CFLAGS=-I/usr/include/gdal
configure: GDAL_LIBS=-lgdal
checking pkg-config knows proj... yes
configure: PROJ_CFLAGS=
configure: PROJ_LIBS=-lproj
checking pkg-config knows netcdf... yes
configure: NC_CFLAGS=-I/usr/include/hdf5/serial
configure: NC_LIBS=-L/usr/lib/x86_64-linux-gnu/hdf5/serial -lnetcdf -lhdf5_hl -lhdf5 -lpthread -lsz -lz -ldl -lm -lcurl
checking pkg-config knows libcurl... yes
configure: CURL_CFLAGS=-I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu/curl
configure: CURL_LIBS=-lcurl
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking iostream.h usability... no
checking iostream.h presence... no
checking for iostream.h... no
configure: Package CPP flags: -I/usr/include/gdal -I/usr/include/hdf5/serial -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu/curl -DR_PACKAGE
configure: Package LIBS: -lgdal -L/usr/lib/x86_64-linux-gnu/hdf5/serial -lnetcdf -lhdf5_hl -lhdf5 -lpthread -lsz -lz -ldl -lm -lcurl -lproj -lcurl
configure: creating ./config.status
config.status: creating src/Makevars
** libs
make: *** No rule to make target 'gdalcubes/src/apply_pixel.o', needed by 'gdalcubes.so'. Stop.
ERROR: compilation failed for package ‘gdalcubes’
* removing ‘/usr/local/lib/R/site-library/gdalcubes’
Error in i.p(...) :
(converted from warning) installation of package ‘/tmp/RtmpAsf3KD/file76ee45403bcb/gdalcubes_0.1.0.tar.gz’ had non-zero exit status
I feel like I should probably point R to the relevant location of the library, but can't quite figure out why.
Hi,
I can't seem to be able to compile under Ubuntu (after installation of all relevant libs, including
gdalcubes
itself):I feel like I should probably point R to the relevant location of the library, but can't quite figure out why.
sessionInfo()
output:The text was updated successfully, but these errors were encountered: