On Feb 7, 2004, at 4:04 PM, Kevin Horton wrote:
At 13:19 -0500 7/2/04, Alexander Hansen wrote:On Feb 7, 2004, at 12:21 PM, Kevin Horton wrote:
I'm doing a new fink installation with a new user so I can be sure I have found all the dependencies needed by a package I am creating. gtk-doc-1.1-12 won't compile.
It fails with:
checking for xsltproc... /Volumes/BU/swfinktest/bin/xsltproc
checking for XML catalog (/Volumes/BU/swfinktest/etc/xml/catalog)... not found
configure: error: XML catalog not found
### execution of ./configure failed, exit code 1
Failed: compiling gtk-doc-1.1-12 failed
Digging deeper:
[EMAIL PROTECTED] 505 % ls -l /Volumes/BU/swfinktest/etc/xml total 0 drwxr-xr-x 8 root admin 272 Feb 7 11:47 catalog.d
Looking at my working fink installation:
[EMAIL PROTECTED] 511 % ls -l /sw/etc/xml total 12 -rw-r--r-- 1 root wheel 9243 Feb 7 11:47 catalog drwxr-xr-x 9 root admin 306 Feb 5 20:13 catalog.d
But no fink package on my working installation will admit to having installed /sw/etc/xml/catalog
[EMAIL PROTECTED] 512 % dpkg -S etc/xml/catalog docbook-xsl: /sw/etc/xml/catalog.d/docbook-xsl-1.64.1 docbook-dtd: /sw/etc/xml/catalog.d/docbook-dtd-4.2.0 docbook-dtd: /sw/etc/xml/catalog.d/docbook-dtd-4.1.1 docbook-dtd: /sw/etc/xml/catalog.d/docbook-dtd-4.1.2 docbook-xsl, scrollkeeper, docbook-dtd: /sw/etc/xml/catalog.d docbook-dtd: /sw/etc/xml/catalog.d/docbook-dtd-4.0 docbook-dtd: /sw/etc/xml/catalog.d/docbook-dtd-4.1 scrollkeeper: /sw/etc/xml/catalog.d/scrollkeeper
So, do I need to run some command to create the missing catalog file, or was it created by some older version of an xml package, but the current version does not create it, or am I missing some dependency?
Thanks for any advice,
Kevin Horton
Check the config.log and see if it tells you anything. Otherwise, try reinstalling docbook-xsl, docbook-dtd, and scrollkeeper.
--
Alexander K. Hansen
There is lots of stuff in the config.log, but nothing that talks to me.
I rebuilt docbook-xsl and docbook-dtd, but that didn't help. Scrollkeeper wasn't installed, so I tried to install it. It failed with apparently the same root cause as my failure with gtk-doc:
checking for xslt-config... /Volumes/BU/swfinktest/bin/xslt-config
checking which XML catalog to use... /Volumes/BU/swfinktest/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 /Volumes/BU/swfinktest/etc/xml/catalog.
make: *** No targets specified and no makefile found. Stop.
### execution of ./configure failed, exit code 2
Failed: compiling scrollkeeper-0.3.14-3 failed
This is now looking like a docbook-dtd problem, and not a gtk-doc problem. "Fink info docbook-dtd" perhaps provides a clue, but I haven't been able to decipher it yet:
Usage Notes:
This package only completes some of the tasks you need to make DocBook useful. For more information, see:
http://www.tldp.org/HOWTO/mini/DocBook-Install/ (which covers mainly SGML) and http://docbook.org/tdg/en/html/docbook.html <DocBook: The Definitive Guide>
The installation section of DocBook : The Definitive Guide mentions a need to create a catalog file based on docbook.cat. Well, I've got nine docbook.cats and one DOCBOOK.CAT, so I'm not sure what to do now. My working fink installation has a catalog file, but I'm sure I didn't manually create it.
Kevin Horton puzzled in docbook land
Maybe a rebuild of docbook-dtd? I don't have a %p/etc/xml/catalog, by that exact name, but I do have %p/etc/xml/catalog.d
-- Alexander K. Hansen
I've already rebuilt docbook-dtd three times and it hasn't produced a %p/etc/xml/catalog. It is interesting that your apparently good fink installation doesn't have a %p/etc/xml/catalog, similar to my new installation. But my good installation has one, and these two failed installs are certainly looking for one. I wonder if the problem is that there is no %p/etc/xml/catalog file, or rather that the other installs are improperly looking for one for some reason?
Kevin Horton
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users