Build error on Manjaro Budgie
Opened this issue · 7 comments
I have been using multiload-ng successfully in xfce on Manjaro. However on budgie I am getting the following error upon compiling.
* -----------------------------
* Configured multiload-ng version 1.5.2
* -----------------------------
*
* Using prefix: /usr
*
* CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall
* Building against GTK+2
*
* Install autostart entries: yes
*
* Enabled plugins:
* - standalone : no
* - awn : disabled (experimental)
* - indicator : no
* - lxpanel : no
* - mate-panel : no
* - system tray : no
* - xfce4-panel : no
*
* -----------------------------
make all-recursive
make[1]: Entering directory '/tmp/yaourt-tmp-pavel/aur-multiload-ng-common/src/multiload-ng-1.5.2'
Making all in common
make[2]: Entering directory '/tmp/yaourt-tmp-pavel/aur-multiload-ng-common/src/multiload-ng-1.5.2/common'
( cd ../data; ./generate-about-data.sh ../AUTHORS ) > about-data.c
( cd ../data; ./generate-binary-data.sh ) > binary-data.c
../data/generate-color-scheme-icons.sh > color-scheme-icons.inc
make all-am
make[3]: Entering directory '/tmp/yaourt-tmp-pavel/aur-multiload-ng-common/src/multiload-ng-1.5.2/common'
CC multiload_ng_core_la-about-data.lo
libtool: Version mismatch error. This is libtool 2.4.6, but the
libtool: definition of this LT_INIT comes from libtool 2.4.6.42-b88ce.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6
libtool: and run autoconf again.
make[3]: *** [Makefile:562: multiload_ng_core_la-about-data.lo] Error 63
make[3]: Leaving directory '/tmp/yaourt-tmp-pavel/aur-multiload-ng-common/src/multiload-ng-1.5.2/common'
make[2]: *** [Makefile:462: all] Error 2
make[2]: Leaving directory '/tmp/yaourt-tmp-pavel/aur-multiload-ng-common/src/multiload-ng-1.5.2/common'
make[1]: *** [Makefile:491: all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-pavel/aur-multiload-ng-common/src/multiload-ng-1.5.2'
make: *** [Makefile:423: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build multiload-ng-common.
==> Restart building multiload-ng-common ? [y/N]
Hi @tastyminerals, I think this is not an issue with multiload-ng. You need to clean out some build artifacts and start again. Try:
make clean
rm aclocal.m4
./autogen.sh
and then proceed normally.
Unfortunately I am getting the same result.
* -----------------------------
* Configured multiload-ng version 1.5.2
* -----------------------------
*
* Using prefix: /usr
*
* CFLAGS: -g -O3 -Wall
* Building against GTK+3
*
* Install autostart entries: yes
*
* Enabled plugins:
* - standalone : yes
* - awn : disabled (experimental)
* - indicator : yes
* - lxpanel : no
* - mate-panel : no
* - system tray : yes
* - xfce4-panel : no
*
* -----------------------------
[pavel@pavel-pc multiload-ng]$ ./config^C
[pavel@pavel-pc multiload-ng]$ make
make all-recursive
make[1]: Entering directory '/home/pavel/dev/system/multiload-ng'
Making all in common
make[2]: Entering directory '/home/pavel/dev/system/multiload-ng/common'
( cd ../data; ./generate-about-data.sh ../AUTHORS ) > about-data.c
( cd ../data; ./generate-binary-data.sh ) > binary-data.c
../data/generate-color-scheme-icons.sh > color-scheme-icons.inc
make all-am
make[3]: Entering directory '/home/pavel/dev/system/multiload-ng/common'
CC multiload_ng_core_la-about-data.lo
libtool: Version mismatch error. This is libtool 2.4.6, but the
libtool: definition of this LT_INIT comes from libtool 2.4.6.42-b88ce.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6
libtool: and run autoconf again.
make[3]: *** [Makefile:562: multiload_ng_core_la-about-data.lo] Error 63
make[3]: Leaving directory '/home/pavel/dev/system/multiload-ng/common'
make[2]: *** [Makefile:462: all] Error 2
make[2]: Leaving directory '/home/pavel/dev/system/multiload-ng/common'
make[1]: *** [Makefile:491: all-recursive] Error 1
make[1]: Leaving directory '/home/pavel/dev/system/multiload-ng'
make: *** [Makefile:423: all] Error 2
Do you get the same thing from a fresh clone of this repo?
What about when compiling other projects that use an autogen.sh
?
I did a fresh clone of multiload-ng repo.
Haven't tried autogen.sh
on other projects but it should work since some system packages were compiled from sources as well and no issues occurred.
Trying autoreconf -vfi
and then running the procedure didn't help either. Same with autoreconf --force --install
.
Sorry, I don't know much about the autoconf tools. From the version mismatch in the output it looked like an issue with existing generated files, but I guess not.
No problem at all. It feels like something distro related.