Re: Help needed to make gedit passing "make distcheck"



Paolo Maggi wrote:

Hi James,

This is a known problem that scrollkeeper does not completely remove the indices it creates when they are emptied again, and is not obviously a bug.

If you are using Automake 1.7 however, you can tell automake that it is okay for the scrollkeeper stuff to stay around after a "make uninstall". It uses the command $(distuninstallcheck_listfiles) to list all the files in the install prefix -- if it doesn't list anything, then the uninstall was successful. The default value for this variable is:

   distuninstallcheck_listfiles = find . -type f -print

To ignore the scrollkeeper stuff, you could add the following to the toplevel Makefile.am of your package: distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper'


Thanks James, your suggestion helped me a lot.

Hovewer, I still have a similar problem:

ERROR: files left after uninstall:
 (check DESTDIR support)
./gnome/cvs/gedit-HEAD/gedit-2.3.1/=inst/share/gnome/help/gedit/C/figures/gedit_recent_files_menu_icon.png
./gnome/cvs/gedit-HEAD/gedit-2.3.1/=inst/share/gnome/help/gedit/C/figures/gedit_window.png
./gnome/cvs/gedit-HEAD/gedit-2.3.1/=inst/share/gnome/help/gedit/ro/figures/gedit_window.png
./gnome/cvs/gedit-HEAD/gedit-2.3.1/=inst/share/omf/gedit/gedit-C.omf
./gnome/cvs/gedit-HEAD/gedit-2.3.1/=inst/share/omf/gedit/gedit-ro.omf
./gnome/cvs/gedit-HEAD/gedit-2.3.1/=inst/share/omf/gedit/gedit-de.omf
./gnome/cvs/gedit-HEAD/gedit-2.3.1/=inst/share/omf/gedit/gedit-es.omf
./gnome/cvs/gedit-HEAD/gedit-2.3.1/=inst/share/omf/gedit/gedit-fr.omf
./gnome/cvs/gedit-HEAD/gedit-2.3.1/=inst/share/omf/gedit/gedit-it.omf
./gnome/cvs/gedit-HEAD/gedit-2.3.1/=inst/share/omf/gedit/gedit-sv.omf
./gnome/cvs/gedit-HEAD/gedit-2.3.1/=inst/share/omf/gedit/gedit-ja.omf
./gnome/cvs/gedit-HEAD/gedit-2.3.1/=inst/share/omf/gedit/gedit-ko.omf
./gnome/cvs/gedit-HEAD/gedit-2.3.1/=inst/share/omf/gedit/gedit-zh_CN.omf
./gnome/cvs/gedit-HEAD/gedit-2.3.1/=inst/share/omf/gedit/gedit-zh_TW.omf
make[1]: *** [distuninstallcheck] Error 1
make[1]: Leaving directory `/gnome/cvs/gedit-HEAD/gedit-2.3.1/=build'
make: *** [distcheck] Error 1

Is this a known problem too?
It looks like a case of the makefiles not handling DESTDIR correctly. Take a look at the "make uninstall" rules related to those documentation files.

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]