[R] Problem configuring R-patched

Gavin Simpson gavin.simpson at ucl.ac.uk
Thu Aug 4 23:16:52 CEST 2005


On Thu, 2005-08-04 at 14:57 -0400, Kevin E. Thorpe wrote:
> I downloaded R-patched (2005-08-04) from CRAN today.
> I ran ./configure --enable-R-shlib
> 
> I received the error message:
> 
> checking for recommended packages... no
> configure: error: Some of the recommended packages are missing
>    Use --without-recommended-packages if this was intentional
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
So was this intentional?

> I built a previous version of R-patched successfully on my system
> which is running the SuSE 9,2 Pro Linux distribution.  I untarred the
> tar ball into the same directory I did my last build on in case that's
> important.
> 
> The only other differences between this attempt and my successful build
> are:
> 
> 1. I did not use --enable-R-shlib last time.
> 2. I found and installed the blas libraries for this build.
> 
> Have I messed up or made an erroneous assumption along the way?

Yes and No. You obviously haven't compiled R recently. If you haven't
got the recommended packages in the source you are compiling, configure
now gives an error, which quite clearly states (and you've quoted it in
your email!) that it cannot find (some of) the recommended packages.

A solution - again given by the error message you quote! - is:

./configure --enable-R-shlib --without-recommended-packages
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

That should clear things up.

Other wise you need to cd to the R directory (where you have the source
code), and then execute ./tools/rsync-recommended and then run your
configure command.

HTH

G
-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Gavin Simpson                     [T] +44 (0)20 7679 5522
ENSIS Research Fellow             [F] +44 (0)20 7679 7565
ENSIS Ltd. & ECRC                 [E] gavin.simpsonATNOSPAMucl.ac.uk
UCL Department of Geography       [W] http://www.ucl.ac.uk/~ucfagls/cv/
26 Bedford Way                    [W] http://www.ucl.ac.uk/~ucfagls/
London.  WC1H 0AP.
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%




More information about the R-help mailing list