Re: [gpm] docbook2man issue



On Tue, 2007-05-15 at 22:50 -0400, Lupine wrote:
> gnome-power-manager-2.18.3 fails to make on my BLFS box.  It's weird,
> because I'm just having a problem with docbook2man:

Hmm. Black magic... :-)

> make[2]: Entering directory `...gnome-power-manager-2.18.3/man'
> docbook2man gnome-power-preferences.sgml > gnome-power-preferences.1
> I/O error : Attempt to load network entity
> http://docbook2x.sf.net/latest/xslt/man/docbook.xsl
> warning: failed to load external entity
> "http://docbook2x.sf.net/latest/xslt/man/docbook.xsl";
> cannot parse http://docbook2x.sf.net/latest/xslt/man/docbook.xsl

This looks like you don't have the xsl file locally installed, and
docbook2man can't even download a copy from the Internet.

> no element found at line 1, column 0, byte 0
> at /usr/lib/perl5/site_perl/5.8.8/i686-linux/XML/Parser.pm line 187
> make[2]: *** [gnome-power-preferences.1] Error 2
> 
> I checked my version of docbook2man, and updated to latest 0.8.8 version
> from:
> http://docbook2x.sourceforge.net/
> http://downloads.sourceforge.net/docbook2x/docbook2X-0.8.8.tar.gz
> I've also Googled around, and installed every Perl::XML updated I could
> find. Nothing seems to help.
> 
> I don't really care about the man pages all that much, so I decided to
> try and bypass this error by configuring GPM like this:
> ./configure --prefix=/opt/gnome --sysconfdir=/opt/gnome/etc
> --libexecdir=/opt/gnome/lib/gnome-power-manager --localstatedir
> =/var/lib --disable-docbook-docs
> ....however, I guess I can't trick it with "--disable-docbook-docs"
> because I still get the above error.

That's most certainly a bug, although if you disable the doc generation
I think you have to have pre-made "binaries" in place. I'm not keen on
adding auto-generated files to svn just for the conflicts this causes.

> I'm running out of things to try, so I've turned to the list for help.
> Any suggestions?

Try going online, and then running docbook2man. That should sort things.

Hope that helps,

Richard.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]