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
git is required to build i3 #2833
I just ran into this issue building in a vm without git.
The build fails with
I believe the problem is that those don't get defined properly. After installing git, it worked.
We should add a check in
Can't reproduce this on
Thanks for triaging my bug, @giuscri .
Note that only the configure step is affected by this. If the project is configured with git installed on the build system, then making the project will proceed normally whether or not git is installed.
The reliance on the git binary can be seen in
The command to set
added a commit
Jul 12, 2017
To my understanding that's not true. In fact, from the autoconf documentation:
In the snippet from configure.ac you posted,
referenced this issue
Aug 7, 2017
I found the link to this because I was having a similar problem with compiling.
In configure.ac where (as pointed out by acrisci) it says:
The VERSION number will come out empty, because this line
At least that's the case with my version of git (126.96.36.199)
Once I'd made that change then the configuration/build completed successfully
Apologies for the late reply - I hadn't noticed that my comment had generated further questions. The reason I have such an old version of git is that my department runs scientific linux version 7.4.
Linux 3.10.0-693.17.1.el7.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux