From ripley at stats.ox.ac.uk  Wed Aug 19 07:52:32 2009
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 19 Aug 2009 06:52:32 +0100 (BST)
Subject: [Rd] trouble building 2.10?
In-Reply-To: <F369CEAD-7F79-452F-96F9-BC8515F589BB@r-project.org>
References: <4A8B17DF.5020100@ufl.edu>
	<F369CEAD-7F79-452F-96F9-BC8515F589BB@r-project.org>
Message-ID: <alpine.LFD.2.00.0908190642220.4332@gannet.stats.ox.ac.uk>

You currently need builddir != srcdir, which is in any case is 
strongly recommended for those building from svn checkouts.

We will either require that (many projects now do) or test building in 
the srcdir before the testing period starts.  Similar comments hold 
about needing GNU make -- it is not intended to require it in the 
released versions, but it may be required during development.

And as the posting guide says, there is no '2.10' (and never will be).

On Tue, 18 Aug 2009, Simon Urbanek wrote:

>
> On Aug 18, 2009, at 17:06 , Ben Bolker wrote:
>
>> Should I expect to be able to build 2.10 at the moment?
>> 
>
> Yes (it works on my system) - when in doubt pull a fresh checkout (in general 
> you cannot expect svn updates to build without full cleanup due to possible 
> changes in the build process).

Yes, you might need 'make distclean' in the builddir: that has 
happened several times recently as we've experimented with help 
storage.  We also do not necessarily support packages installed under 
earlier versions of R-devel.

> Cheers,
> Simon
>
>
>> Ubuntu intrepid
>> Linux bolker-lap2 2.6.27-14-generic #1 SMP Wed Jul 29 09:01:45 UTC 2009
>> i686 GNU/Linux
>> 
>> Gnu Make 3.81
>> gcc 4.3.2
>> 
>> ===========
>> svn update
>> 
>> Restored 'src/library/Makefile.in'
>> At revision 49309.
>> ============
>> ./configure
>> [...]
>> 
>> R is now configured for i686-pc-linux-gnu
>> 
>> Source directory:          .
>> Installation directory:    /usr/local
>> 
>> C compiler:                gcc -std=gnu99  -g -O2
>> Fortran 77 compiler:       gfortran  -g -O2
>> 
>> C++ compiler:              g++  -g -O2
>> Fortran 90/95 compiler:    gfortran -g -O2
>> Obj-C compiler: 
>> 
>> Interfaces supported:      X11, tcltk
>> External libraries:        readline
>> Additional capabilities:   PNG, JPEG, MBCS, NLS, cairo
>> Options enabled:           shared BLAS, R profiling, Java
>> 
>> Recommended packages:      yes
>> ==================
>> make
>> 
>> [...]
>> 
>> the only thing that gets built anew is
>> 
>> make[3]: Entering directory `/usr/local/src/R/r-devel/R/src/unix'
>> gcc -std=gnu99 -I. -I../../src/include -I../../src/include
>> -I/usr/local/include -DHAVE_CONFIG_H    -g -O2
>> -DR_HOME='"/usr/local/src/R/r-devel/R"' -o Rscript \
>> 	  ./Rscript.c
>> 
>> [...]
>> 
>> make[2]: Entering directory `/usr/local/src/R/r-devel/R/src/library'
>> make[2]: *** No rule to make target `Makefile.in', needed by `Makefile'.
>> Stop.
>> make[2]: Leaving directory `/usr/local/src/R/r-devel/R/src/library'
>> make[1]: *** [docs] Error 2
>> make[1]: Leaving directory `/usr/local/src/R/r-devel/R/src/library'
>> make: [docs] Error 2 (ignored)
>> 
>> 
>> any ideas?
>> 
>> Ben Bolker
>> 
>> 
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
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



[Rd] trouble building 2.10?
Prof Brian Ripley