Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot build kernel documentation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kindofblue
n00b
n00b


Joined: 13 Apr 2009
Posts: 22
Location: Montreal, Canada

PostPosted: Sun May 03, 2009 2:15 pm    Post subject: cannot build kernel documentation Reply with quote

My system: 2.6.28-gentoo-r5 #1 SMP Sun May 3 09:02:33 EDT 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor.

I guess I should ask this question on the kernel mailing list, but since I'm running Gentoo, I'll start here.

I'm trying to build the kernel documentation with the pdfdocs target of the kernel makefile, but it doesn't work. Actually none of the documentation targets work. Here's a transcript:

    maxwell linux # make pdfdocs
    PDF Documentation/DocBook/wanbook.pdf
    xmlto: input does not validate (status 3)
    /usr/src/linux/Documentation/DocBook/wanbook.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
    "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>
    ^
    warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
    validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
    Document /usr/src/linux/Documentation/DocBook/wanbook.xml does not validate
    make[1]: *** [Documentation/DocBook/wanbook.pdf] Error 3
    make: *** [pdfdocs] Error 2


The URL http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd is valid, so I'm not sure why the XML parser can't find it.

Thanks in advance for any help.
_________________
"Keep it simple: as simple as possible, but no simpler" - Einstein
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1495
Location: Oxfordshire, UK

PostPosted: Sun May 03, 2009 3:14 pm    Post subject: Reply with quote

Do you have docbook-utils or xmlto installed?
Back to top
View user's profile Send private message
kindofblue
n00b
n00b


Joined: 13 Apr 2009
Posts: 22
Location: Montreal, Canada

PostPosted: Sun May 03, 2009 6:18 pm    Post subject: Reply with quote

I have xmlto. I didn't have docbook-utils per se, but I found app-text/docbook-sgml-utils, which I installed, along with most docbook packages. Alas, I still get the same error.

Thanks for the reply.
_________________
"Keep it simple: as simple as possible, but no simpler" - Einstein
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1495
Location: Oxfordshire, UK

PostPosted: Mon May 04, 2009 12:06 pm    Post subject: Reply with quote

That's a shame... when I run "make pdfdocs" it asks me to check i have these installed.

I'll try and install them and see if the make actually works :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum