From edd at debian.org  Fri Jun 26 13:55:15 2009
From: edd at debian.org (Dirk Eddelbuettel)
Date: Fri, 26 Jun 2009 06:55:15 -0500
Subject: [Rd] Problem making the manuals (make dvi and make pdf)
In-Reply-To: <5B2F2CD24AD2764D898AF5A7B9A2ABBF011C6D2F@hermes.demogr.mpg.de>
References: <5B2F2CD24AD2764D898AF5A7B9A2ABBF011C6D2F@hermes.demogr.mpg.de>
Message-ID: <19012.46883.237113.239576@ron.nulle.part>


Hi Roland,

On 26 June 2009 at 10:46, Rau, Roland wrote:
| Dear all,
| 
| I am trying to compile and install R from sources on Ubuntu GNU/Linux 64
| bit. It usually worked flawlessly for me for more than 4 years (32bit
| and 64bit on Mandrake/Mandriva, Suse, Debian, Ubuntu). However, I am
| experiencing some problems now -- not during compiling and installing R
| itself but with the manuals.
| 
| Maybe someone can help me with it? I tried to find some information in
| the archives on the web but I was not successful.
| 
| Please let me explain therefore in detail where the problem is (incl.
| some additional information):
| 
| Following the instructions in section 2.2 of the R Installation and
| Administration Manual
| (http://cran.r-project.org/doc/manuals/R-admin.html#Making-the-manuals),
| making the info manuals works fine via "make info"
| 
| However, when I want to make the dvi and pdf manuals, I get the
| following error:
| ======================================================
| 
| Loading texinfo [version 2007-09-03.05]: pdf, fonts, page headings,
| tables,
| conditionals, indexing, sectioning, toc, environments, defuns, macros,
| cross references, insertions, (./epsf.tex
| This is `epsf.tex' v2.7.3 <23 July 2005>
| ) localization, formatting, and turning on texinfo input format.)
| (/usr/share/texmf/tex/lilypond/txi-en.tex
| /usr/share/texmf/tex/lilypond/txi-en.tex:22: Undefined control sequence.
| l.22 \txisetlanguage
|                     {USenglish}{2}{3}
| ? 

Can you try again after uninstalling lilypond?

We do this in an automated fashion all the time on Debian and Ubuntu where is
works fine.  But we do this mostly in 'clean chroot' environments (via
pbuilder) which minimises side effects. I'd think you are simply bitten by
lilypond here.

| ======================================================
| 
| The output I am pasting is from:
| > version
|                _                           
| platform       x86_64-unknown-linux-gnu    
| arch           x86_64                      
| os             linux-gnu                   
| system         x86_64, linux-gnu           
| status                                     
| major          2                           
| minor          9.0                         
| year           2009                        
| month          04                          
| day            17                          
| svn rev        48333                       
| language       R                           
| version.string R version 2.9.0 (2009-04-17)
| 
| 
| I tried it yesterday also with the latest development and patched
| releases --> same result.
| Is it a TeX/LaTeX-problem?

I think so.

And if everything else fails: CRAN does have current R packages for amd64 on
Ubuntu. I use those myself at work.

Dirk

| 
| Of course, I checked whether I have recent versions of makeinfo and
| texi2dvi installed (which is mentioned in the manual). This seems to be
| the case:
| 
| ======================================================
| root at roland-desktop-64bit:/extras/R/R-2.9.0# makeinfo --version
| makeinfo (GNU texinfo) 4.11
| 
| Copyright (C) 2007 Free Software Foundation, Inc.
| License GPLv3+: GNU GPL version 3 or later
| <http://gnu.org/licenses/gpl.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
| root at roland-desktop-64bit:/extras/R/R-2.9.0# texi2dvi --version
| texi2dvi (GNU Texinfo 4.11) 1.104
| 
| Copyright (C) 2007 Free Software Foundation, Inc.
| License GPLv3+: GNU GPL version 3 or later
| <http://gnu.org/licenses/gpl.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
| 
| root at roland-desktop-64bit:/extras/R/R-2.9.0# texi2pdf --version
| texi2dvi (GNU Texinfo 4.11) 1.104
| 
| Copyright (C) 2007 Free Software Foundation, Inc.
| License GPLv3+: GNU GPL version 3 or later
| <http://gnu.org/licenses/gpl.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
| 
| ======================================================
| 
| 
| and finally the output from ./configure
| 
| ======================================================
| 
| R is now configured for x86_64-unknown-linux-gnu
| 
|   Source directory:          .
|   Installation directory:    /usr/local
| 
|   C compiler:                gcc -std=gnu99  -g -O2
|   Fortran 77 compiler:       gfortran  -g -O
| 
|   C++ compiler:              g++  -g -O2
|   Fortran 90/95 compiler:    gfortran -g -O
|   Obj-C compiler:	      
| 
|   Interfaces supported:      X11, tcltk
|   External libraries:        readline
|   Additional capabilities:   PNG, JPEG, iconv, MBCS, NLS
|   Options enabled:           shared BLAS, R profiling
| 
|   Recommended packages:      yes
| 
| ======================================================
| 
| 
| Thanks in advance,
| Roland
| 
| ----------
| This mail has been sent through the MPI for Demographic Research.  Should you receive a mail that is apparently from a MPI user without this text displayed, then the address has most likely been faked. If you are uncertain about the validity of this message, please check the mail header or ask your system administrator for assistance.
| 
| ______________________________________________
| R-devel at r-project.org mailing list
| https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Three out of two people have difficulties with fractions.



[Rd] Problem making the manuals (make dvi and make pdf)
Dirk Eddelbuettel