Solved problem with docbook on Debian woody.
- From: kmyksvo online no (Kjell M. Myksvoll)
- To: garnome-list gnome org
- Subject: Solved problem with docbook on Debian woody.
- Date: 10 Jul 2002 00:44:13 +0200
Hello all,
I don't know if it is of any interest, but while trying to build
garnome 0.12 and 0.12.2 on a woody box, the compilation eventually
failed with the following message:
==> Building gnome/libxslt as a dependency
files/buildDocBookCatalog
mkdir: cannot create directory `/usr/local/hacks/garnome/etc/xml': Filen eksisterer
Found DocBook XML 4.1.2 DTD in /usr/share/sgml/docbook/dtd/xml/4.1.2
could not locate ISO DocBook entities
make[2]: *** [pre-configure] Error 1
make[2]: Leaving directory `/home/kmm/b/garnome-0.12.0/gnome/scrollkeeper'
make[1]: *** [dep-../../gnome/scrollkeeper] Error 2
make[1]: Leaving directory `/home/kmm/b/garnome-0.12.0/gnome/gnome-terminal'
make: *** [dep-../../gnome/gnome-terminal] Error 2
Found out after a while that the build file searched the /usr/local
directory for files matching the expression "iso*amsb.ent", before
searching the /usr/share/sgml directory. Unfortunatly it found a file
matching the expression in my /usr/local/lib/xemacs directory
somewhere and used that file for the ISO Docbook test/search...
Changing the search order as shown in the appended patch below solved
the problem (for me at least).
best regards,
kmm
diff -u garnome-0.12.2-old/gnome/scrollkeeper/files/buildDocBookCatalog garnome-0.12.2/gnome/scrollkeeper/files/buildDocBookCatalog
--- garnome-0.12.2-old/gnome/scrollkeeper/files/buildDocBookCatalog Mon Jul 8 00:55:16 2002
+++ garnome-0.12.2/gnome/scrollkeeper/files/buildDocBookCatalog Mon Jul 8 00:44:13 2002
@@ -109,10 +109,10 @@
found=`find /usr/share/xml -iname "iso*amsb.ent" 2> /dev/null`
fi
if [ "$found" = "" ] ; then
- found=`find /usr/local -iname "iso*amsb.ent" 2> /dev/null`
+ found=`find /usr/share/sgml -iname "iso*amsb.ent" 2> /dev/null`
fi
if [ "$found" = "" ] ; then
- found=`find /usr/share/sgml -iname "iso*amsb.ent" 2> /dev/null`
+ found=`find /usr/local -iname "iso*amsb.ent" 2> /dev/null`
fi
if [ "$found" = "" ] ; then
echo could not locate iso-amsb.ent of ISO DocBook entities
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]