| View previous topic :: View next topic |
| Author |
Message |
n05w4D n00b

Joined: 15 May 2004 Posts: 7
|
Posted: Sat May 15, 2004 4:54 pm Post subject: Scrollkeeper/XML Catalog Problem when emerging GNOME |
|
|
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!  |
|
| Back to top |
|
 |
n05w4D n00b

Joined: 15 May 2004 Posts: 7
|
Posted: Wed May 19, 2004 6:10 pm Post subject: |
|
|
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 |
|
 |
robmoss Retired Dev

Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
|
| Back to top |
|
 |
n05w4D n00b

Joined: 15 May 2004 Posts: 7
|
Posted: Wed May 19, 2004 7:31 pm Post subject: |
|
|
| Thats for that, but no help. The exact same error occurs when emerging gnome. |
|
| Back to top |
|
 |
30726 Veteran

Joined: 24 Sep 2003 Posts: 1501
|
Posted: Wed May 19, 2004 10:31 pm Post subject: |
|
|
I had the same problem before, and this fixed it:
| Code: | rm -r /etc/xml/catalog
emerge libxml2 docbook-xml-dtd
|
|
|
| Back to top |
|
 |
robmoss Retired Dev

Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
|
| Back to top |
|
 |
n05w4D n00b

Joined: 15 May 2004 Posts: 7
|
Posted: Wed May 19, 2004 11:34 pm Post subject: |
|
|
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 |
|
 |
30726 Veteran

Joined: 24 Sep 2003 Posts: 1501
|
Posted: Thu May 20, 2004 7:37 am Post subject: |
|
|
This *should* work:
| Code: | | xmlcatalog --create > /etc/xml/catalog |
Then emerge docbook-xml-dtd again. |
|
| Back to top |
|
 |
n05w4D n00b

Joined: 15 May 2004 Posts: 7
|
Posted: Thu May 20, 2004 11:37 am Post subject: |
|
|
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 |
|
 |
30726 Veteran

Joined: 24 Sep 2003 Posts: 1501
|
Posted: Thu May 20, 2004 11:43 am Post subject: |
|
|
| Check if they are empty. |
|
| Back to top |
|
 |
n05w4D n00b

Joined: 15 May 2004 Posts: 7
|
Posted: Thu May 20, 2004 11:49 am Post subject: |
|
|
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 |
|
 |
30726 Veteran

Joined: 24 Sep 2003 Posts: 1501
|
Posted: Thu May 20, 2004 11:54 am Post subject: |
|
|
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 |
|
 |
n05w4D n00b

Joined: 15 May 2004 Posts: 7
|
Posted: Thu May 20, 2004 12:33 pm Post subject: |
|
|
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.
 |
|
| Back to top |
|
 |
vibhavgarg n00b

Joined: 23 May 2004 Posts: 47
|
Posted: Sat Jun 05, 2004 5:25 pm Post subject: Anybody have a fix? |
|
|
| 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 |
|
 |
vibhavgarg n00b

Joined: 23 May 2004 Posts: 47
|
Posted: Sat Jun 05, 2004 5:53 pm Post subject: Update |
|
|
| Fixed problem by unmerging docbook-xml-dtd-4.1.2-r1 |
|
| Back to top |
|
 |
ytrewq1 n00b


Joined: 05 Oct 2004 Posts: 2
|
Posted: Tue Oct 05, 2004 9:15 am Post subject: |
|
|
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 |
|
 |
|