Compiling (from latest git source) on Manjaro...

Moderators: MattKingUSA, khz, muldjord, deva

Post Reply
JamesPeters
Established Member
Posts: 188
Joined: Fri Jun 29, 2018 6:35 pm
Has thanked: 8 times
Been thanked: 15 times

Compiling (from latest git source) on Manjaro...

Post by JamesPeters »

Since I'm using Manjaro and it's an Arch derivative, it has different package names from Debian/Ubuntu, and I'm unsure what dependencies to install before compiling DrumGizmo from the latest git source. It's failing in the ./autogen.sh step (with the error "autoreconf: error: automake failed with exit status: 1"), so I assume I'm missing something. Can anyone please provide a list of required dependency packages for Manjaro?

Also note: on the compiling/installing in Linux page there are a few spelling errors:

-the word "dependencies" is misspelled as "dependecies" (missing the "n")
-the word "argument" is misspelled as "argumnt" (missing the "e"),
-it says "Now fire up your favorite DAV and everything should be dandy." (not DAW). :)

Note: DrumGizmo failed to build from the AUR with the same error too. That's the first time I've seen anything fail to build from the AUR automatically in Manjaro.

(edit) I guess it might have something to do with this:

viewtopic.php?f=57&t=23319
User avatar
deva
Established Member
Posts: 281
Joined: Sun Oct 23, 2016 10:15 am
Has thanked: 3 times
Been thanked: 30 times
Contact:

Re: Compiling (from latest git source) on Manjaro...

Post by deva »

I have fixed the spelling errors on the website and just pushed a fix to the compilation error on the develop branch.
Thanks for reporting :-)
JamesPeters
Established Member
Posts: 188
Joined: Fri Jun 29, 2018 6:35 pm
Has thanked: 8 times
Been thanked: 15 times

Re: Compiling (from latest git source) on Manjaro...

Post by JamesPeters »

I tried compiling from the git again this morning (several hours after your post) and it gave me the same error.

I then tried building it in Xubuntu (from a live USB, after installing the prerequisites) and got past the ./autogen.sh stage, but during the make stage it had errors. I gave up. :)
User avatar
deva
Established Member
Posts: 281
Joined: Sun Oct 23, 2016 10:15 am
Has thanked: 3 times
Been thanked: 30 times
Contact:

Re: Compiling (from latest git source) on Manjaro...

Post by deva »

Did you change to the develop branch before building?
The master branch, which is the one checkout out by default in git, does not yet contain the fix.
JamesPeters
Established Member
Posts: 188
Joined: Fri Jun 29, 2018 6:35 pm
Has thanked: 8 times
Been thanked: 15 times

Re: Compiling (from latest git source) on Manjaro...

Post by JamesPeters »

I didn't do that, because I just followed what it said on your page for "Get the latest source code through git". I don't know how to "change branches". I have never used the git command before.

It's ok. I was able to figure out how to do that. But I still had to use an Ubuntu variant to do the build since despite meeting all the known requirements (I checked the AUR's git for those, to know if I had them installed), it still wouldn't build in Manjaro. But that's what flash drives are for. :)
User avatar
deva
Established Member
Posts: 281
Joined: Sun Oct 23, 2016 10:15 am
Has thanked: 3 times
Been thanked: 30 times
Contact:

Re: Compiling (from latest git source) on Manjaro...

Post by deva »

After you have cloned the repository:
cd drumgizmo
git checkout develop
git submodule update --init --recursive

and then you should be all set

In a nut-shell; If you clone the repository you will get the master branch, which is always containing the latest released version.
In this case you want something that we have fixed but not yet released and this is located on the develop branch.
JamesPeters
Established Member
Posts: 188
Joined: Fri Jun 29, 2018 6:35 pm
Has thanked: 8 times
Been thanked: 15 times

Re: Compiling (from latest git source) on Manjaro...

Post by JamesPeters »

I just did this instead:

Code: Select all

git clone -b develop http://git.drumgizmo.org/drumgizmo.git --recursive
(First I had to discover the exact name of the development branch, of course.)

Anyway it failed to build on Manjaro at the very next step (./autogen.sh). That was the issue after realizing I had to find the development branch and download from it. Since the list of required packages on the DrumGizmo site has Ubuntu package names (not useful for knowing what packages I need in Manjaro), I checked the packages necessary to build the git which is in the AUR, and installed them (I was only missing one of them). That didn't help.

Here's the full output I got when doing that step:

Code: Select all

autoreconf: export WARNINGS=no-unsupported
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force 
autoreconf: running: /usr/bin/autoconf --force
configure.ac:625: warning: The macro `AC_HAVE_LIBRARY' is obsolete.
configure.ac:625: You should run autoupdate.
./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from...
configure.ac:625: the top level
configure.ac:630: warning: The macro `AC_HAVE_LIBRARY' is obsolete.
configure.ac:630: You should run autoupdate.
./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from...
configure.ac:630: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:9: installing './compile'
configure.ac:12: installing './config.guess'
configure.ac:12: installing './config.sub'
configure.ac:4: installing './install-sh'
configure.ac:4: installing './missing'
Makefile.am: installing './INSTALL'
dggui/Makefile.am: installing './depcomp'
dggui/Makefile.am: error: Objective C++ source seen but 'OBJCXX' is undefined
dggui/Makefile.am:   The usual way to define 'OBJCXX' is to add 'AC_PROG_OBJCXX'
dggui/Makefile.am:   to 'configure.ac' and run 'autoconf' again.
plugin/vst/Makefile.am:6: warning: ':='-style assignments are not portable
plugin/vst/Makefile.am:6: warning: filter-out -Werror -Wall ,$(CXXFLAGS: non-POSIX variable name
plugin/vst/Makefile.am:6: (probably a GNU make extension)
plugin/vst/Makefile.am:6: warning: 'CXXFLAGS' is a user variable, you should not override it;
plugin/vst/Makefile.am:6: use 'AM_CXXFLAGS' instead
parallel-tests: installing './test-driver'
autoreconf: error: automake failed with exit status: 1
Anyway I was able to build it using a Ubuntu live USB stick, so it's not critical that I'm able to do this in Manjaro specifically.
User avatar
deva
Established Member
Posts: 281
Joined: Sun Oct 23, 2016 10:15 am
Has thanked: 3 times
Been thanked: 30 times
Contact:

Re: Compiling (from latest git source) on Manjaro...

Post by deva »

Other users have been reporting that same issue, and we may have tracked it down to the version of automake.
Could you post the output from `automake --version` here?
JamesPeters
Established Member
Posts: 188
Joined: Fri Jun 29, 2018 6:35 pm
Has thanked: 8 times
Been thanked: 15 times

Re: Compiling (from latest git source) on Manjaro...

Post by JamesPeters »

I just tried building DrumGizmo again, in case the version of automake changed since I had posted (in case that was the issue and it was resolved in an update of automake). It failed the same way as before.

Here's the info:

Code: Select all

automake --version
automake (GNU automake) 1.16.4
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
That's the current version in the Manjaro official (core) repo.
User avatar
deva
Established Member
Posts: 281
Joined: Sun Oct 23, 2016 10:15 am
Has thanked: 3 times
Been thanked: 30 times
Contact:

Re: Compiling (from latest git source) on Manjaro...

Post by deva »

In fact it appears to be an issue with autoconf-2.71 which was release in january this year.
The "old" 2.69 version was released in 2012 - so my guess is that they broke something between 2012 and today.

In short; I will be looking for a solution in the DG code, but in the meantime, you should be able to compile with autoconf-2.69
dingodoppelt
Established Member
Posts: 15
Joined: Wed Feb 02, 2022 11:42 am
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: Compiling (from latest git source) on Manjaro...

Post by dingodoppelt »

sorry for reviving this thread, but I'm facing the same issue. I can't build locally anymore, but with github workflows autogen.sh runs fine on ubuntu 20.04 with autoconf 2.69. Manjaro and ubuntu 22.04 won't let me build.
Is there any progress on this issue?

User avatar
deva
Established Member
Posts: 281
Joined: Sun Oct 23, 2016 10:15 am
Has thanked: 3 times
Been thanked: 30 times
Contact:

Re: Compiling (from latest git source) on Manjaro...

Post by deva »

Have you tried the develop branch?

dingodoppelt
Established Member
Posts: 15
Joined: Wed Feb 02, 2022 11:42 am
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: Compiling (from latest git source) on Manjaro...

Post by dingodoppelt »

me stupid. develop works!
thanks a lot

User avatar
deva
Established Member
Posts: 281
Joined: Sun Oct 23, 2016 10:15 am
Has thanked: 3 times
Been thanked: 30 times
Contact:

Re: Compiling (from latest git source) on Manjaro...

Post by deva »

No, you are not stupid! The reason why you are having this problem is because I haven't pulled myself together and made a release with the fix yet :-)
(Which would implicitly merge the develop branch to master)

Post Reply