On 7/22/19 11:10 AM, Pierre Labastie via blfs-support wrote:
On 22/07/2019 14:59, Dave via blfs-support wrote:
for some reason docbook doesn't accept the --add switch, it seems to interpret
it as a /bin/add command. Doesn't add anything to the file. fails on
everything it tries to add.
root@ryzen-lfs docbook 10:42 # if [ ! -e /etc/xml/docbook ]; then
xmlcatalog --noout --create /etc/xml/docbook
fi &&
xmlcatalog --noout --add "public" \
"-//OASIS//DTD DocBook XML V4.5//EN" \
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \
/etc/xml/docbook
add command failed
Hi Dave,
Those commands are not specific to docbook: xmlcatalog is an utility installed
with libxml2. Normally those command should succeed. There are two
possibilities for failure I can think of (and certainly many others I am
unable to figure out ;):
- the /etc/xml/docbook file is not created, or created with wrong permissions,
so that it cannot be written to.
- something is wrong with the command (space after "\" at the end of a line is
a classic)...
You can also try to debug the command by adding -v after --noout.
Regards,
Pierre
I miss quoted which package, it's docbook XSL Stylesheets
This was just a snippet of the attempted build, I should have removed
the slash before posting. When the entire command sequence produces the
same error. it doesn't like the --add switch. The file was created with
permissions 644. I may have to erase some directories and try this
section, and the related sections again.
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page