Re: [R] rgl build warnings and loading error on Linux

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu, 10 Apr 2008 07:18:06 +0100 (BST)

>From the 'R Installation and Administration Manual':

   Note that @env{TMPDIR} will be used to execute @command{configure}    scripts when installing packages, so if @code{/tmp} has been mounted as    @samp{noexec}, @env{TMPDIR} needs to be set to a directory from which    execution is allowed.

'If all else fails, read the manual'.

On Thu, 10 Apr 2008, Liviu Andronic wrote:

> On Wed, Apr 9, 2008 at 9:30 PM, Prof Brian Ripley <ripley@stats.ox.ac.uk> wrote:
>> I've never seen that. Is there something unusual about the filesystem so
>> it does not recognize rgl/configure is executable? (We've seen that on SMB
>> filesystems with the wrong mount options.)
>>
>
> In /etc/fstab, I have the following.
> tmpfs /tmp tmpfs
> defaults,size=100M,mode=1777,noexec,nosuid 0 0
>
> Mounting /tmp with "noexec" is a security measure, since /tmp may
> easily become a vulnerable spot on a Linux system.

I suggest you talk to an expert about that.

>> What I suggest you try is
>>
>> - unpack the rgl tarball.
>> - cd rgl
>> - R CMD ./configure
>> - cd ..
>> - R CMD INSTALL rgl
>>
>
> Running "R CMD INSTALL rgl" from my reiserfs / partition was enough
> for the ./configure script to get executed and for rgl to build
> properly [1]. Now I can dyn.load() rgl with no error messages,
> although it is somewhat crashy. I will report here if I get any
> meaningful error messages.
>
> Thanks goes to all who contributed with their suggestions.
> Best regards,
> Liviu
>
>
> [1] http://www.geocities.com/landroni/rgl_build_02.txt
>

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 10 Apr 2008 - 06:37:05 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 10 Apr 2008 - 07:30:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive