This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Problem with building PDF documentation
- From: Nick Clifton <nickc at redhat dot com>
- To: Freddie Chopin <freddie_chopin at op dot pl>, binutils at sourceware dot org
- Date: Tue, 15 Dec 2015 10:08:25 +0000
- Subject: Re: Problem with building PDF documentation
- Authentication-results: sourceware.org; auth=none
- References: <5533867 dot WLQCDnHzQ4 at infernus> <566984EB dot 1060301 at redhat dot com> <3538740 dot XrsEqOfytO at infernus>
Hi Freddie,
Would it be
possible for you to run the texi2dvi command locally with either--debug
or --verbose added to the command line to see if this helps pinpoint
exacltly what is wrong ?
It is definitely possible and I'm more than happy to help. But could you help
me with that a bit? What arguments should I use for that and do I have to run
some other commands before texi2dvi? I'm not an expert in these matters... );
Nor am I. :-)
So, in theory what you should do is rerun the "make info" command (or
whatever command you are using that triggers the failure). Once the
failure has happened change into the gas/doc directory and run the
texinfo command directly, with the extra options added. Based on the
binutils.log file you sent this command would be:
TEXINPUTS="/home/freddie/bleeding-edge-toolchain/src/binutils-gdb/gas/../texinfo:$TEXINPUTS"
\
MAKEINFO='makeinfo \
--split-size=5000000 \
--split-size=5000000 \
-I "/home/freddie/bleeding-edge-toolchain/src/binutils-gdb/gas/doc" \
-I
"/home/freddie/bleeding-edge-toolchain/src/binutils-gdb/gas/../libiberty" \
-I
"/home/freddie/bleeding-edge-toolchain/src/binutils-gdb/gas/../bfd/doc" \
-I ../../bfd/doc \
-I /home/freddie/bleeding-edge-toolchain/src/binutils-gdb/gas/doc' \
texi2dvi \
-I "/home/freddie/bleeding-edge-toolchain/src/binutils-gdb/gas/doc" \
-I
"/home/freddie/bleeding-edge-toolchain/src/binutils-gdb/gas/../libiberty" \
-I
"/home/freddie/bleeding-edge-toolchain/src/binutils-gdb/gas/../bfd/doc" \
-I ../../bfd/doc \
--pdf \
--batch \
--debug \
--verbose \
-o as.pdf \
/home/freddie/bleeding-edge-toolchain/src/binutils-gdb/gas/doc/as.texinfo
This won't work - as I wrote in my e-mail, with the current version of the
tools the documentation for the exact same revision that I used 3 months ago
doesn't build too.
Sorry - I thought that you meant that the documentation as of Sep 28
would build using your current tools - my mistake.
Cheers
Nick