Skip to content
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

Failed to make check on an old Linux: python3: no such file or directory #11352

Closed
Zenitur opened this issue Sep 16, 2017 · 9 comments · Fixed by #11433
Closed

Failed to make check on an old Linux: python3: no such file or directory #11352

Zenitur opened this issue Sep 16, 2017 · 9 comments · Fixed by #11433

Comments

@Zenitur
Copy link

Zenitur commented Sep 16, 2017

Running test/util/bitcoin-util-test.py...
../test/util/bitcoin-util-test.py
/usr/bin/env: python3: No such file or directory
make[3]: *** [check-local] Error 127

@meshcollider
Copy link
Contributor

meshcollider commented Sep 16, 2017

As mentioned in the build instructions, you need to have python3 installed. This isn't an issue with bitcoin, just install python3 and run again :)

@Zenitur
Copy link
Author

Zenitur commented Sep 16, 2017

Was python 2 deprecated?

@maflcko
Copy link
Member

maflcko commented Sep 16, 2017

https://pythonclock.org/

@maflcko maflcko closed this as completed Sep 16, 2017
@Zenitur
Copy link
Author

Zenitur commented Sep 16, 2017

@Zenitur
Copy link
Author

Zenitur commented Sep 16, 2017

RHEL 6 & 7 are still using python2. Withal, RHEL6 doesn't have python3 in default repository.

@maflcko
Copy link
Member

maflcko commented Oct 1, 2017

Actually we did not yet deprecate python2 in make && make check.

@maflcko maflcko reopened this Oct 1, 2017
@Zenitur
Copy link
Author

Zenitur commented Oct 1, 2017

Thank you!

@laanwj
Copy link
Member

laanwj commented Oct 2, 2017

RHEL 6 & 7 are still using python2. Withal, RHEL6 doesn't have python3 in default repository.

RHEL 6 doesn't have a c++11 compiler by default either, does it? At least gcc 4.4 is below the minimum version (4.7) we support: https://access.redhat.com/solutions/19458
I guess we care about RHEL 7 though.

@Zenitur
Copy link
Author

Zenitur commented Oct 3, 2017

laanwj, for RHEL, there is "devtoolset" repository with a later GCC versions. https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/

maflcko pushed a commit that referenced this issue Oct 3, 2017
fafff12 qa: Restore bitcoin-util-test py2 compatibility (MarcoFalke)

Pull request description:

  Currently `./configure && make check` will look for python3, then python2. As long as we support python2 (and use it as fallback), `make check` should run fine with both python2 and python3.

  Fixes #11352 by @Zenitur

Tree-SHA512: a335ebdd224328d6f924fe52a9b97de196926476c9ee04ce3280743ea93bcae355eb2d5d4bed4050c01b2e904105595eac7db2eaa9307207581caa0a98ebcc0b
codablock pushed a commit to codablock/dash that referenced this issue Sep 24, 2019
fafff12 qa: Restore bitcoin-util-test py2 compatibility (MarcoFalke)

Pull request description:

  Currently `./configure && make check` will look for python3, then python2. As long as we support python2 (and use it as fallback), `make check` should run fine with both python2 and python3.

  Fixes bitcoin#11352 by @Zenitur

Tree-SHA512: a335ebdd224328d6f924fe52a9b97de196926476c9ee04ce3280743ea93bcae355eb2d5d4bed4050c01b2e904105595eac7db2eaa9307207581caa0a98ebcc0b
barrystyle pushed a commit to PACGlobalOfficial/PAC that referenced this issue Jan 22, 2020
fafff12 qa: Restore bitcoin-util-test py2 compatibility (MarcoFalke)

Pull request description:

  Currently `./configure && make check` will look for python3, then python2. As long as we support python2 (and use it as fallback), `make check` should run fine with both python2 and python3.

  Fixes bitcoin#11352 by @Zenitur

Tree-SHA512: a335ebdd224328d6f924fe52a9b97de196926476c9ee04ce3280743ea93bcae355eb2d5d4bed4050c01b2e904105595eac7db2eaa9307207581caa0a98ebcc0b
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants