GNOME Bugzilla – Bug 779337
git master branch fails to compile.
Last modified: 2017-03-01 13:47:00 UTC
I get the following error: CXX main.o make[3]: *** No rule to make target 'legacy/gsm-resources.o', needed by 'gnome-system-monitor'. Stop. make[3]: Leaving directory '/home/hussam/cache/gnome/gnome-system-monitor/src/gnome-system-monitor/src' make[2]: *** [Makefile:641: all-recursive] Error 1 make[2]: Leaving directory '/home/hussam/cache/gnome/gnome-system-monitor/src/gnome-system-monitor/src' make[1]: *** [Makefile:599: all-recursive] Error 1 make[1]: Leaving directory '/home/hussam/cache/gnome/gnome-system-monitor/src/gnome-system-monitor' make: *** [Makefile:464: all] Error 2 This is a clean checkout of gnome-system-monitor from git master branch.
Strange, I have just made a completely clean checkout, and system monitor builds just fine. Adding Benoit to CC, maybe he can help me out here.
Hello, what do you mean by clean checkout ? In a brand new directory ? If not, even by running again the autogen, you might run into this. Try a "git clean -x -f" (=> https://manpages.debian.org/jessie/git-man/git-clean.1.en.html ) ?
I have tried cloning the repository from scratch, and building, and it did work that way.
I did git clone git://git.gnome.org/gnome-system-monitor --depth=1 cd gnome-system-monitor NOCONFIGURE=1 ./autogen.sh ./configure --prefix=/usr --libexecdir=/usr/lib --enable-systemd --disable-static make I just discovered that removing --disable-static makes it compile correctly.
And it makes sense because we now have a static library in the build process.
Would it be possible to remove that configure option from configure.ac? Thank you.
I don't think so, this is a generic libtool flag.
Ok, thank you for looking into this.