From ripley at stats.ox.ac.uk  Sat Apr 12 18:48:44 2008
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Sat, 12 Apr 2008 17:48:44 +0100 (BST)
Subject: [Rd] 2.7.0 beta (rev 45263) failing 'make vignettes'
In-Reply-To: <1208015137.3361.21.camel@graptoleberis.geog.ucl.ac.uk>
References: <1208015137.3361.21.camel@graptoleberis.geog.ucl.ac.uk>
Message-ID: <alpine.LFD.1.00.0804121746470.26518@auk.stats.ox.ac.uk>

On Sat, 12 Apr 2008, Gavin Simpson wrote:

> Dear list,
>
> On Fedora 8 I downloaded the beta version of R via svn. make and make
> check-all worked fine, but make vignettes is failing with:
>
> make[1]: Entering directory `/home/gavin/R/2-7-patched/build/src/library'
> building/updating vignettes for package 'grid' ...
> processing 'displaylist.Snw'
> /usr/bin/texi2dvi: pdflatex exited with bad status, quitting.
> Error in texi2dvi(texfile, pdf = TRUE, quiet = TRUE) :
>  running 'texi2dvi' on 'displaylist.tex' failed
> Calls: <Anonymous> -> texi2dvi
> Execution halted
> make[1]: Leaving directory `/home/gavin/R/2-7-patched/build/src/library'
>
> If I attempt to manually use texi2dvi --pdf on that file I see that
> texi2dvi cannot find Sweave.sty:

That is intentional -- it should be setting TEXINPUTS.  But there was an 
error in the setting in that version, corrected in r45269 (I hope).

BDR

>
> /usr/bin/texi2dvi: Running pdflatex --file-line-error '././src/library/.vignettes/displaylist.tex' ...
> This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
> file:line:error style messages enabled.
> entering extended mode
> (././src/library/.vignettes/displaylist.tex
> LaTeX2e <2003/12/01>
> Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
> ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
> stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
> h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
> kish, ukrainian, nohyphenation, loaded.
> (/usr/share/texmf/tex/latex/base/article.cls
> Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
> (/usr/share/texmf/tex/latex/base/size10.clo))
>
> ! LaTeX Error: File `Sweave.sty' not found.
>
> At this point if I tell texi2dvi where to find Sweave.sty, the vignettes
> builds.
>
> Is this intentional and I have not done something I should have? (I did
> check the relevant section of the installation manual.) Past versions
> have built vignettes correctly.
>
> Version Info Below:
>> version
>               _
> platform       i686-pc-linux-gnu
> arch           i686
> os             linux-gnu
> system         i686, linux-gnu
> status         beta
> major          2
> minor          7.0
> year           2008
> month          04
> day            12
> svn rev        45263
> language       R
> version.string R version 2.7.0 beta (2008-04-12 r45263)
>
> All the best,
>
> G
> --
> %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
> Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
> ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
> Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
> Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
> UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
> %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
>
> ______________________________________________
> 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] 2.7.0 beta (rev 45263) failing 'make vignettes'
Prof Brian Ripley