|
From: Erez Z. <ere...@gm...> - 2009-11-24 18:30:22
|
Hi, I've asked the question below in the valgrind-developers list, but maybe asking it here is a better idea. Can anyone help? Thanks, Erez ---------- Forwarded message ---------- From: Erez Zilber <ere...@gm...> Date: Sun, Nov 22, 2009 at 11:01 AM Subject: make dist-bzip2 fails while attempting to load docbook.xsl To: val...@li... Hi, I'm trying to run 'make dist-bzip2' (using v3.5.0) and I got the following error: ... make[1]: Entering directory `/home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/tests' mkdir -p -- /home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/valgrind-3.5.0/tests/.. make[1]: Leaving directory `/home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/tests' make[1]: Entering directory `/home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/perf' mkdir -p -- /home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/valgrind-3.5.0/perf/.. make[1]: Leaving directory `/home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/perf' make[1]: Entering directory `/home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/auxprogs' mkdir -p -- /home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/valgrind-3.5.0/auxprogs/.. make[1]: Leaving directory `/home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/auxprogs' make[1]: Entering directory `/home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/mpi' mkdir -p -- /home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/valgrind-3.5.0/mpi/.. make[1]: Leaving directory `/home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/mpi' make[1]: Entering directory `/home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/docs' mkdir -p -- /home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/valgrind-3.5.0/docs/images /home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/valgrind-3.5.0/docs/internals /home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/valgrind-3.5.0/docs/lib /home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/valgrind-3.5.0/docs/xml make \ top_distdir="/home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/valgrind-3.5.0" distdir="/home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/valgrind-3.5.0/docs" \ dist-hook make[2]: Entering directory `/home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/docs' Generating the text version of the FAQ ... export XML_CATALOG_FILES=/etc/xml/catalog && \ xsltproc --nonet --xinclude -o ./FAQ.txt ../docs/lib/vg-faq2txt.xsl ../docs/xml/FAQ.xml I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl" compilation error: file ../docs/lib/vg-faq2txt.xsl line 10 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl make[2]: *** [FAQ.txt] Error 5 make[2]: Leaving directory `/home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/docs' make[1]: *** [distdir] Error 2 make[1]: Leaving directory `/home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/docs' make: *** [distdir] Error 1 I tried the following: [erez.zilber@kpc39:~/work/tmp/vlg/valgrind-3.5.0]$ wget http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl --18:17:34-- http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl Resolving docbook.sourceforge.net... 216.34.181.96 Connecting to docbook.sourceforge.net|216.34.181.96|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 12666 (12K) [text/xml] Saving to: `docbook.xsl' 100%[=====================================================================================>] 12,666 22.9K/s in 0.5s 18:17:37 (22.9 KB/s) - `docbook.xsl' saved [12666/12666] and it seems to work. What is wrong here? Thanks, Erez |
|
From: Bart V. A. <bar...@gm...> - 2009-11-24 18:52:37
|
On Tue, Nov 24, 2009 at 7:30 PM, Erez Zilber <ere...@gm...> wrote: > I/O error : Attempt to load network entity > http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl Hello Erez, Have you already had a look at the file docs/README ? It lists the packages that must be installed before documentation generation works. The following bug report might also be interesting to you (not sure it's still up to date): https://bugs.kde.org/show_bug.cgi?id=162121. Bart. |
|
From: Erez Z. <ere...@gm...> - 2009-11-24 19:29:57
|
On Tue, Nov 24, 2009 at 8:52 PM, Bart Van Assche <bar...@gm...> wrote: > On Tue, Nov 24, 2009 at 7:30 PM, Erez Zilber <ere...@gm...> wrote: >> I/O error : Attempt to load network entity >> http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl > > Hello Erez, > > Have you already had a look at the file docs/README ? It lists the > packages that must be installed before documentation generation works. > The following bug report might also be interesting to you (not sure > it's still up to date): https://bugs.kde.org/show_bug.cgi?id=162121. > > Bart. > I read docs/README and was able to make some progress. However, I'm still looking for the pdfxmltex & pdftops packages for CentOS 5. Do you know if they are available (as RPMs)? Maybe I'm looking for the wrong package name? I'm currently failing here: Writing license.gfdl.html for chapter(license.gfdl) Writing licenses.html for book(licenses) Writing index.html for set(set-index) for x in /usr/share/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl /usr/share/sgml/docbook/xsl-stylesheets-1.69.1-5.1/manpages/docbook.xsl ; do \ if test -f $x; then \ echo "Using manpage stylesheet: $x"; \ export XML_CATALOG_FILES=/etc/xml/catalog && \ xsltproc --nonet --xinclude -o ./ $x ../docs/xml/manpages-index.xml; \ exit 0; \ fi; \ done; \ echo ""; \ echo "Error: I can't find the XSL_MAN_STYLE file"; \ echo "Please check where it lives on your system, and" \ "amend the line 'XSL_MAN_STYLES = ' in this Makefile."; \ exit 1; Using manpage stylesheet: /usr/share/sgml/docbook/xsl-stylesheets-1.69.1-5.1/manpages/docbook.xsl Error: no ID for constraint linkend: manual-core.comment. Writing valgrind.1 for refentry(valgrind) Writing cg_annotate.1 for refentry(cg_annotate) Writing callgrind_annotate.1 for refentry(callgrind-annotate) Writing callgrind_control.1 for refentry(callgrind-control) Writing ms_print.1 for refentry(ms_print) Generating PDF file: ../docs/print/index.pdf (please be patient)... export XML_CATALOG_FILES=/etc/xml/catalog && \ mkdir -p ../docs/print && \ mkdir -p ../docs/print/images && \ xsltproc --nonet --xinclude -o ../docs/print/index.fo ../docs/lib/vg-fo.xsl ../docs/xml/index.xml && \ (cd ../docs/print && \ ( pdfxmltex index.fo && \ pdfxmltex index.fo && \ pdfxmltex index.fo ) &> print.log < /dev/null && \ echo "Generating PS file: ../docs/print/index.ps ..." && \ pdftops index.pdf && \ rm -f *.log *.aux *.fo *.out) Making portrait pages on USletter paper (8.5inx11in) make[2]: *** [print-docs] Error 127 make[2]: Leaving directory `/home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/docs' make[1]: *** [distdir] Error 2 make[1]: Leaving directory `/home1/erez.zilber/work/tmp/vlg/valgrind-3.5.0/docs' make: *** [distdir] Error 1 Thanks, Erez |
|
From: Bart V. A. <bar...@gm...> - 2009-11-24 20:16:49
|
On Tue, Nov 24, 2009 at 8:29 PM, Erez Zilber <ere...@gm...> wrote: > On Tue, Nov 24, 2009 at 8:52 PM, Bart Van Assche > <bar...@gm...> wrote: >> On Tue, Nov 24, 2009 at 7:30 PM, Erez Zilber <ere...@gm...> wrote: >>> I/O error : Attempt to load network entity >>> http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl >> >> Hello Erez, >> >> Have you already had a look at the file docs/README ? It lists the >> packages that must be installed before documentation generation works. >> The following bug report might also be interesting to you (not sure >> it's still up to date): https://bugs.kde.org/show_bug.cgi?id=162121. >> >> Bart. >> > > I read docs/README and was able to make some progress. However, I'm > still looking for the pdfxmltex & pdftops packages for CentOS 5. Do > you know if they are available (as RPMs)? Maybe I'm looking for the > wrong package name? > > I'm currently failing here: > [ ... ] It is a known issue that PDF generation fails on most systems except openSUSE 10.1 (see also http://article.gmane.org/gmane.comp.debugging.valgrind.devel/876). Do you really need the PDF docs ? The following command will generate the HTML files that have been published on the Valgrind website: make -C docs html-docs Bart. |
|
From: Erez Z. <ere...@gm...> - 2009-11-24 20:39:04
|
On Tue, Nov 24, 2009 at 10:16 PM, Bart Van Assche <bar...@gm...> wrote: > On Tue, Nov 24, 2009 at 8:29 PM, Erez Zilber <ere...@gm...> wrote: >> On Tue, Nov 24, 2009 at 8:52 PM, Bart Van Assche >> <bar...@gm...> wrote: >>> On Tue, Nov 24, 2009 at 7:30 PM, Erez Zilber <ere...@gm...> wrote: >>>> I/O error : Attempt to load network entity >>>> http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl >>> >>> Hello Erez, >>> >>> Have you already had a look at the file docs/README ? It lists the >>> packages that must be installed before documentation generation works. >>> The following bug report might also be interesting to you (not sure >>> it's still up to date): https://bugs.kde.org/show_bug.cgi?id=162121. >>> >>> Bart. >>> >> >> I read docs/README and was able to make some progress. However, I'm >> still looking for the pdfxmltex & pdftops packages for CentOS 5. Do >> you know if they are available (as RPMs)? Maybe I'm looking for the >> wrong package name? >> >> I'm currently failing here: >> [ ... ] > > It is a known issue that PDF generation fails on most systems except > openSUSE 10.1 (see also > http://article.gmane.org/gmane.comp.debugging.valgrind.devel/876). Do > you really need the PDF docs ? The following command will generate the > HTML files that have been published on the Valgrind website: > > make -C docs html-docs > > Bart. > Actually, all I want is to generate a rpm. I thought that I need to run make dist-bzip2 for that. Am I right? Erez |
|
From: Bart V. A. <bar...@gm...> - 2009-11-26 07:09:23
|
On Tue, Nov 24, 2009 at 9:38 PM, Erez Zilber <ere...@gm...> wrote: > Actually, all I want is to generate a rpm. I thought that I need to > run make dist-bzip2 for that. Am I right? Generating a Valgrind RPM involves generating the manual in PDF format. So you will need to make sure that the PDF can be generated if you want to build the RPM. Bart. |