P. 1
lfs_book

lfs_book

|Views: 10|Likes:
Publicado pordexter_001

More info:

Published by: dexter_001 on Jun 22, 2009
Direitos Autorais:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/11/2014

pdf

text

original

The Texinfo package contains programs for reading, writing, and converting info pages.

Approximate build time:0.2 SBU
Required disk space:

16.6 MB

6.54.1. Installation of Texinfo

The info program makes assumptions such as that a string occupies the same number of character cells on the screen
and bytes in memory and that one can break the string anywhere, which fail in UTF-8 based locales. The patch below
makes them valid by falling back to English messages when a multibyte locale is in use:

patch -Np1 -i ../texinfo-4.9-multibyte-1.patch

Texinfo allows local users to overwrite arbitrary files via a symlink attack on temporary files. Apply the following
patch to fix this:

patch -Np1 -i ../texinfo-4.9-tempfile_fix-1.patch

Prepare Texinfo for compilation:

./configure --prefix=/usr

Compile the package:

make

To test the results, issue: make check.

Install the package:

make install

Optionally, install the components belonging in a TeX installation:

make TEXMF=/usr/share/texmf install-tex

The meaning of the make parameter:

TEXMF=/usr/share/texmf

The TEXMF makefile variable holds the location of the root of the TeX tree if, for example, a TeX package
will be installed later.

The Info documentation system uses a plain text file to hold its list of menu entries. The file is located at
/ usr/ share/ info/ dir. Unfortunately, due to occasional problems in the Makefiles of various packages, it can
sometimes get out of sync with the info pages installed on the system. If the / usr/ share/ info/ dir file ever
needs to be recreated, the following optional commands will accomplish the task:

cd /usr/share/info
rm dir
for f in *
do install-info $f dir 2>/dev/null
done

Linux From Scratch - Version 6.3

176

6.54.2. Contents of Texinfo

Installed programs:

info, infokey, install-info, makeinfo, texi2dvi, texi2pdf, and texindex

Short Descriptions

info

Used to read info pages which are similar to man pages, but often go much deeper than just
explaining all the available command line options. For example, compare man bison and info
bison
.

infokey

Compiles a source file containing Info customizations into a binary format

install-info

Used to install info pages; it updates entries in the info index file

makeinfo

Translates the given Texinfo source documents into info pages, plain text, or HTML

texi2dvi

Used to format the given Texinfo document into a device-independent file that can be printed

texi2pdf

Used to format the given Texinfo document into a Portable Document Format (PDF) file

texindex

Used to sort Texinfo index files

Linux From Scratch - Version 6.3

177

You're Reading a Free Preview

Descarregar
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->