Page 1 of 1

Installing the R Tarball Package

Posted: Thu May 02, 2013 10:23 pm
by headjoog
Hi - I was hoping I could get some input on installing the R package. I downloaded the tarball from the Vertica site (vertica-udx-R-src-6.0.0-0.tar.gz) and am trying to following the README contained in the package for building the source. I realize there are some dependencies that need to be installed (boost, msgpack) and I've downloaded those and was trying to install. However, I'm stuck on a command in the README and am not clear what to do. Basically the commands for "boost" are:

cd boost
tar xjf boost_1_38_0.tar.bz2
cd boost_1_38_0
patch < ../patch
./configure --prefix==`pwd`/.. --exec-prefix=`pwd`/.. --libdir=`pwd`/.. \
--includedir=`pwd`/.. --with-libraries="thread"
make install
cd ../..

But, when I run the patch command I get a "Command not found". Has anyone else tried to install the R package via the README? I'm totally lost and would appreciate any guidance trying to get this going.

Thanks !

Re: Installing the R Tarball Package

Posted: Fri May 03, 2013 7:05 pm
by id10t
HI!

Did you install patch?


What is output of:
1. For RHEL/CentOS/Suse/Fedora

Code: Select all

rpm -qa | grep patch

2. For Debian:

Code: Select all

dpkg -s patch

Re: Installing the R Tarball Package

Posted: Mon May 06, 2013 8:36 pm
by headjoog
Hi sKwa -

thanks for the reply. I didn't explicitly install it, so perhaps this is the issue. Will give this a shot and see where it ends up.

Thanks!

Re: Installing the R Tarball Package

Posted: Thu May 09, 2013 6:45 pm
by headjoog
Got it working. "patch" needed to be installed in the environment I was working in. I noted later that it is indeed included in the download. When I tried again in a different environment using the README, it worked without a hitch.

Re: Installing the R Tarball Package

Posted: Fri May 10, 2013 3:28 am
by JimKnicely
Great! Thanks for letting us know :)