SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
While attempting to follow Nobidino's list for SFS, all went well until trying to compile kmod.
The following error message appears:
[QUOTE]Making all in man
XSLT modprobe.d.5
I/O error : Attempt to load network entity http://docbook.sourceforge.net/relea...es/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
cannot parse http://docbook.sourceforge.net/relea...es/docbook.xsl
make[2]: *** [modprobe.d.5] Error 4
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2 [\QUOTE]
Tried googling, but no joy
Looking at the Makefile (under the man directory) it appears that xsltproc is supposed to bring
"docbook.xsl" from it's internet site. This confuses me because SFS should have no connection
to the internet at this time.
If anyone can point me to a resolution for the above error, I would appreciate it.
What if you download the file and then change your hosts file so that domain points to 127.0.0.1 and then host the file locally in the same directory structure?
You might also be able to change the source to point to a local copy of the file, but this could be really involved (or it could be a simple sed change).
I haven't looked at the makefile in question, but as far as xsltproc is concerned, you should be able to make an entry in the /etc/xml/catalog file that redirects the docbook namespace URI to a local file.
Here's what is in my Slackware64 14.1 /etc/xml/catalog file (note that /etc/xml/docbook is another XML catalog file!):
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
one question concerning the building of kmod: are-you sure linuxdoc-tools is complete? The right size of the package is around 6.9 Mo. The package can be built without being complete, until it's not complete you can have that kind of problem.
A solution to your problem can be : add "--disable-manpages" to configure, and rebuild it later.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.