python 2.0 info build fails
John Hunter
jdhunter at nitace.bsd.uchicago.edu
Tue Apr 10 11:06:04 EDT 2001
I am having trouble building either the html or the info that ships
with the Python 2.0 dist.
When I type 'make html', the build dies with an error about not being
able to find lib/modindex.html
+++ latex2html -init_file /var/tmp/@13677.1 -dir dist /usr/local/src/Python-2.0/Doc/dist/dist.tex
*** Session transcript and error messages are in dist.how.
../tools/mkmodindex --columns 4 --output modindex.html \
--address '<hr>See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.' \
lib/modindex.html mac/modindex.html
Traceback (most recent call last):
File "../tools/mkmodindex", line 122, in ?
main()
File "../tools/mkmodindex", line 74, in main
ifp = open(ifn)
IOError: [Errno 2] No such file or directory: 'lib/modindex.html'
make[1]: *** [modindex.html] Error 1
make[1]: Leaving directory `/usr/local/src/Python-2.0/Doc/html'
When I try 'make info' I I get error in the perl htmltexi.pl script
which ships in the Docs/tools dir.
#output from 'cd Doc/info; make'
perl -I/usr/local/src/Python-2.0/Doc/tools /usr/local/src/Python-2.0/Doc/tools/html2texi.pl /usr/local/src/Python-2.0/Doc/html/api/api.html
Can't use an undefined value as an ARRAY reference at /usr/local/src/Python-2.0/Doc/tools/html2texi.pl line 1260.
I assume this latter error is due to the fact that the html build
failed since it build route is latex->html->texi and the html build
failed and api/api.html does not exist.
What's the story with modindex.html; apparently the mkmodindex is
failing?
I am using the recommended versions of perl and latex2html (see below)
Has anyone figured out how to work around this?
Thanks,
John Hunter
# perl --version
This is perl, v5.6.0 built for i686-linux
# latex2html --version
This is LaTeX2HTML Version 99.2beta8 (1.46)
# RHL 6.2
More information about the Python-list
mailing list