After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 627641 - Build of docs/tutorial fails with gtk+-2.21.6 on Slackware 13.1
Build of docs/tutorial fails with gtk+-2.21.6 on Slackware 13.1
Status: RESOLVED DUPLICATE of bug 623150
Product: gtk+
Classification: Platform
Component: Documentation
2.21.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2010-08-22 12:16 UTC by Jeffrey Bedard
Modified: 2010-08-22 19:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeffrey Bedard 2010-08-22 12:16:37 UTC
db2html does not set the output directory, causing the build to fail.



$ diff -du Makefile.orig Makefile

--- Makefile.orig       2010-08-22 15:05:17.769111059 +0300
+++ Makefile    2010-08-22 15:05:50.537111061 +0300
@@ -573,7 +573,7 @@
 html: gtk-tut.sgml
        if test -w $(srcdir); then \
          (cd $(srcdir); \
-          db2html gtk-tut.sgml; \
+          db2html -o gtk-tut gtk-tut.sgml; \
           test -d html && rm -r html; \
           mv gtk-tut html; \
           mkdir html/images; \



$ diff -du Makefile.in.orig Makefile.in

--- Makefile.in.orig    2010-08-22 15:12:53.564111061 +0300
+++ Makefile.in 2010-08-22 15:13:25.981111060 +0300
@@ -573,7 +573,7 @@
 @HAVE_DOCBOOK_TRUE@html: gtk-tut.sgml
 @HAVE_DOCBOOK_TRUE@    if test -w $(srcdir); then \
 @HAVE_DOCBOOK_TRUE@      (cd $(srcdir); \
-@HAVE_DOCBOOK_TRUE@       db2html gtk-tut.sgml; \
+@HAVE_DOCBOOK_TRUE@       db2html -o gtk-tut gtk-tut.sgml; \
 @HAVE_DOCBOOK_TRUE@       test -d html && rm -r html; \
 @HAVE_DOCBOOK_TRUE@       mv gtk-tut html; \
 @HAVE_DOCBOOK_TRUE@       mkdir html/images; \



# Output of failing command:

if test -w .; then \
  (cd .; \
   db2html gtk-tut.sgml; \
   test -d html && rm -r html; \
   mv gtk-tut html; \
   mkdir html/images; \
   cp images/*.png html/images); \
fi
Using catalogs: /etc/sgml/catalog
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html
Working on: /home/jefbed/Downloads/gtk+-2.21.6/docs/tutorial/gtk-tut.sgml
Done.
mv: cannot stat `gtk-tut': No such file or directory
mkdir: cannot create directory `html/images': No such file or directory
cp: target `html/images' is not a directory
make: *** [html] Error 1



# Output of patched command:

if test -w .; then \
  (cd .; \
   db2html -o gtk-tut gtk-tut.sgml; \
   test -d html && rm -r html; \
   mv gtk-tut html; \
   mkdir html/images; \
   cp images/*.png html/images); \
fi
Using catalogs: /etc/sgml/catalog
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html
Working on: /home/jefbed/Downloads/gtk+-2.21.6/docs/tutorial/gtk-tut.sgml
Done.
Comment 1 Javier Jardón (IRC: jjardon) 2010-08-22 19:03:18 UTC

*** This bug has been marked as a duplicate of bug 623150 ***