GNOME Bugzilla – Bug 394481
Build Error in SVN
Last modified: 2007-01-18 20:54:16 UTC
I get the following build error from a fresh SVN checkout error CS0006: cannot find metadata file `../Util/Util.dll' Compilation failed: 1 error(s), 0 warnings make[2]: *** [Images.dll] Error 1 make[2]: Leaving directory `/home/kjk38/mysrc/beagle/images' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/kjk38/mysrc/beagle' make: *** [all] Error 2
Created attachment 79811 [details] [review] Fix build Ok, I committed this patch to fix the two build errors I was getting from a fresh SVN checkout, I hope this doesn't break for anyone else, if it does, please revert and we will work on the problem here. The second error I experianced (once Util.dll and BeagleClient/Beagle.dll were built manualy) was this: /usr/bin/install -c beagle-build-index.tmp /usr/sbin/beagle-build-index /bin/sh: line 1: beagle-dump-index: No such file or directory /usr/bin/install -c beagle-dump-index.tmp /usr/sbin/beagle-dump-index /usr/bin/install: cannot stat `beagle-dump-index.tmp': No such file or directory make[2]: *** [install-data-local] Error 1 make[2]: Leaving directory `/home/kjk38/mysrc/beagle/beagled' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/kjk38/mysrc/beagle/beagled' make: *** [install-recursive] Error 1
What version of automake are you using?
If all these things are failing, it looks like there is a bigger issue during at autogen-time. Can you attach the output of an autogen run? (With the Makefile.am as it originally was)
The changes to beagled/Makefile.am need to be backed out, the dump index tool stuff is already in CLEANFILES.
kjk38@kjk38-laptop:~/bin$ automake --version automake (GNU automake) 1.9.6 Written by Tom Tromey <tromey@redhat.com>. Copyright 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. and I backed out of the changes made to beagled/Makefile.am, I'll attach the autogen output in a moment.
Created attachment 79819 [details] log of autogen.sh run The following output did no get dumped to the file, but here it is: acinclude.m4:124: warning: underquoted definition of AM_CHECK_PYMOD run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG /usr/share/aclocal/progsreiserfs.m4:13: warning: underquoted definition of AC_CHECK_LIBREISERFS cat: /etc/ld.so.conf.d/*.conf: No such file or directory cat: /etc/ld.so.conf.d/*.conf: No such file or directory
Ok, this seems to be a case of the outdated/misdated/wrong gnome-common. I checked out the current svn of gnome-common and installed, then re-autogened and everything was fine, I'll revert the other changes as well.
Since its a case of "outdated/misdated/wrong gnome-common", its notabug - right :) ?
I am seeing something similar related to the Makefile.am in beagled. Building from a fresh svn works but when trying to make install beagled/beagle-dump-index seems to be missing. I think this is due to $(DUMP_INDEX_WRAPPER) missing in ALL_TARGETS or $(DUMP_INDEX_WRAPPER) being included in SBIN_WRAPPERS for they will be installed - but if D_I_W is not in ALL_T it has not been created at that point. This will only happen if you use a clean svn (thus no preexisting wrapper in beagled) and try to make install. I will commit a change to svn that adds DUMP_INDEX_WRAPPER to ALL_TARGETS since this is where BUILD_INDEX_WRAPPER and MANAGE_INDEX_WRAPPER from the SBIN_WRAPPERS are as well. The other solution would be to remove D_I_W from SBIN_W. But since Joes comment on svn, r3212 states: "Do a bunch of big changes to beagle-dump-index, and now install it by default. We'll use it as a diagnostic tool in future releases. It makes use of the new GetHitsForUris() method." I think it should be created and installed.
Commited the changes described above in svn, r3275