none
Error installing Microsoft R-Open on Ubuntu16.04.0 RRS feed

  • Question

  • Hello,

    Similar to some others I am having trouble when it gets to the MKL library. Here is the output:

    Installing /home/dkozak/Downloads/microsoft-r-open/deb/microsoft-r-open-mkl-3.4.deb...ERROR!
    There was an error installing Microsoft R Open.
    Please check the logs at:
    /home/dkozak/Downloads/microsoft-r-open/logs

    and here is the relevant log

    (Reading database ... 257665 files and directories currently installed.)
    Preparing to unpack .../microsoft-r-open-mkl-3.4.deb ...
    mv: cannot stat '/usr/lib64/microsoft-r/3.4/lib64/R/backup/lib/*.so': No such file or directory
    dpkg: warning: subprocess old pre-removal script returned error exit status 1
    dpkg: trying script from the new package instead ...
    rm: cannot remove '/usr/lib64/microsoft-r/3.4/lib64/R/lib/*.so': No such file or directory
    mv: cannot stat '/usr/lib64/microsoft-r/3.4/lib64/R/backup/lib/*.so': No such file or directory
    dpkg: error processing archive /home/dkozak/Downloads/microsoft-r-open/deb/microsoft-r-open-mkl-3.4.deb (--install):
     subprocess new pre-removal script returned error exit status 1
    mv: cannot stat '/usr/lib64/microsoft-r/3.4/lib64/R/lib/*.so': No such file or directory
    cp: cannot stat '/usr/lib64/microsoft-r/3.4/lib64/R/backup/lib/libR.so': No such file or directory
    Errors were encountered while processing:
     /home/dkozak/Downloads/microsoft-r-open/deb/microsoft-r-open-mkl-3.4.deb

    For reference, here is some system info:

    Linux dkozak-Oryx-Pro 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

    Thanks for your help



    Wednesday, July 19, 2017 5:37 AM

All replies

  • Continuing to have this problem...any suggestions?
    Tuesday, August 1, 2017 1:02 AM
  • Any solution, I am too facing this issue

    Thankx & regards, Vipin jha MCP

    Monday, September 10, 2018 3:29 PM
  • This can happen when you have a prior MRO installation and you didn't remove it before installing a new version.

    Try removing the folder '/usr/lib64/microsoft-r' and then try the install again.

    Let us know, if this fixes the problem.

    Monday, September 10, 2018 4:20 PM
  • Hi, Thanks,

    Can I now the command of removing above mentioned folder



    • Edited by Vipin jha Monday, September 10, 2018 4:57 PM eee
    Monday, September 10, 2018 4:56 PM
  • I am getting below error

    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c AAA_check_cpp11.cpp -o AAA_check_cpp11.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'AAA_check_cpp11.o' failed
    make: [AAA_check_cpp11.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c Data.cpp -o Data.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'Data.o' failed
    make: [Data.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c DataChar.cpp -o DataChar.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'DataChar.o' failed
    make: [DataChar.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c DataDouble.cpp -o DataDouble.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'DataDouble.o' failed
    make: [DataDouble.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c DataFloat.cpp -o DataFloat.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'DataFloat.o' failed
    make: [DataFloat.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c Forest.cpp -o Forest.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'Forest.o' failed
    make: [Forest.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c ForestClassification.cpp -o ForestClassification.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'ForestClassification.o' failed
    make: [ForestClassification.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c ForestProbability.cpp -o ForestProbability.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'ForestProbability.o' failed
    make: [ForestProbability.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c ForestRegression.cpp -o ForestRegression.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'ForestRegression.o' failed
    make: [ForestRegression.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c ForestSurvival.cpp -o ForestSurvival.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'ForestSurvival.o' failed
    make: [ForestSurvival.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c RcppExports.cpp -o RcppExports.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'RcppExports.o' failed
    make: [RcppExports.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c Tree.cpp -o Tree.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'Tree.o' failed
    make: [Tree.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c TreeClassification.cpp -o TreeClassification.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'TreeClassification.o' failed
    make: [TreeClassification.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c TreeProbability.cpp -o TreeProbability.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'TreeProbability.o' failed
    make: [TreeProbability.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c TreeRegression.cpp -o TreeRegression.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'TreeRegression.o' failed
    make: [TreeRegression.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c TreeSurvival.cpp -o TreeSurvival.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'TreeSurvival.o' failed
    make: [TreeSurvival.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c rangerCpp.cpp -o rangerCpp.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'rangerCpp.o' failed
    make: [rangerCpp.o] Error 127 (ignored)
    I/usr/lib64/microsoft-r/3.3/lib64/R/include -DNDEBUG -DR_BUILD -DU_STATIC_IMPLEMENTATION -I"/usr/lib64/microsoft-r/3.3/lib64/R/library/Rcpp/include"      -c utility.cpp -o utility.o
    sh: I/usr/lib64/microsoft-r/3.3/lib64/R/include: No such file or directory
    /usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf:141: recipe for target 'utility.o' failed
    make: [utility.o] Error 127 (ignored)
    -shared -L/usr/lib64/microsoft-r/3.3/lib64/R/lib -o ranger.so AAA_check_cpp11.o Data.o DataChar.o DataDouble.o DataFloat.o Forest.o ForestClassification.o ForestProbability.o ForestRegression.o ForestSurvival.o RcppExports.o Tree.o TreeClassification.o TreeProbability.o TreeRegression.o TreeSurvival.o rangerCpp.o utility.o -L/usr/lib64/microsoft-r/3.3/lib64/R/lib -lR
    sh: line 2: -shared: command not found
    /usr/lib64/microsoft-r/3.3/lib64/R/share/make/shlib.mk:6: recipe for target 'ranger.so' failed
    make: *** [ranger.so] Error 127
    ERROR: compilation failed for package ‘ranger’
    * removing ‘/usr/lib64/microsoft-r/3.3/lib64/R/library/ranger’
    Warning in install.packages :
      installation of package ‘ranger’ had non-zero exit status
    ERROR: dependency ‘ranger’ is not available for package ‘Boruta’
    * removing ‘/usr/lib64/microsoft-r/3.3/lib64/R/library/Boruta’
    Warning in install.packages :
      installation of package ‘Boruta’ had non-zero exit status
    
    The downloaded source packages are in
    	‘/tmp/RtmpgI2Lx5/downloaded_packages’
    Updating HTML index of packages in '.Library'
    Making 'packages.html' ... done


    Thankx & regards, Vipin jha MCP

    Tuesday, September 11, 2018 5:44 AM