Package install fail Makecog:155: recipe for target 'daux.o' failed RRS feed

  • Question

  • I'm attempting to install the package `deSolve` on on 3.4 (I have also attempted 3.3.3, and 3.3.2) and I keep running into the following error


    sh: gfortran: command not found
    /usr/lib64/microsoft-r/3.4/lib64/R/etc/Makeconf:155: recipe for target 'daux.o' failed
    make: *** [daux.o] Error 127
    ERROR: compilation failed for package ‘deSolve’
    * removing ‘/home/reed/R/x86_64-pc-linux-gnu-library/3.3/deSolve’


    This is virtually a clean Ubuntu 16.04 build with only MRAN, and Git installed on it so far


    version 3.4.0 (2017-04-21)
    Platform: x86_64-pc-linux-gnu (64-bit)
    Running under: Ubuntu 16.04.2 LTS

    Matrix products: default
    BLAS: /usr/lib64/microsoft-r/3.4/lib64/R/lib/
    LAPACK: /usr/lib64/microsoft-r/3.4/lib64/R/lib/

     [1] LC_CTYPE=en_NZ.UTF-8       LC_NUMERIC=C               LC_TIME=en_NZ.UTF-8        LC_COLLATE=en_NZ.UTF-8    
     [5] LC_MONETARY=en_NZ.UTF-8    LC_MESSAGES=en_NZ.UTF-8    LC_PAPER=en_NZ.UTF-8       LC_NAME=C                 
     [9] LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_NZ.UTF-8 LC_IDENTIFICATION=C       

    attached base packages:
    [1] stats     graphics  grDevices utils     datasets  methods   base     

    other attached packages:
    [1] RevoUtilsMath_10.0.0

    loaded via a namespace (and not attached):
    [1] compiler_3.4.0   RevoUtils_10.0.4 tools_3.4.0    

    Any suggestions?

    • Edited by ReedE03 Tuesday, May 30, 2017 4:05 AM
    Monday, May 29, 2017 11:36 PM

All replies

  • You need to install gfortran...which can be done with the command "sudo apt-get install gfortran" at a shell prompt...


    Rich Calaway

    Microsoft R Product Team

    Thursday, June 29, 2017 12:00 AM