On 03/12/2013 09:59 PM, Niels Terp wrote: > > > -----Oprindelig meddelelse----- > Fra: blfs-support-boun...@linuxfromscratch.org > [mailto:blfs-support-boun...@linuxfromscratch.org] På vegne af Armin K. > Sendt: 12. marts 2013 21:53 > Til: BLFS Support List > Emne: Re: [blfs-support] Can not make libxlst > > On 03/12/2013 09:48 PM, Niels Terp wrote: >> Hi again, >> >> I have now got my environment set up properly, and I have built the >> first few xorg packages. But libxslt-1.1.28 is giving a fault on make: >> >> make[2]: Forlader katalog '/home/niels/xc/libxslt-1.1.28/xsltproc' >> Making all in doc >> make[2]: Går til katalog '/home/niels/xc/libxslt-1.1.28/doc' >> I/O error : Attempt to load network entity >> http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd >> ./xsltproc.xml:8: warning: failed to load external entity >> "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" >> ]> >> ^ >> I/O error : Attempt to load network entity >> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xs >> l >> warning: failed to load external entity >> "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" >> error >> xsltParseStylesheetFile : cannot parse >> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xs >> l compilation error: file ./xsltproc.xml line 10 element refentry >> xsltParseStylesheetProcess : document is not a stylesheet >> make[2]: [xsltproc.1] Fejl 5 (ignoreret) >> make[2]: Forlader katalog '/home/niels/xc/libxslt-1.1.28/doc' >> Making all in python >> make[2]: Går til katalog '/home/niels/xc/libxslt-1.1.28/python' >> Making all in . >> make[3]: Går til katalog '/home/niels/xc/libxslt-1.1.28/python' >> SRCDIR=. /usr/bin/python ./generator.py Traceback (most recent call >> last): >> File "./generator.py", line 923, in <module> >> buildStubs() >> File "./generator.py", line 405, in buildStubs >> (parser, target) = getparser() >> File "./generator.py", line 26, in getparser >> parser = xml.sax.make_parser() >> File "/usr/lib/python2.7/xml/sax/__init__.py", line 93, in make_parser >> raise SAXReaderNotAvailable("No parsers found", None) >> xml.sax._exceptions.SAXReaderNotAvailable: No parsers found >> make[3]: *** [gen_prog] Fejl 1 >> make[3]: Forlader katalog '/home/niels/xc/libxslt-1.1.28/python' >> make[2]: *** [all-recursive] Fejl 1 >> make[2]: Forlader katalog '/home/niels/xc/libxslt-1.1.28/python' >> make[1]: *** [all-recursive] Fejl 1 >> >> I have rebuilt libxml2 without any errors. >> >> Any sugestions ? >> >> Niels >> > > It needs either an internet connection or docbook-xml and docbook-xsl > present at build time. > -- > http://linuxfromscratch.org/mailman/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page > > That is the strange part of it. The internet connection is working, and I > can even download the docbook files manualy. Where should I place them to > have them included in the make (so that make does not try to download them > itself ?) > > Niels >
I don't know what libxml2 uses to fetch files from net ... You might be missing something. I suggest that you install docbook-xml and docbook-xsl. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page