How to "make pdf" in gcc ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When running "make pdf" in $build/gcc I am getting the error
message below.

The message points to

$source/gcc/doc/gcc.texi:40

which has this line:

@documentlanguage en_US

and I can make "make pdf" work by commenting out that line.

Now the message complains that it cannot find txi-en.tex
and I don't know how to fix that. The file is located
in /usr/share/texmf/tex/texinfo/ amongst others, and I
installed texlive-language-english with no avail.

I also tried to build texinfo from source; txi-en.tex
is located in $texinfo-source/doc/txi-en.tex but the
texinfo INSTALL file reads:

Installation notes specific to Texinfo:

* texinfo.tex and the other *.tex files are not installed by
  `make install', because TeX installations vary so widely.
  Installing them in the wrong place would give a false sense of
  security.   Instead, you have to run an additional make command
  after the normal make install:

    make TEXMF=/your/texmf install-tex

  where TEXMF is a root of a TeX hierachy that follows the TeX
  Directory Structure standard (http://tug.org/tds/).
  texinfo.tex is installed in ${TEXMF}/tex/texinfo, epsf.tex
  in ${TEXMF}/tex/generic/epsf/, etc.

  (Alternatively, you can simply cp *.tex to the appropriate places.)

but I don't know enough about TeX internals to know TEXMF.

Perhaps someone can help me out.

Johann

> pdfetex --version
pdfTeX 3.141592653-2.6-1.40.24 (TeX Live 2022)
kpathsea version 6.3.4

<start message>

> make pdf
texi2pdf -I . -I $build/gcc/../../../source/gcc-master/gcc/doc -I $build/gcc/../../../source/gcc-master/gcc/doc/include -o doc/gcc.pdf ../../../source/gcc-master/gcc/doc/gcc.texi This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdfetex)
 restricted \write18 enabled.
entering extended mode
(./../../../source/gcc-master/gcc/doc/gcc.texi
($build//gcc/../../../source/gcc-master/gcc/doc/in
clude/texinfo.tex Loading texinfo [version 2023-01-17.19]: pdf, fonts, glyphs, page headings, tables, conditionals, indexing, sectioning, toc, environments,
defuns, macros, cross references, insertions, localization, formatting,
microtype, and turning on texinfo input format.)
($build/gcc/../../../source/gcc-master/gcc/doc/in
clude/gcc-common.texi ($build/gcc/gcc-vers.texi))
Writing index file gcc.cp
./../../../source/gcc-master/gcc/doc/gcc.texi:40: Cannot read language file txi
-en.tex.
@documentlanguagetrywithoutunderscore ...i-#1.tex}
@else @globaldefs = 1 @inp...

@\documentlanguage ...ithoutunderscore #1_@finish
@else @globaldefs = 1 @inp...
l.40 @documentlanguage en_US

?
./../../../source/gcc-master/gcc/doc/gcc.texi:40: Emergency stop.
@documentlanguagetrywithoutunderscore ...i-#1.tex}
@else @globaldefs = 1 @inp...

@\documentlanguage ...ithoutunderscore #1_@finish
@else @globaldefs = 1 @inp...
l.40 @documentlanguage en_US

./../../../source/gcc-master/gcc/doc/gcc.texi:40: ==> Fatal error occurred, no
 output PDF file produced!

<end message>



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux