An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20100601/ef1dedfe/attachment.pl>
problems installing rgdal
7 messages · José Miguel Barrios, Greg Lee, Agustin Lobo +4 more
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20100601/8c8b1f83/attachment.pl>
I might be wrong, but it looks like a permissions problem?
Personally, I install all packages as su: I open a terminal,
type su, enter the password, start R, install.packages("rgdal"),
select repository,
go through the installation and q() without saving the workspace. Then
exit su and exit the terminal. Use the software as a normal user.
Agus
El d?a 1 de junio de 2010 05:19, Jos? Miguel Barrios
<jmbarriosg at gmail.com> escribi?:
Hello list,
I'm trying to install rgdal in kubuntu without success so far. ?I guess this
is the reason why the installation of other packages I am interested in
(spgrass6, spdep, ...) does not work either (?). Could it be a problem
between my R version and rgdal version?
I would appreciate any hint. ?Thanks,
Miguel
R version 2.10.1 (2009-12-14)
i486-pc-linux-gnu
locale:
?[1] LC_CTYPE=en_US.UTF-8 ? ? ? LC_NUMERIC=C
?[3] LC_TIME=en_US.UTF-8 ? ? ? ?LC_COLLATE=en_US.UTF-8
?[5] LC_MONETARY=C ? ? ? ? ? ? ?LC_MESSAGES=en_US.UTF-8
?[7] LC_PAPER=en_US.UTF-8 ? ? ? LC_NAME=C
?[9] LC_ADDRESS=C ? ? ? ? ? ? ? LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats ? ? graphics ?grDevices utils ? ? datasets ?methods ? base
* installing *source* package ?rgdal? ...
gdal-config: gdal-config
checking for gcc... gcc -std=gnu99
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for egrep... 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 proj_api.h usability... yes
checking proj_api.h presence... yes
checking for proj_api.h... yes
checking for pj_init_plus in -lproj... yes
Package CPP flags: -I/usr/include/gdal
Package LIBS: -L/usr/lib -lgdal1.6.0
configure: creating ./config.status
config.status: creating src/Makevars
** libs
g++ -I/usr/share/R/include -I/usr/include/gdal
-I"/usr/local/lib/R/site-library/sp/include" ? -fpic ?-g -O2 -c
OGR_write.cpp -o OGR_write.o
/bin/bash: g++: command not found
make: *** [OGR_write.o] Error 127
ERROR: compilation failed for package ?rgdal?
* removing ?/usr/local/lib/R/site-library/rgdal?
The downloaded packages are in
? ? ? ??/tmp/RtmpQ3P3w6/downloaded_packages?
Warning message:
In install.packages("rgdal") :
?installation of package 'rgdal' had non-zero exit status
? ? ? ?[[alternative HTML version deleted]]
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo
It seems your computer does not have a c++ compiler installed. Please install package g++, and retry.
On 06/01/2010 05:19 AM, Jos? Miguel Barrios wrote:
Hello list,
I'm trying to install rgdal in kubuntu without success so far. I guess this
is the reason why the installation of other packages I am interested in
(spgrass6, spdep, ...) does not work either (?). Could it be a problem
between my R version and rgdal version?
I would appreciate any hint. Thanks,
Miguel
R version 2.10.1 (2009-12-14)
i486-pc-linux-gnu
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=C LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
* installing *source* package ?rgdal? ...
gdal-config: gdal-config
checking for gcc... gcc -std=gnu99
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for egrep... 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 proj_api.h usability... yes
checking proj_api.h presence... yes
checking for proj_api.h... yes
checking for pj_init_plus in -lproj... yes
Package CPP flags: -I/usr/include/gdal
Package LIBS: -L/usr/lib -lgdal1.6.0
configure: creating ./config.status
config.status: creating src/Makevars
** libs
g++ -I/usr/share/R/include -I/usr/include/gdal
-I"/usr/local/lib/R/site-library/sp/include" -fpic -g -O2 -c
OGR_write.cpp -o OGR_write.o
/bin/bash: g++: command not found
make: *** [OGR_write.o] Error 127
ERROR: compilation failed for package ?rgdal?
* removing ?/usr/local/lib/R/site-library/rgdal?
The downloaded packages are in
?/tmp/RtmpQ3P3w6/downloaded_packages?
Warning message:
In install.packages("rgdal") :
installation of package 'rgdal' had non-zero exit status
[[alternative HTML version deleted]]
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Edzer Pebesma Institute for Geoinformatics (ifgi), University of M?nster Weseler Stra?e 253, 48151 M?nster, Germany. Phone: +49 251 8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de http://www.52north.org/geostatistics e.pebesma at wwu.de
Install the package: r-base-dev if you want to build packages using R. Apart from that you will need libgdal1-dev to build rgdal. 2010/6/1 Jos? Miguel Barrios <jmbarriosg at gmail.com>:
Hello list,
I'm trying to install rgdal in kubuntu without success so far. ?I guess this
is the reason why the installation of other packages I am interested in
(spgrass6, spdep, ...) does not work either (?). Could it be a problem
between my R version and rgdal version?
I would appreciate any hint. ?Thanks,
Miguel
R version 2.10.1 (2009-12-14)
i486-pc-linux-gnu
locale:
?[1] LC_CTYPE=en_US.UTF-8 ? ? ? LC_NUMERIC=C
?[3] LC_TIME=en_US.UTF-8 ? ? ? ?LC_COLLATE=en_US.UTF-8
?[5] LC_MONETARY=C ? ? ? ? ? ? ?LC_MESSAGES=en_US.UTF-8
?[7] LC_PAPER=en_US.UTF-8 ? ? ? LC_NAME=C
?[9] LC_ADDRESS=C ? ? ? ? ? ? ? LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats ? ? graphics ?grDevices utils ? ? datasets ?methods ? base
* installing *source* package ?rgdal? ...
gdal-config: gdal-config
checking for gcc... gcc -std=gnu99
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for egrep... 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 proj_api.h usability... yes
checking proj_api.h presence... yes
checking for proj_api.h... yes
checking for pj_init_plus in -lproj... yes
Package CPP flags: -I/usr/include/gdal
Package LIBS: -L/usr/lib -lgdal1.6.0
configure: creating ./config.status
config.status: creating src/Makevars
** libs
g++ -I/usr/share/R/include -I/usr/include/gdal
-I"/usr/local/lib/R/site-library/sp/include" ? -fpic ?-g -O2 -c
OGR_write.cpp -o OGR_write.o
/bin/bash: g++: command not found
make: *** [OGR_write.o] Error 127
ERROR: compilation failed for package ?rgdal?
* removing ?/usr/local/lib/R/site-library/rgdal?
The downloaded packages are in
? ? ? ??/tmp/RtmpQ3P3w6/downloaded_packages?
Warning message:
In install.packages("rgdal") :
?installation of package 'rgdal' had non-zero exit status
? ? ? ?[[alternative HTML version deleted]]
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Hi all, I am working with satellite images LANDSAT, and I am wondering if there is any way to do a layer stack of the bands. THANKS Dalia ---------- This mail has been sent through the MPI for Demographic Research. Should you receive a mail that is apparently from a MPI user without this text displayed, then the address has most likely been faked. If you are uncertain about the validity of this message, please check the mail header or ask your system administrator for assistance.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20100601/54d24a52/attachment.pl>