-
-
Notifications
You must be signed in to change notification settings - Fork 709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Error: installing from source on ubuntu #3360
Comments
error is same as |
ok so i was root and needed to run may be a bug in the build system as it did not abort on the failed call to |
Glad you figured it out! Let's leave this issue open for now, since we definitely do not want people hitting mysterious failures building Sandstorm. |
Otherwise building node-capnp fails if the user has never run `meteor`, due to not being able to find the development headers. This doesn't trigger if the build is run as the same user that ran meteor's `curl ... | sh` installer, which is why we haven't previously noticed it. Note that if the bundle is not present ./find-meteor-dev-bundle.sh will pull it in, but although we define a variable in terms of this at the top of the Makefile, its value is computed lazily, so it will not be run until it is actually needed. It might work to just use := instead of = when assigning the variable, but conceptually having the build process depend on node seems like the right thing (and it should also ensure a rebuild if the version of node/the bundle is updated). Fixes sandstorm-io#3360
I opened #3361, which fixes this. Per the commit message, it looks like the issue is that you ran the meteor install as a regular user, but then tried to build as root, so root's |
error from
make
on fresh digital ocean ubuntu boxuname -a
prep
error message
The text was updated successfully, but these errors were encountered: