[R] Spatstat

Richard Chirgwin rchirgwin at ozemail.com.au
Sun May 10 23:04:47 CEST 2009


Peter Dalgaard wrote:
> 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

Thanks!

Richard

> 
> 
>>
>>     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 at 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.
> 
>




More information about the R-help mailing list