-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
Compile error on ArchLinux - node-4.0.0-rc.5 #2735
Labels
build
Issues and PRs related to build files or the CI.
Comments
Our hands are a little tied here because although we do support mkdir -p ~/bin/
ln -s $(which python2) ~/bin/python
export PATH=~/bin/:$PATH
./configure
make
etc. |
See also #418 |
buildroot-auto-update
pushed a commit
to buildroot/buildroot
that referenced
this issue
Mar 6, 2016
Remove the patches to use a python variable and instead force python2 into the PATH. Upstream the python variable was recently removed (see nodejs/node@c3e50ca) and due to dependencies directly calling python there is a reluctance to change this. Instead it is recommended to add python2 into PATH as the nodejs build machines do (see nodejs/node#418 and nodejs/node#2735). Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
derosier
pushed a commit
to LairdCP/wb-buildroot
that referenced
this issue
Feb 24, 2017
Remove the patches to use a python variable and instead force python2 into the PATH. Upstream the python variable was recently removed (see nodejs/node@c3e50ca) and due to dependencies directly calling python there is a reluctance to change this. Instead it is recommended to add python2 into PATH as the nodejs build machines do (see nodejs/node#418 and nodejs/node#2735). Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This was referenced May 30, 2017
BWhitten
pushed a commit
to LairdCP/wb-buildroot
that referenced
this issue
Dec 14, 2017
Remove the patches to use a python variable and instead force python2 into the PATH. Upstream the python variable was recently removed (see nodejs/node@c3e50ca) and due to dependencies directly calling python there is a reluctance to change this. Instead it is recommended to add python2 into PATH as the nodejs build machines do (see nodejs/node#418 and nodejs/node#2735). Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I wanted to try the new RC version but I can't compile it, here is the error.
using
doesn't work either.
The problem is that there is underlying call
python -c "import sys; print sys.byteorder"
which is python2 valid code, not python3, and my default python binary is python v3. Whyexport PYTHON=..
is not considered in node.gyp?Here is where the call is made
I think the best solution is the
configure
program itself to search for valid python2 binary.The text was updated successfully, but these errors were encountered: