[Rd] make install fails with makeinfo < 4.7
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Mar 22 22:34:26 CET 2005
On Tue, 22 Mar 2005, Roger D. Peng wrote:
> Okay, a slight revision. 'make install' works fine when I build from the
> alpha tarballs (at least today's tarball works). The error only occurs when
> I build from SVN sources, both when builddir == srcdir and when the build dir
> is a separate directory.
Yes, that is intentional. You are not supposed to be able to build from
the SVN sources without a working makeinfo: R-admin says under `Essential
Programs'
If you want to build from the R Subversion repository you need Perl,
@command{makeinfo} and @command{pdflatex}.
which seems unequivocal to me.
>
> -roger
>
> Prof Brian Ripley wrote:
>> On Tue, 22 Mar 2005, Roger D. Peng wrote:
>>
>>> When I build R-devel (or the alpha snapshots) on a system without makeinfo
>>> >= 4.7, I get a warning about not being able to build HTML/Info help pages
>>> after running 'configure' (but 'make' runs smoothly and there are no
>>> errors). However, when I run 'make install' I get an error, something like
>>>
>>> make[2]: Entering directory `/home/rpeng/R-local/src/R-devel/doc/html'
>>> make[3]: Entering directory `/home/rpeng/R-local/src/R-devel/doc/manual'
>>> creating doc/html/resources.html
>>> make[3]: *** [../html/resources.html] Error 1
>>> make[3]: Leaving directory `/home/rpeng/R-local/src/R-devel/doc/manual'
>>> installing doc/html ...
>>> make[3]: Entering directory
>>> `/home/rpeng/R-local/src/R-devel/doc/html/search'
>>> installing doc/html/search ...
>>> make[3]: Leaving directory
>>> `/home/rpeng/R-local/src/R-devel/doc/html/search'
>>> /usr/bin/install: cannot stat `resources.html': No such file or directory
>>> make[2]: *** [install] Error 1
>>> [... more errors ...]
>>>
>>> Am I correct in assuming that I get this because I don't have the correct
>>> makeinfo version?
>>
>>
>> No. The intention is that file should be in the tarball. It seems to be.
>> Are you using builddir == srcdir or not? Both seem to work for me.
>>
>> The line
>>
>>> creating doc/html/resources.html
>>
>>
>> should not occur when building from a tarball, as it comes from
>>
>> @if test ! -f "$(srcdir)/resources.html" || test -f non-tarball ; then
>> \
>> (cd ../manual && $(MAKE) html-non-svn) ; \
>> touch non-tarball ; \
>>
>> Have you perchance previously built from an SVN checkout in the same dir?
>>
>>> If so, is this the intended behavior of 'make install'? I figured I
>>> should be able to install R even if I couldn't build the HTML/Info help
>>> pages, but....
>>
>>
>> If building from a tarball, yes. The requirements for building from an SVN
>> checkout are more stringent.
>>
>
> --
> Roger D. Peng
> http://www.biostat.jhsph.edu/~rpeng/
>
>
--
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
More information about the R-devel
mailing list