Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

sgml errors when compiling with doc flag

 
   Soft32 Home -> Linux -> General Discussions RSS
Next:  Old versions of installed libraries  
Author Message
David Hilton

External


Since: Nov 14, 2007
Posts: 1



(Msg. 1) Posted: Wed Nov 14, 2007 3:26 pm
Post subject: sgml errors when compiling with doc flag
Archived from groups: alt>os>linux>gentoo (more info?)

I have had issues with several packages when compiling with the doc
flag.
As far as I can tell, the error comes from not having some "entity
definition files" of the form 'iso-*.gml' setup (I'm not sure how to
set this up) or some such thing (http://www.dpawson.co.uk/docbook/
dsssl/dssslgeneral.html)

I have installed nearly all packages related to sgml, but this has not
fixed the problem.

One solution I have seen is to compile the packages that have errors
without the doc flag, which is certainly doable. If possible, I would
prefer not to do a bunch of package-specific flags.

One thing confuses me about this issue - if the doc flag works on the
developer's systems, what is the fundamental difference between their
setup and mine?


David

The errors follow:
....
Using catalogs: /etc/sgml/sgml-docbook-3.1.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-
utils.dsl#html
Working on: /var/tmp/portage/net-misc/iputils-20070202/work/iputils-
s20070202/doc/tmp.db2html/../iputils.db
Done.
make[1]: Leaving directory `/var/tmp/portage/net-misc/iputils-20070202/
work/iputils-s20070202/doc'
make -C doc man
make[1]: Entering directory `/var/tmp/portage/net-misc/
iputils-20070202/work/iputils-s20070202/doc'
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
6:19:E: "X00E1" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
7:19:E: "X00C1" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
8:18:E: "X00E2" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
9:18:E: "X00C2" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
10:19:E: "X00E0" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
11:19:E: "X00C0" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
12:18:E: "X00E5" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
13:18:E: "X00C5" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
14:19:E: "X00E3" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
15:19:E: "X00C3" is not a function name
....
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
6:17:E: "X00BD" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
7:19:E: "X00BD" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
8:19:E: "X00BC" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
9:19:E: "X00BE" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
10:19:E: "X215B" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
11:19:E: "X215C" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
12:19:E: "X215D" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
13:19:E: "X215E" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
14:17:E: "X00B9" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
15:17:E: "X00B2" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
16:17:E: "X00B3" is not a function name
....
nsgmls:I: maximum number of errors (200) reached; change with -E
option
mv: cannot stat `arping.8': No such file or directory
make[1]: *** [arping.8] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/iputils-20070202/
work/iputils-s20070202/doc'
make: *** [man] Error 2
....
Back to top
Login to vote
Wim Cossement

External


Since: Aug 31, 2007
Posts: 22



(Msg. 2) Posted: Thu Nov 15, 2007 6:02 am
Post subject: Re: sgml errors when compiling with doc flag [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Maybe your overall upgrade procedure is not 100 % by the books resulting
in broken stuff?

This is what I normally do:

emerge --sync
regenworld
emerge -DutNav world
emerge -p --depclean
revdep-rebuild -pv
dispatch-conf

Then you could try again to install the package but normally needed
dependencies get pulled in automatically so I'm not sure if this will
help you out.

And you don't have to run those commands with the pretend option but
it's safer IMHO...

Wimmy

David Hilton wrote:
> I have had issues with several packages when compiling with the doc
> flag.
> As far as I can tell, the error comes from not having some "entity
> definition files" of the form 'iso-*.gml' setup (I'm not sure how to
> set this up) or some such thing (http://www.dpawson.co.uk/docbook/
> dsssl/dssslgeneral.html)
>
> I have installed nearly all packages related to sgml, but this has not
> fixed the problem.
>
> One solution I have seen is to compile the packages that have errors
> without the doc flag, which is certainly doable. If possible, I would
> prefer not to do a bunch of package-specific flags.
>
> One thing confuses me about this issue - if the doc flag works on the
> developer's systems, what is the fundamental difference between their
> setup and mine?
>
>
> David
>
> The errors follow:
> ....
> Using catalogs: /etc/sgml/sgml-docbook-3.1.cat
> Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-
> utils.dsl#html
> Working on: /var/tmp/portage/net-misc/iputils-20070202/work/iputils-
> s20070202/doc/tmp.db2html/../iputils.db
> Done.
> make[1]: Leaving directory `/var/tmp/portage/net-misc/iputils-20070202/
> work/iputils-s20070202/doc'
> make -C doc man
> make[1]: Entering directory `/var/tmp/portage/net-misc/
> iputils-20070202/work/iputils-s20070202/doc'
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 6:19:E: "X00E1" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 7:19:E: "X00C1" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 8:18:E: "X00E2" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 9:18:E: "X00C2" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 10:19:E: "X00E0" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 11:19:E: "X00C0" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 12:18:E: "X00E5" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 13:18:E: "X00C5" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 14:19:E: "X00E3" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:
> 15:19:E: "X00C3" is not a function name
> ....
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 6:17:E: "X00BD" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 7:19:E: "X00BD" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 8:19:E: "X00BC" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 9:19:E: "X00BE" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 10:19:E: "X215B" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 11:19:E: "X215C" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 12:19:E: "X215D" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 13:19:E: "X215E" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 14:17:E: "X00B9" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 15:17:E: "X00B2" is not a function name
> nsgmls:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-num.ent:
> 16:17:E: "X00B3" is not a function name
> ....
> nsgmls:I: maximum number of errors (200) reached; change with -E
> option
> mv: cannot stat `arping.8': No such file or directory
> make[1]: *** [arping.8] Error 1
> make[1]: Leaving directory `/var/tmp/portage/net-misc/iputils-20070202/
> work/iputils-s20070202/doc'
> make: *** [man] Error 2
> ....
>


--
I'm sick of following my dreams!
I'll just ask where they're going and hook up with them later...

Mitch Hedberg
Back to top
Login to vote
David Hilton

External


Since: Nov 17, 2007
Posts: 1



(Msg. 3) Posted: Sat Nov 17, 2007 3:08 am
Post subject: Re: sgml errors when compiling with doc flag [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

My normal prodedure is to:

eix-sync
emerge -uDNa world
cfg-update -u

emerge --depclean and revdep-rebuild are both run weekly.
I have never before heard about regenworld.

I ran regenworld --help, and the fact that it directs you to back up
world file before using it, although probably just a disclaimer, makes
me wonder if it should be used generally, or just when problems occur.
The notes I found about regenworld were rather sparse on this topic;
the only reference I found referring to proper usage indicated that it
should be used to regenerate the world file as a troubleshooting step
(http://gentoo-wiki.com/HOWTO_Use_Portage_Correctly).

Should regenworld be run when doing a normal system update?


At any rate, I'm pretty confident that some files are not on my box
that are present on the developers machine.
As a useful bit of info so that these rogue files can be found, here
follows a complete directory listing of my root partition:

No, I'm not going to do it.

However, I wonder about these 'iso-*.gml' files - I have searched on a
couple of systems, but found no matches. Where should these files be?
My apologies if I am not clear or coherent - I need to sleep.

And I forgot to send...

Enjoy your day.
David
Back to top
Login to vote
Wim Cossement

External


Since: Aug 31, 2007
Posts: 22



(Msg. 4) Posted: Mon Nov 19, 2007 7:47 am
Post subject: Re: sgml errors when compiling with doc flag [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

David Hilton wrote:
> My normal prodedure is to:
>
> eix-sync

Aha, I'm actually learning something now.
I did not even knew this command existed!

> emerge -uDNa world
> cfg-update -u

Never heared of cfg-update but I checked it you and it looks better then
dispatch-conf.

> emerge --depclean and revdep-rebuild are both run weekly.
> I have never before heard about regenworld.

Well you're not supposed to run them every time but one might.

> I ran regenworld --help, and the fact that it directs you to back up
> world file before using it, although probably just a disclaimer, makes
> me wonder if it should be used generally, or just when problems occur.
> The notes I found about regenworld were rather sparse on this topic;
> the only reference I found referring to proper usage indicated that it
> should be used to regenerate the world file as a troubleshooting step
> (http://gentoo-wiki.com/HOWTO_Use_Portage_Correctly).
>
> Should regenworld be run when doing a normal system update?

Normally not but sometimes dependencies don't get added to the world
file automatically and because of this they get sometimes unmerged when
running emerge --depclean leaving others broken so if you see a lot of
stuff that will be removed it can be handy to run it first.

> At any rate, I'm pretty confident that some files are not on my box
> that are present on the developers machine.
> As a useful bit of info so that these rogue files can be found, here
> follows a complete directory listing of my root partition:
>
> No, I'm not going to do it.

That would be crazy indeed
>
> However, I wonder about these 'iso-*.gml' files - I have searched on a
> couple of systems, but found no matches. Where should these files be?
> My apologies if I am not clear or coherent - I need to sleep.

I have not found any myself...
Perhaps you must use docbook-xml-dtd instead of the docbook-xml-simple-dtd?
But I haven't got a clue since you already installed all docbook related
packages.

Wimmy
>
> And I forgot to send...
>
> Enjoy your day.
> David


--
I'm sick of following my dreams!
I'll just ask where they're going and hook up with them later...

Mitch Hedberg
Back to top
Login to vote
Display posts from previous:   
Related Topics:
X Font nightmare - The other day I rebooted after eighteen days, and every X font on my system went nuts. Now it's an adventure to see wha...

errors compiling kernel modules - I am trying to compile a 2 kernel modules on my Fedora 2 system and I am getting this error when I do; #error..

Errors while compiling htdig 3.1.6 on fedora 6 - I am having problems compiling htdig on Fedora 6. While running configure, it complains about libcstdc++ missing. But..

[gentoo-user] Errors compiling various ebuilds - Hi! I am having problems compiling these ebuilds: dev-java/xml-commons-external-1.3.02 dev-java/xerces-2.7.1..

[gentoo-user] kernel compiling errors... BIG-TIME - I *finally* think I've found a hint of what may be my problem w/Gentoo installation. I performed yet one more..

[gentoo-dev] We have "doc" USE flag, why not a "man" USE f.. - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey everybody. I have been thinking about this for the past few days,..
       Soft32 Home -> Linux -> General Discussions All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]