Re: gnome-hello: strange scrollkeeper errors.



Murray Cumming Comneon com wrote:

I'm getting odd scrollkeeper errors when distchecking gnome-hello [1]

I get _lots_ of these errors:
 Cannot create log file: ${prefix}/var/log/scrollkeeper.log : No such file
or directory
I remember seeing these with an old version of GTK+ but I don't know what
the solution was.

Then I see a _lot_ of things like this:

/home/murrayc/cvs/gnome2/gnome-hello/gnome-hello-2.0.2/=inst/var/scrollkeepe
r/index/253

/home/murrayc/cvs/gnome2/gnome-hello/gnome-hello-2.0.2/=inst/var/scrollkeepe
r/scrollkeeper_docs

and then a simple, mysterious
 make: *** [distcheck] Error 1

I would appreciate any advice. Everything is in the gnome-hello module if
anyone would like to investigate. The ChangeLog might be relevant.


[1] gnome-hello is meant to be our example of an ideal set of build files,
and maybe some sensible source code for an application. gedit is no longer
suitable for this purpose.
This was discussed on the list a while back, but I can't be bothered finding a reference.

I think the best solution for this is to add the following to the toplevel Makefile.am:
   # on uninstall scrollkeeper will leave behind an empty database
distuninstallcheck_listfiles = find . -type f -print | grep -v 'scrollkeeper'

This tells automake that the fact that the scrollkeeper database remains after "make uninstall" is okay (I assume most people would consider this okay). Setting this variable is documented in the automake manual, so it shouldn't cause any compatibility problems with future versions of automake.

James.

--
Email: james daa com au
WWW:   http://www.daa.com.au/~james/






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