Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Scrollkeeper/XML Catalog Problem when emerging GNOME
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
n05w4D
n00b
n00b


Joined: 15 May 2004
Posts: 7

PostPosted: Sat May 15, 2004 4:54 pm    Post subject: Scrollkeeper/XML Catalog Problem when emerging GNOME Reply with quote

Hi. I'm just working through the install guide for my new laptop, and when I emerge GNOME, it stops and gives me the following....

Code:
checking which XML catalog to uses.../etc/xml/catalog
checking for configure:error DocBook XML DTD...: not found. Make sure you have
the DocBook DTD installed and ensure that it is registered in/etc/xml/catalog

! ERROR: app-text/ to scrollkeeper -0.3.14 failed.
! function econf, Line 365, Exitcode 1
! econf failed


Any ideas where to start to get around this? I noticed This Thread (in Spanish Forum, translated for your pleasure) which is the exact same problem.

Thanks in advance! 8)
Back to top
View user's profile Send private message
n05w4D
n00b
n00b


Joined: 15 May 2004
Posts: 7

PostPosted: Wed May 19, 2004 6:10 pm    Post subject: Reply with quote

Just reinstalled Gentoo from the start again using the gentoo-dev-sources kernel thinking I possibly did something wrong, and got the exact same error again.

Anyone? :(
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Wed May 19, 2004 7:15 pm    Post subject: Reply with quote

Try this:

Code:
emerge --oneshot app-text/docbook-xml-dtd app-text/docbook-xml-simple-dtd
emerge gnome

_________________
Reality is for those who can't face Science Fiction.

emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts
Back to top
View user's profile Send private message
n05w4D
n00b
n00b


Joined: 15 May 2004
Posts: 7

PostPosted: Wed May 19, 2004 7:31 pm    Post subject: Reply with quote

Thats for that, but no help. The exact same error occurs when emerging gnome.
Back to top
View user's profile Send private message
30726
Veteran
Veteran


Joined: 24 Sep 2003
Posts: 1501

PostPosted: Wed May 19, 2004 10:31 pm    Post subject: Reply with quote

I had the same problem before, and this fixed it:
Code:
rm -r /etc/xml/catalog
emerge libxml2 docbook-xml-dtd
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Wed May 19, 2004 11:10 pm    Post subject: Reply with quote

Ah, whoops, yes, sorry, forgot a couple of important steps. Follow the above.
_________________
Reality is for those who can't face Science Fiction.

emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts
Back to top
View user's profile Send private message
n05w4D
n00b
n00b


Joined: 15 May 2004
Posts: 7

PostPosted: Wed May 19, 2004 11:34 pm    Post subject: Reply with quote

Thanks for the help, but unfortunately, that didn't work either. I'll paste some of the output when doing:

emerge libxml2 docbook-xml-dtd
Code:

Failed to remove entry /usr/share/sgml/docbook/xml-dtd-4.2/docbookx.dtd
>>> original instance of package unmerged safely.
could not locate docbookx.dtd for DocBook XML
add command failed
add command failed
 * Caching service dependencies...                                        [ ok ]


emerge gnome
Code:
checking for xml2-config... /usr/bin/xml2-config
checking libxml2 version... 2.6.7
checking for xslt-config... /usr/bin/xslt-config
checking which XML catalog to use... /etc/xml/catalog
checking for DocBook XML DTD... configure: error: not found. Make sure you have the DocBook DTD installed and ensure that it is registered in /etc/xml/catalog.

!!! ERROR: app-text/scrollkeeper-0.3.14 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed


Any further ideas? It's very strange how 2 new installs from scratch, using different kernels both end up with this happening when trying to emerge gnome.
Back to top
View user's profile Send private message
30726
Veteran
Veteran


Joined: 24 Sep 2003
Posts: 1501

PostPosted: Thu May 20, 2004 7:37 am    Post subject: Reply with quote

This *should* work:
Code:
xmlcatalog --create > /etc/xml/catalog

Then emerge docbook-xml-dtd again.
Back to top
View user's profile Send private message
n05w4D
n00b
n00b


Joined: 15 May 2004
Posts: 7

PostPosted: Thu May 20, 2004 11:37 am    Post subject: Reply with quote

Catalog and Docbook are both present in the /etc/xml directory.
The most recent suggestion made no difference at all, resulting in the same error when both emerging docbook-xml-dtd and when emerging gnome.

:?:
Back to top
View user's profile Send private message
30726
Veteran
Veteran


Joined: 24 Sep 2003
Posts: 1501

PostPosted: Thu May 20, 2004 11:43 am    Post subject: Reply with quote

Check if they are empty.
Back to top
View user's profile Send private message
n05w4D
n00b
n00b


Joined: 15 May 2004
Posts: 7

PostPosted: Thu May 20, 2004 11:49 am    Post subject: Reply with quote

catalog contents
Code:
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"/>


docbook contents - Empty.

How would I go about making it not be empty? :?
Back to top
View user's profile Send private message
30726
Veteran
Veteran


Joined: 24 Sep 2003
Posts: 1501

PostPosted: Thu May 20, 2004 11:54 am    Post subject: Reply with quote

It shouldn't be empty. Try removing /etc/xml/catalog first, and then try this again
Code:
xmlcatalog --create > /etc/xml/catalog

After that you need to emerge the various docbook-* stuff again, and possibly libxml2 as well.

I had the same problem as you, and this is what I did to fix it. If that doesn't work, I don't know what to do.
Back to top
View user's profile Send private message
n05w4D
n00b
n00b


Joined: 15 May 2004
Posts: 7

PostPosted: Thu May 20, 2004 12:33 pm    Post subject: Reply with quote

Ok, when I xmlcatalog --create > /etc/xml/catalog, the catalog file is fine, ie, not empty. Then when I progress to emerge =docbook-xml-dtd the docbook file is made not empty, but the catalog file contents are cleared. So when I do xmlcatalog --create > /etc/xml/catalog, both files are not empty... good... or not. So I try to emerge gnome, and the same error as before occurs. Strange.

emerge libxml2 goes fine... but doesn't help emerging gnome any.

:cry:
Back to top
View user's profile Send private message
vibhavgarg
n00b
n00b


Joined: 23 May 2004
Posts: 47

PostPosted: Sat Jun 05, 2004 5:25 pm    Post subject: Anybody have a fix? Reply with quote

Anybody have a fix to this problem? I have tried everything but still get the error. even though the docbook entries exist in /etc/xml/catalog, although /etc/xml/docbook seems to have no entries?
Back to top
View user's profile Send private message
vibhavgarg
n00b
n00b


Joined: 23 May 2004
Posts: 47

PostPosted: Sat Jun 05, 2004 5:53 pm    Post subject: Update Reply with quote

Fixed problem by unmerging docbook-xml-dtd-4.1.2-r1
Back to top
View user's profile Send private message
ytrewq1
n00b
n00b


Joined: 05 Oct 2004
Posts: 2

PostPosted: Tue Oct 05, 2004 9:15 am    Post subject: Reply with quote

I had an empty /etc/xml/catalog file which seemed to prevent scrollkeeper from emerging properly.

What I did to remedy the situation was:

1) xmlcatalog --create > /etc/xml/catalog
2) build-docbook-catalog # found this in docbook-xml-dtd ebuild

A subsequent emerge of scrollkeeper was successful.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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