[QE-users] ` make doc ` failed for git develop version of q-e.
Hongyi Zhao
hongyi.zhao at gmail.com
Thu Apr 30 09:39:14 CEST 2020
Oleksandr Motornyi <oleksandr.motornyi at polytechnique.edu>
于2020年4月30日周四 下午3:02写道:
>
> Hi.
>
> Try installing the missing packages and repeat `make doc` again.
Thanks, due that I installed the TexLive using the full schema mode so
I presume that I have everything needed by (la)tex. Seems I'm wrong.
Say, the latex2html is not shipped with texlive. I installed it from
the system's repo, and it does the trick.
Regards
>
> Best
>
> Oleksandr
>
> On 30/04/2020 04:45, Hongyi Zhao wrote:
> > Hi,
> >
> > I try to make the doc but failed, see following:
> >
> > werner at ubuntu-01:~/Public/hpc/q-e/q-e.git$ make doc
> > if test -d Doc ; then \
> > ( cd Doc ; make VERSION=6.5 TLDEPS= all ) ; fi
> > make[1]: Entering directory '/home/werner/Public/hpc/q-e/q-e.git/Doc'
> > rm -rf user_guide/
> > latex2html \
> > -t "User's Guide for Quantum-ESPRESSO" \
> > -html_version 3.2,math \
> > -toc_depth 5 -split 5 -toc_stars -show_section_numbers \
> > -local_icons -image_type png \
> > user_guide.tex
> > /bin/sh: 1: latex2html: not found
> > make[1]: [Makefile:49: user_guide] Error 127 (ignored)
> > if test -d user_guide; then \
> > cd user_guide; \
> > for file in *.html; do \
> > cp $file /tmp/$file; \
> > cat /tmp/$file | sed 's/HREF="http/NAME="http/g' | sed
> > 's/mathend000#//g' - > $file; \
> > rm -f /tmp/$file; \
> > done; \
> > fi
> > rm -rf developer_man/
> > latex2html \
> > -t "Developer's Manual for Quantum-ESPRESSO" \
> > -html_version 3.2,math \
> > -toc_depth 3 -split 3 -toc_stars -show_section_numbers \
> > -local_icons -image_type png \
> > developer_man.tex
> > /bin/sh: 1: latex2html: not found
> > make[1]: [Makefile:25: developer_man] Error 127 (ignored)
> > if test -d developer_man; then \
> > cd developer_man; \
> > for file in *.html; do \
> > cp $file /tmp/$file; \
> > cat /tmp/$file | sed 's/HREF="http/NAME="http/g' | sed
> > 's/mathend000#//g' - > $file; \
> > rm -f /tmp/$file; \
> > done; \
> > fi
> > make[1]: Leaving directory '/home/werner/Public/hpc/q-e/q-e.git/Doc'
> > for dir in */Doc; do \
> > ( if test -f $dir/Makefile ; then \
> > ( cd $dir; make VERSION=6.5 TLDEPS= all ) ; fi ) ; done
> > make[1]: Entering directory '/home/werner/Public/hpc/q-e/q-e.git/CPV/Doc'
> > rm -rf user_guide/
> > latex2html \
> > -t "User's Guide for The Quantum ESPRESSO
> > Car-Parrinello Molecular Dynamics" \
> > -html_version 3.2,math \
> > -toc_depth 5 -split 5 -toc_stars -show_section_numbers \
> > -local_icons -image_type png \
> > user_guide.tex
> > /bin/sh: 1: latex2html: not found
> > make[1]: *** [Makefile:31: user_guide] Error 127
> > make[1]: Leaving directory '/home/werner/Public/hpc/q-e/q-e.git/CPV/Doc'
> > make[1]: Entering directory '/home/werner/Public/hpc/q-e/q-e.git/HP/Doc'
> > ../../dev-tools/helpdoc -version 6.5 INPUT_HP.def
> > can't find package fileutil
> > while executing
> > "package require fileutil"
> > (file "/home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/../../GUI/Guib/lib/tclUtils.tcl"
> > line 41)
> > invoked from within
> > "source /home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/../../GUI/Guib/lib/tclUtils.tcl"
> > ("package ifneeded tclu 0.9" script)
> > invoked from within
> > "package require tclu 0.9"
> > (file "/home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/helpdoc.tcl"
> > line 25)
> > invoked from within
> > "source [file join $sourcedir helpdoc.tcl]"
> > (file "../../dev-tools/helpdoc" line 8)
> > make[1]: *** [Makefile:27: INPUT_HP.txt] Error 1
> > make[1]: Leaving directory '/home/werner/Public/hpc/q-e/q-e.git/HP/Doc'
> > make[1]: Entering directory '/home/werner/Public/hpc/q-e/q-e.git/NEB/Doc'
> > ../../dev-tools/helpdoc -version 6.5 INPUT_NEB.def
> > can't find package fileutil
> > while executing
> > "package require fileutil"
> > (file "/home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/../../GUI/Guib/lib/tclUtils.tcl"
> > line 41)
> > invoked from within
> > "source /home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/../../GUI/Guib/lib/tclUtils.tcl"
> > ("package ifneeded tclu 0.9" script)
> > invoked from within
> > "package require tclu 0.9"
> > (file "/home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/helpdoc.tcl"
> > line 25)
> > invoked from within
> > "source [file join $sourcedir helpdoc.tcl]"
> > (file "../../dev-tools/helpdoc" line 8)
> > make[1]: *** [Makefile:60: INPUT_NEB.html] Error 1
> > make[1]: Leaving directory '/home/werner/Public/hpc/q-e/q-e.git/NEB/Doc'
> > make[1]: Entering directory '/home/werner/Public/hpc/q-e/q-e.git/PHonon/Doc'
> > ../../dev-tools/helpdoc -version 6.5 INPUT_PH.def
> > can't find package fileutil
> > while executing
> > "package require fileutil"
> > (file "/home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/../../GUI/Guib/lib/tclUtils.tcl"
> > line 41)
> > invoked from within
> > "source /home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/../../GUI/Guib/lib/tclUtils.tcl"
> > ("package ifneeded tclu 0.9" script)
> > invoked from within
> > "package require tclu 0.9"
> > (file "/home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/helpdoc.tcl"
> > line 25)
> > invoked from within
> > "source [file join $sourcedir helpdoc.tcl]"
> > (file "../../dev-tools/helpdoc" line 8)
> > make[1]: *** [Makefile:87: INPUT_PH.txt] Error 1
> > make[1]: Leaving directory '/home/werner/Public/hpc/q-e/q-e.git/PHonon/Doc'
> > make[1]: Entering directory '/home/werner/Public/hpc/q-e/q-e.git/PP/Doc'
> > ../../dev-tools/helpdoc -version 6.5 INPUT_PP.def
> > can't find package fileutil
> > while executing
> > "package require fileutil"
> > (file "/home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/../../GUI/Guib/lib/tclUtils.tcl"
> > line 41)
> > invoked from within
> > "source /home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/../../GUI/Guib/lib/tclUtils.tcl"
> > ("package ifneeded tclu 0.9" script)
> > invoked from within
> > "package require tclu 0.9"
> > (file "/home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/helpdoc.tcl"
> > line 25)
> > invoked from within
> > "source [file join $sourcedir helpdoc.tcl]"
> > (file "../../dev-tools/helpdoc" line 8)
> > make[1]: *** [Makefile:37: INPUT_PP.html] Error 1
> > make[1]: Leaving directory '/home/werner/Public/hpc/q-e/q-e.git/PP/Doc'
> > make[1]: Entering directory '/home/werner/Public/hpc/q-e/q-e.git/PW/Doc'
> > ../../dev-tools/helpdoc -version 6.5 INPUT_PW.def
> > can't find package fileutil
> > while executing
> > "package require fileutil"
> > (file "/home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/../../GUI/Guib/lib/tclUtils.tcl"
> > line 41)
> > invoked from within
> > "source /home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/../../GUI/Guib/lib/tclUtils.tcl"
> > ("package ifneeded tclu 0.9" script)
> > invoked from within
> > "package require tclu 0.9"
> > (file "/home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/helpdoc.tcl"
> > line 25)
> > invoked from within
> > "source [file join $sourcedir helpdoc.tcl]"
> > (file "../../dev-tools/helpdoc" line 8)
> > make[1]: *** [Makefile:64: INPUT_PW.html] Error 1
> > make[1]: Leaving directory '/home/werner/Public/hpc/q-e/q-e.git/PW/Doc'
> > make[1]: Entering directory '/home/werner/Public/hpc/q-e/q-e.git/PWCOND/Doc'
> > ../../dev-tools/helpdoc -version 6.5 INPUT_PWCOND.def
> > can't find package fileutil
> > while executing
> > "package require fileutil"
> > (file "/home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/../../GUI/Guib/lib/tclUtils.tcl"
> > line 41)
> > invoked from within
> > "source /home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/../../GUI/Guib/lib/tclUtils.tcl"
> > ("package ifneeded tclu 0.9" script)
> > invoked from within
> > "package require tclu 0.9"
> > (file "/home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/helpdoc.tcl"
> > line 25)
> > invoked from within
> > "source [file join $sourcedir helpdoc.tcl]"
> > (file "../../dev-tools/helpdoc" line 8)
> > make[1]: *** [Makefile:23: INPUT_PWCOND.html] Error 1
> > make[1]: Leaving directory '/home/werner/Public/hpc/q-e/q-e.git/PWCOND/Doc'
> > make[1]: Entering directory '/home/werner/Public/hpc/q-e/q-e.git/TDDFPT/Doc'
> > ../../dev-tools/helpdoc -version 6.5 INPUT_Lanczos.def
> > can't find package fileutil
> > while executing
> > "package require fileutil"
> > (file "/home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/../../GUI/Guib/lib/tclUtils.tcl"
> > line 41)
> > invoked from within
> > "source /home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/../../GUI/Guib/lib/tclUtils.tcl"
> > ("package ifneeded tclu 0.9" script)
> > invoked from within
> > "package require tclu 0.9"
> > (file "/home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/helpdoc.tcl"
> > line 25)
> > invoked from within
> > "source [file join $sourcedir helpdoc.tcl]"
> > (file "../../dev-tools/helpdoc" line 8)
> > make[1]: *** [Makefile:34: INPUT_Lanczos.html] Error 1
> > make[1]: Leaving directory '/home/werner/Public/hpc/q-e/q-e.git/TDDFPT/Doc'
> > make[1]: Entering directory '/home/werner/Public/hpc/q-e/q-e.git/atomic/Doc'
> > ../../dev-tools/helpdoc -version 6.5 INPUT_LD1.def
> > can't find package fileutil
> > while executing
> > "package require fileutil"
> > (file "/home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/../../GUI/Guib/lib/tclUtils.tcl"
> > line 41)
> > invoked from within
> > "source /home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/../../GUI/Guib/lib/tclUtils.tcl"
> > ("package ifneeded tclu 0.9" script)
> > invoked from within
> > "package require tclu 0.9"
> > (file "/home/werner/Public/hpc/q-e/q-e.git/dev-tools/helpdoc.d/helpdoc.tcl"
> > line 25)
> > invoked from within
> > "source [file join $sourcedir helpdoc.tcl]"
> > (file "../../dev-tools/helpdoc" line 8)
> > make[1]: *** [Makefile:60: INPUT_LD1.html] Error 1
> > make[1]: Leaving directory '/home/werner/Public/hpc/q-e/q-e.git/atomic/Doc'
> > make: *** [Makefile:394: doc] Error 2
> >
> >
> > Any hints for this problem?
> >
> > Regards
>
> --
> Oleksandr Motornyi
> PhD candidate
>
> Laboratoire de Solides Irradies
> Ecole Polytechnique (Palaiseau, France)
>
> _______________________________________________
> Quantum ESPRESSO is supported by MaX (www.max-centre.eu/quantum-espresso)
> users mailing list users at lists.quantum-espresso.org
> https://lists.quantum-espresso.org/mailman/listinfo/users
--
Hongyi Zhao <hongyi.zhao at gmail.com>
More information about the users
mailing list