Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Makefile.am:78: error: CPPFLAGS_FOR_BUILD must be set with '=' before using '+=' #18
compilation will not work with actual version?
The problem is that your distro has old autotools on it.
See the README.md (https://github.com/Gulden/gulden-official/README.md) troubleshooting section - which in turn will point you to the old_autotools branch - using this branch (which is identical codewise but makes allowances for old autotools) should resolve the issue..
Note you will also need the correct boost and berkley DB - also discussed in the README.md
Note also that there are binaries available as well, which are a lot easier to use if you are not an experienced C++ programmer or person with lots of experience dealing with autotool based projects.
" i can compile many altcoins without problems"
Gulden is based on the latest Bitcoin (0.13) and also contains a large amount of our own code and therefore has more modern requirements.
Anyway glad you have come right.
I believe it is autoconf that makes the difference and not automake, what version of autoconf do you have?
I can't give you an exact 'expected' version as I have not had time to track this down to specific versions, I only know that it works on some distros and not on others.
For those where it doesn't work the 'old_autotools' branch works fine - The two branches are identical except that 'old_autotools' has a pre-generated 'build-aux' folder which helps sidestep this issue...
I'm hoping to fix this for the upcoming version 2 release but until then I don't have time to look into it, if you happen to have time to look into the issue more exact information and/or a proper fix would be appreciated, otherwise simply use the 'old_autotools' branch.