Skip to content

How do I put ldpaths in a specific place?

3 messages · Tena Sakai, Simon Urbanek

#
On Oct 6, 2010, at 12:38 AM, Tena Sakai wrote:

            
That's a quite irrelevant question if your underlying goal is to run R - ldpaths is your least problem - even if you fixed that nothing would work as your R.home is entirely wrong.

Note that by using chroot you're making the entire configuration under which you compiled R invalid.

If your chroot jailed configuration is identical to that of your main system, you should configure R against your full system and use DESTDIR on make install to place the installation in the jail. (Note that --prefix is something entirely different!)

If it's not then you are entirely on your own as you will have to use the above approach but then also make sure any dependent tools and libraries used by R are also present in the chroot jail.

Cheers,
Simon
#
Thank you Simon,

I ran:
  make install DESTDIR=/mnt/ami-centos5.5-64bit-base

Now I can execute this R which is in
/mnt/ami-centos5.5-64bit-base/usr/local/bin two ways:

  cd /mnt/ami-centos5.5-64bit-base/usr/local/bin
  ./R
and
  chroot /mnt/ami-centos5.5-64bit-base R

Many thanks for your help.

Regards,

Tena Sakai
tsakai at gallo.ucsf.edu
On 10/6/10 4:45 AM, "Simon Urbanek" <simon.urbanek at r-project.org> wrote: