DistributedR 0_5 Installation Issue

I was trying to install the
DistributedR_0_5 on my m/c getting the following errors.

 

It is saying R is not installed on the machine but it is available on my m/c.

 

Please help to understand the issue.

 

[root@vertica6 distributredR_0_4]# rpm -ivh ~/Ashok/DistributedR_0_5/DistributedR_0_5/vertica-distributedR-0.5.0-0.277.el6.x86_64.rpm --nodeps  --replacepkgs --replacefiles

Preparing...                ########################################### [100%]

 

     R is either not installed or cannot be found on the command search path.

     R is required for installation of this software.  Please install R and/or

     update your command search path.

 

error: %pre(vertica-distributedR-0.5.0-0.277.el6.x86_64) scriptlet failed, exit status 1

error:   install: %pre scriptlet failed (2), skipping vertica-distributedR-0.5.0-0.277.el6

[root@vertica6 distributredR_0_4]# R

 

R version 3.0.1 (2013-05-16) -- "Good Sport"

Copyright (C) 2013 The R Foundation for Statistical Computing

Platform: x86_64-unknown-linux-gnu (64-bit)

 

R is free software and comes with ABSOLUTELY NO WARRANTY.

You are welcome to redistribute it under certain conditions.

Type 'license()' or 'licence()' for distribution details.

 

  Natural language support but running in an English locale

 

R is a collaborative project with many contributors.

Type 'contributors()' for more information and

'citation()' on how to cite R or R packages in publications.

 

Type 'demo()' for some demos, 'help()' for on-line help, or

'help.start()' for an HTML browser interface to help.

Type 'q()' to quit R.

   [root@vertica6 protobuf-2.5.0]# protoc --version
   libprotoc 2.3.0
   zeromq-4.0.4


Comments

  • Thank you Ashok for reporting the issue.  It's caused by the installation of R on your system.  Did you install R from source?  The distributedR rpm only detects R installation through rpm install and therefore cannot find the R installation.  Can you please try installing R again through yum?
  • [root@vertica6 DistributedR_0_5]# rpm -Uvh vertica-distributedR-0.5.0-0.277.el6.x86_64.rpm --nodeps  --replacepkgs
    Preparing...                ########################################### [100%]
       1:vertica-distributedR   ########################################### [100%]
    mkdir: created directory '/tmp/distributedR_addons'
    Installing Rcpp_0.10.6.tar.gz
    ... error
    warning: %post(vertica-distributedR-0.5.0-0.277.el6.x86_64) scriptlet failed, exit status 1
    /usr/lib64/R/bin/exec/R: /usr/local/lib/liblzma.so.5: no version information available (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.15' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.16' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /usr/local/lib/liblzma.so.5: no version information available (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.15' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.16' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /usr/local/lib/liblzma.so.5: no version information available (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.15' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.16' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /usr/local/lib/liblzma.so.5: no version information available (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.15' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.16' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /usr/local/lib/liblzma.so.5: no version information available (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.15' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.16' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /usr/local/lib/liblzma.so.5: no version information available (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.15' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.16' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /usr/local/lib/liblzma.so.5: no version information available (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.15' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.16' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /usr/local/lib/liblzma.so.5: no version information available (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.15' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/lib64/R/lib/libR.so)
    /usr/lib64/R/bin/exec/R: /lib64/libc.so.6: version 'GLIBC_2.16' not found (required by /usr/lib64/R/lib/libR.so)
    error: %preun(vertica-distributedR-0.4.0-0.226.el6.x86_64) scriptlet failed, exit status 1

    [root@vertica6 DistributedR_0_5]# R

    R version 3.0.1 (2013-05-16) -- "Good Sport"
    Copyright (C) 2013 The R Foundation for Statistical Computing
    Platform: x86_64-unknown-linux-gnu (64-bit)

    R is free software and comes with ABSOLUTELY NO WARRANTY.
    You are welcome to redistribute it under certain conditions.
    Type 'license()' or 'licence()' for distribution details.

      Natural language support but running in an English locale

    R is a collaborative project with many contributors.
    Type 'contributors()' for more information and
    'citation()' on how to cite R or R packages in publications.

    Type 'demo()' for some demos, 'help()' for on-line help, or
    'help.start()' for an HTML browser interface to help.
    Type 'q()' to quit R.

    [root@vertica6 DistributedR_0_5]# gcc --version
    gcc (GCC) 4.8.2
    Copyright (C) 2013 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  • Hi shreya/Kathy,

    Now I am able to run single node Distributed R on CenOS 6.5..

    Thanx..
  • Hello, All,

    I am running into a similar problem in RHEL 6:

    Error in PREIN scriptlet in rpm package vertica-distributedR-0.7.0-0.1.el6.x86_64

     

         R is either not installed or cannot be found on the command search path.

         R is required for installation of this software.  Please install R and/or

         update your command search path.

     

    error: %pre(vertica-distributedR-0.7.0-0.1.el6.x86_64) scriptlet failed, exit status 1

    error:   install: %pre scriptlet failed (2), skipping vertica-distributedR-0.7.0-0.1.el6

      Verifying  : vertica-distributedR-0.7.0-0.1.el6.x86_64                                                                                                                                  1/1

     

    Failed:

      vertica-distributedR.x86_64 0:0.7.0-0.1.el6

     

    Complete!


    The following package was installed via rpm:
    vertica-R-lang-7.0.2-1.x86_64.RHEL5.rpm

    R is running fine in Vertica.

    Also, /opt/vertica/R/bin is added to the PATH environment variable.

    Can you please advise on the cause of this error?

    Thanks in advance.
  • Hello,

    we managed to resolve the above error.

    Now we reached the point below:
    * installing to library ‘/opt/vertica/R/library’

    ERROR: this R is version 3.0.0, package 'HPDGLM' requires R >= 3.0.1

    We have the R 3.0.0 package. Can you please point out the procedure to update to R 3.0.1?


    Thanks in advance.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file