Closed ghost closed 3 years ago
Paperkey uses gnulib (see https://www.gnu.org/software/gnulib/) to provide SHA-1 and getopt_long functionality as they're not available on all platforms. If you want to built directly from the github version, try this:
git clone git://git.savannah.gnu.org/gnulib.git # there is also a github mirror at https://github.com/coreutils/gnulib.git
git clone https://github.com/dmshaw/paperkey.git
cd paperkey
../gnulib/gnulib-tool --update
autoreconf -f -i
./configure
make check
Alternately, you can use the releases in github at https://github.com/dmshaw/paperkey/releases. Those include the gnulib code as part of the package.
Is there any particular reason you do not include dependencies in your git repo? Or would you consider using something like submodules, subtrees or subrepos? I think a document with compilation steps like what you show here would be quite helpful as well.
Since this looks like an autotools build system I tried the "generic way" found here: http://www.bioinf.uni-freiburg.de/~mmann/HowTo/automake.html
But it does not seem to work:
What is the correct way to compile this program? I'm using archlinux on x64.