Richard Chirgwin wrote:
Hi all,
I am trying to install Spatstat on OpenSUSE 11.1.
install.packages("spatstat", dependencies = TRUE)
fails on the basis of various compiler packages (full message below).
I have gcc version 4.3.2, which should include gfortran and g++ - so I'm not
sure what to do!
First check your assumptions...
If gfortran doesn't work on the command line, then you have an
installation issue, nothing to do with R, much less spatstat.
Hint (on SUSE 11.0):
viggo:~/>rpm -qf `which gfortran`
gcc-fortran-4.3-39.1
-pd
Richard
* Installing *source* package ‘deldir’ ...
** libs
gfortran -fpic -O2 -c acchk.f -o acchk.o
make: gfortran: Command not found
make: *** [acchk.o] Error 127
ERROR: compilation failed for package ‘deldir’
* Removing ‘/home/richard/R/i686-pc-linux-gnu-library/2.9/deldir’
* Installing *source* package ‘spatstat’ ...
** libs
gcc -std=gnu99 -I/usr/lib/R/include -I/usr/local/include -fpic -O2 -c
Kborder.c -o Kborder.o
gcc -std=gnu99 -I/usr/lib/R/include -I/usr/local/include -fpic -O2 -c
Kwborder.c -o Kwborder.o
g++ -I/usr/lib/R/include -I/usr/local/include -fpic -O2 -c
PerfectStrauss.cc -o PerfectStrauss.o
make: g++: Command not found
make: *** [PerfectStrauss.o] Error 127
ERROR: compilation failed for package ‘spatstat’
* Removing ‘/home/richard/R/i686-pc-linux-gnu-library/2.9/spatstat’
The downloaded packages are in
‘/tmp/RtmpdcNYyo/downloaded_packages’
Warning messages:
1: In install.packages("spatstat") :
installation of package 'deldir' had non-zero exit status
2: In install.packages("spatstat") :
installation of package 'spatstat' had non-zero exit status
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalga...@biostat.ku.dk) FAX: (+45) 35327907
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.