Re: 1.3.11 candidate tarballs



Just a small glitch: I compiled glib-1.3.11 using

./configure
make
make install

and the install failed in docs/reference/glib with the following:

Making install in glib
make[3]: Entering directory
`/home/matthiasc/gnome/glib-1.3.11/docs/reference/glib'
make[4]: Entering directory
`/home/matthiasc/gnome/glib-1.3.11/docs/reference/glib'
make[4]: Nothing to be done for `install-exec-am'.
/bin/sh ../../../mkinstalldirs /usr/local/share/gtk-doc/html/glib
(installfiles=`echo ./html/*`; \
if test "$installfiles" = './html/*'; \
then echo '-- Nothing to install' ; \
else \
  for i in $installfiles; do \
    echo '-- Installing '$i ; \
    /usr/bin/ginstall -c -m 644 $i /usr/local/share/gtk-doc/html/glib; \
  done; \
  echo '-- Installing ./html/index.sgml' ; \
  /usr/bin/ginstall -c -m 644 ./html/index.sgml
/usr/local/share/gtk-doc/html/glib; \
fi)
-- Installing ./html/mainloop-states.gif
-- Installing ./html/index.sgml
/usr/bin/ginstall: cannot stat `./html/index.sgml': No such file or
directory
make[4]: *** [install-data-local] Error 1
make[4]: Leaving directory
`/home/matthiasc/gnome/glib-1.3.11/docs/reference/glib'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory
`/home/matthiasc/gnome/glib-1.3.11/docs/reference/glib'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/matthiasc/gnome/glib-1.3.11/docs/reference'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/matthiasc/gnome/glib-1.3.11/docs'
make: *** [install-recursive] Error 1

The reason for this is that configure detects that I have gtk-doc installed,
thus
make tries to rebuild the docs, but this fails due to SGML_CATALOG_FILES not
being
set properly. The result is that docs/reference/glib/html contains only the
mainloop.gif,
which in turn causes make install to think there is something to install in
html. It
then unconditionally tries to install index.sgml and fails, since it is
missing.

Now setting SGML_CATALOG_FILES properly and makeing again doesn't help,
since the
doc Makefiles exclusively rely on the stamp files (which have been generated
by the
previous build) and don't notice that html is empty.

I have to explicitly make clean and then make again, to get the docs built.


Matthias












[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]