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!

    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.

Reply via email to