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 -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
