nsz32 / docklike-plugin

A Dock-like Taskbar Plugin for XFCE
GNU General Public License v3.0
334 stars 44 forks source link

Makefile gives all-recursive error #95

Closed goddard-guryon closed 3 years ago

goddard-guryon commented 3 years ago

I'm compiling the code from git, but I get this error (basically cmake closes due to recursion error, which is caused by extern "C" in Dock.cpp file). I can't find any resource that talks about how to fix this, and it doesn't look like a missing dependency on my system (I'm on Arch but I need to compile it because running yay -S gives me this:

...
==> Starting pkgver()...
==> Updated version: xfce4-docklike-plugin-git 20210228-1
==> Sources are ready.
==> Making package: xfce4-docklike-plugin-git 20210228-1 (Sun Apr  4 14:19:20 2021)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Making all in src
make[1]: Entering directory '/home/goddard/.cache/yay/xfce4-docklike-plugin-git/src/docklike-plugin/src'
  CXX      libdocklike_la-Hotkeys.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-dirty.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6
libtool: and run autoconf again.
make[1]: *** [Makefile:641: libdocklike_la-Hotkeys.lo] Error 63
make[1]: Leaving directory '/home/goddard/.cache/yay/xfce4-docklike-plugin-git/src/docklike-plugin/src'
make: *** [Makefile:480: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error making: xfce4-docklike-plugin-git

For the record, I also got this error when compiling from git but using libtoolize && aclocal && autoconf && automake && make (suggested here) fixes it.

EDIT: Here is the complete output of all the commands

davekeogh commented 3 years ago

Hi. I believe this is related to issues #93 and #91 and may be fixed by: https://github.com/davekeogh/xfce4-docklike-plugin/commit/cb43f954a09ac26253ad20544168599e40c31410.

Try building from my fork and let me know.

Apoo711 commented 2 years ago

Hi, I still seem to be getting this issue, which seems to have been fixed. I've also tried using @davekeogh 's fork and I still get the errors. I'm trying to install this using the git version on Ubuntu 22.04 using and I'm on arm64.