rednut / docker-unifi-controller

unifi controller runnning in docker
53 stars 33 forks source link

Document/remove `@VERSION inc` #4

Open jbeda opened 8 years ago

jbeda commented 8 years ago

I may be dense (and is anyone really a GNU Make expert?) but I'm not sure how this line is supposed to work. When I run make on my precise server I get:

jbeda@knapsack:~/src/docker-unifi-controller$ make
make: VERSION: Command not found
make: *** [version_bump] Error 127

Is there some obscure utility I need to install?

karrots commented 8 years ago

Not really obscure but not installed by default if your not generally building C/C++ programs on said install. Running apt-get install automake should fix your issue.

jbeda commented 8 years ago

Thanks for responding. This isn't that big a deal, honestly so don't waste too much time :)

Installing automake didn't work. Is there a command someplace called VERSION or is this baked into gnu make someplace?

karrots commented 8 years ago

Sorry I miss read that you have make installed and the error was actually from make. Not an expert either but VERSION is a file that is being read into a variable at the beginning of the Makefile.