Compiling (from latest git source) on Manjaro...
Moderators: MattKingUSA, khz, muldjord, deva
-
- 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...
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
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
- deva
- Established Member
- Posts: 285
- Joined: Sun Oct 23, 2016 10:15 am
- Has thanked: 3 times
- Been thanked: 31 times
- Contact:
Re: Compiling (from latest git source) on Manjaro...
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
Thanks for reporting
-
- 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...
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.
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.
- deva
- Established Member
- Posts: 285
- Joined: Sun Oct 23, 2016 10:15 am
- Has thanked: 3 times
- Been thanked: 31 times
- Contact:
Re: Compiling (from latest git source) on Manjaro...
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.
The master branch, which is the one checkout out by default in git, does not yet contain the fix.
-
- 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...
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.
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.
- deva
- Established Member
- Posts: 285
- Joined: Sun Oct 23, 2016 10:15 am
- Has thanked: 3 times
- Been thanked: 31 times
- Contact:
Re: Compiling (from latest git source) on Manjaro...
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.
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.
-
- 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...
I just did this instead:
(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:
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.
Code: Select all
git clone -b develop http://git.drumgizmo.org/drumgizmo.git --recursive
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
- deva
- Established Member
- Posts: 285
- Joined: Sun Oct 23, 2016 10:15 am
- Has thanked: 3 times
- Been thanked: 31 times
- Contact:
Re: Compiling (from latest git source) on Manjaro...
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?
Could you post the output from `automake --version` here?
-
- 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...
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:
That's the current version in the Manjaro official (core) repo.
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>.
- deva
- Established Member
- Posts: 285
- Joined: Sun Oct 23, 2016 10:15 am
- Has thanked: 3 times
- Been thanked: 31 times
- Contact:
Re: Compiling (from latest git source) on Manjaro...
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
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
-
- 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...
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?
-
- Established Member
- Posts: 15
- Joined: Wed Feb 02, 2022 11:42 am
- Has thanked: 1 time
- Been thanked: 4 times
- Contact:
- deva
- Established Member
- Posts: 285
- Joined: Sun Oct 23, 2016 10:15 am
- Has thanked: 3 times
- Been thanked: 31 times
- Contact:
Re: Compiling (from latest git source) on Manjaro...
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)