Closed amebel closed 3 years ago
autogen
does not put anything in build
. The way that I build is
./autogen.sh --no-configure # otehrwise it will run configure
mkdir build
cd build
../configure # now run configure by hand
make -j #maybe you can skip this step?
make -j distcheck # runs unit tests too
BTW, Running configure in two different directories leaves the system in a confused mess. In that cse, you have to start clean.
I get the same error following your step in a new clone.
Argh. I gotta go walk the dog, I'll look at this in a few hours. I imagine there's probably some node.js
pre-req that you haven't installed ... and yes, configure
should look for that and not attempt to build the node bindings if its absent.
Why are you trying to replicate the release tarball? If you just need a working install, you can get that from the existing release tarball, right? So that's not the issue?
Huh. OK. I can reproduce this. So apparently, I have a file called package-lock.json
which is not checked into git. However, bindings/Makefile.am
adds it to the tarball. It works for me, cause I have this file... but not for you, because you don't ...
I cannot time-travel back to that git tag to fix this. There are two possible fixes: either checkin package-lock.json
or remove it from Makefile.am
I chose the latter. Now the node.js documentation says that although package-lock.json
is autogenerated, it can be checked into git, and maybe should, for reproducibility reasons. I don't know node.js
well enough to tinker with this, and indeed, it appears that npm no longer works: npm install
fails with a waterfall of libuv
errors ... it used to work fine a few months ago, before I said apt dist-upgrade
...
So that's the long story. Just edit Makefile.am
, remove package-lock.json
, rerun ./autogen.sh
and you'll get a tarball. It won't be the release tarball. If you must have the release tarball .. well, just copy the missing file.
Getting error when trying to build a tar ball as the one found at http://www.abisource.com/downloads/link-grammar/current/
steps followed
output of
make dist
What am I missing?