Find the answer to your Linux question:
Results 1 to 9 of 9
Every time I try to emerge docbook-xml-dtd, an error occurs: Add Command Failed. It repeats several times, and emerge thinks that everything is succesful. However, emerging scrollkeeper reveals that Docbook-xml-dtd ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2004
    Location
    Camino, California, United States of America
    Posts
    10

    Problem with Docbook-xml-dtd


    Every time I try to emerge docbook-xml-dtd, an error occurs:
    Add Command Failed. It repeats several times, and emerge thinks that everything is succesful. However, emerging scrollkeeper reveals that Docbook-xml-dtd is not functioning, as the /etc/xml/catalog file is empty. Can anybody help me? I need to get scrollkeeper working so I can use Icewm and Gnome. Thanks,
    Jesse

  2. #2
    Just Joined!
    Join Date
    Nov 2004
    Location
    Camino, California, United States of America
    Posts
    10
    If no one can figure out the problem, could someone just email me a precompiled version of docbook-xml-dtd? Then I could at least get going with my system. My email is: jessdog AT ftml.net. Thanks.

  3. #3
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Can you post an output of the emerge (at least a little) of docbook-xml-dtd?
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Nov 2004
    Location
    Camino, California, United States of America
    Posts
    10

    emerge output

    Okay, here's the entire output of emerge. However, it might also help to clarify my system config, since it's a bit nonstandard. I installed from a Reiser4 live cd, used a stage 3 tarball, and am using Nitro sources. My make.conf contains the following nonstandard lines:
    CFLAGS="-03 -march=athlon-xp -fomit-frame-pointer -ffast-math -malign-double -msse -mfpmath=sse"
    ACCEPT_KEYWORDS="~x86"

    That said, here's the log:
    Code:
    >>> Unpacking source...
    >>> Unpacking docbook-xml-4.3.zip to /var/tmp/portage/docbook-xml-dtd-4.3/work/docbook-xml-dtd-4.3
    >>> Source unpacked.
    
    >>> Install docbook-xml-dtd-4.3 into /var/tmp/portage/docbook-xml-dtd-4.3/image/ category app-text
    man:
    prepallstrip:
    strip: 
    >>> Completed installing into /var/tmp/portage/docbook-xml-dtd-4.3/image/
    
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    Found DocBook XML 4.3 in /usr/share/sgml/docbook/xml-dtd-4.3
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    Using ISO DocBook entities from /usr/share/sgml/docbook/xml-dtd-4.3/ent
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
    add command failed
     * Caching service dependencies...
    Calculating dependencies    ...done!
    >>> emerge (1 of 1) app-text/docbook-xml-dtd-4.3 to /
    >>> md5 src_uri ;-) docbook-xml-4.3.zip
    >>> Merging app-text/docbook-xml-dtd-4.3 to /
    --- /etc/
    --- /etc/xml/
    >>> /etc/xml/.keep
    --- /usr/
    --- /usr/share/
    --- /usr/share/doc/
    >>> /usr/share/doc/docbook-xml-dtd-4.3/
    >>> /usr/share/doc/docbook-xml-dtd-4.3/ChangeLog.gz
    >>> /usr/share/doc/docbook-xml-dtd-4.3/README.gz
    --- /usr/share/sgml/
    --- /usr/share/sgml/docbook/
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/calstblx.dtd
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/dbcentx.mod
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/dbgenent.mod
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/dbhierx.mod
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/dbnotnx.mod
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/dbpoolx.mod
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/docbook.cat
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/docbookx.dtd
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-amsa.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-amsb.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-amsc.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-amsn.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-amso.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-amsr.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-box.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-cyr1.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-cyr2.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-dia.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-grk1.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-grk2.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-grk3.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-grk4.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-lat1.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-lat2.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-num.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-pub.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/ent/iso-tech.ent
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/htmltblx.mod
    >>> /usr/share/sgml/docbook/xml-dtd-4.3/soextblx.dtd
    >>> app-text/docbook-xml-dtd-4.3 merged.
    >>> Recording app-text/docbook-xml-dtd in "world" favorites file...
    
    >>> clean: No packages selected for removal.
    
    >>> Auto-cleaning packages ...
    
    >>> No outdated packages were found on your system.
    
    
     * GNU info directory index is up-to-date.
    Hope this helps.

  6. #5
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    That output is odd and very unhelpful.

    Try deleting the tarball from distfiles? Also you may want to rm -rf /var/tmp/portage/*

    Do you have a previous version installed?


    OT - nonstandard? bleh...I run nitro1-2.6.9-rc4 on all reiser4, stage1 with harder CFLAGS.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  7. #6
    Just Joined!
    Join Date
    Nov 2004
    Location
    Camino, California, United States of America
    Posts
    10

    problems

    Yeah, I just nuked that install. I think I'll start over with Stage 1. Thanks for your help,

    Jesse

    BTW, what CFLAGS did you use?

  8. #7
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Code:
    CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -ftracer -fforce-addr -fprefetch-loop-arrays -pipe -mmmx -funroll-loops -m3dnow -finline-functions -m3dnow -mfpmath=sse,387 -finline-functions"
    I've been using those for about a year now (give or take). They do break some things, so I usually just switch down to -march, -O3, -fomit-frame-pointer and -pipe in those cases. I really need to tweak them again soon...*puts that on his To-Do List*
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  9. #8
    Just Joined!
    Join Date
    Nov 2004
    Location
    Camino, California, United States of America
    Posts
    10
    Thanks. I'll have to give that a try.

  10. #9
    Just Joined!
    Join Date
    Jun 2005
    Posts
    1

    I was having the same problem

    I ended up running:
    Code:
    rm -f /etc/xml/catalog /etc/xml/docbook
    to fix it.

    Note for other google searches:
    This also fixed a kdebase compilation issue I was having with
    Code:
    Entity xxx not defined
    causing the build to fail.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •