GNOME Bugzilla – Bug 94705
Can't compile libgnomeuimm 1.3.10
Last modified: 2004-12-22 21:47:04 UTC
Makefile.in's of libgnomeuimm are expecting all gtkmm packages to be part of same subdir. Solution is to remove references to files not in the libgnomeuimm package and rerun automake and friends (autoreconf).
Created attachment 11360 [details] [review] remove references to makefile fragments not present in libgnomeuimm tarball
But those files do exist in libgnomeuimm: http://cvs.gnome.org/lxr/source/gnomemm/libgnomeuimm/tools/m4 Maybe they aren't being distributed - you could look at the same stuff in gtkmm to see what we do there. But I wouldn't expect the automake include to affect building from a tarball anyway. Maybe if you showed us the error we could help you.
The files do not exist in the tarball. The only tarballs that currently contain those files are gtkmm and gconfmm: bbell@pokey:/usr/src/debian/gtkmm$ find . -name Makefile_list_of_sources.am_fragment ./gtkmm1.3/gtkmm1.3-1.3.23/tools/Makefile_list_of_sources.am_fragment ./gtkmm1.3/gtkmm1.3-1.3.23/tools/m4/Makefile_list_of_sources.am_fragment ./gtkmm1.3/gtkmm1.3-1.3.23/tools/pm/Makefile_list_of_sources.am_fragment ./gconfmm1.3/gconfmm1.3-1.3.8/tools/Makefile_list_of_sources.am_fragment ./gconfmm1.3/gconfmm1.3-1.3.8/tools/m4/Makefile_list_of_sources.am_fragment I don't know why they're not included in the tarball, I have no way of knowing that, because I don't know how you produce your tarballs. Anyway, the reason that it won't compile is because the dependencies in the Makefile.in's are wrong. The proper way to correct the dependencies is to rerun automake. automake will fail because the above-mentioned files are missing.
Here is the error produced when trying to build from the unmodified tarball: make[4]: Entering directory `/usr/src/debian/gtkmm/libgnomeuimm1.3/libgnomeuimm-1.3.10/libgnomeui/libgnomeuimm' make[4]: *** No rule to make target `../../../libgnomecanvasmm/libgnomecanvas/libgnomecanvasmm/item.h', needed by `icon-list.lo'. Stop.
Do you actually use 'make dist' to build your tarballs? I thought that method did not work here, but perhaps I was wrong. I'll submit another patch, one that gets those files distributed.
Created attachment 11369 [details] [review] distribute Makefile_list_of_sources.am_fragment files
Great. Applied. I assume that this makes "make all distcheck" work for you. Yes, we do use "make dist".