make[4]: Entering directory '/home/scott/retroboot/coreboot/x230_4mb/payloads/external/tianocore/tianocore/BaseTools/Tests'
/bin/sh: 1: python: not found
ran sudo ln -s $(which python2) /usr/bin/python
and that fix it
just thought you might like to know
Running PopOS 20.04. Tried:
1. git clone https://notabug.org/retroboot/retroboot; cd retroboot
1. sudo make install-dependencies-ubuntu
1. make
Eventually errored out on:
make[4]: Entering directory '/home/scott/retroboot/coreboot/x230_4mb/payloads/external/tianocore/tianocore/BaseTools/Tests'
/bin/sh: 1: python: not found
ran sudo ln -s $(which python2) /usr/bin/python
and that fix it
just thought you might like to know
Oh, yeah I think maybe you should make sure what python version you have.
It should be python3. /usr/bin/python should be python3, and there should also be /usr/bin/python3 just in case
yeah mate install the dependencies
Maybe there's an error with the script.
Oh, yeah I think maybe you should make sure what python version you have.
It should be python3. /usr/bin/python should be python3, and there should also be /usr/bin/python3 just in case
I have both python2 and python3 installed, but neither was aliased to plain 'python' so I had to add that as symbolic link. At first I tried linking to python3 but that resulted in more build errors, so then I tried linking to python2 and that worked. In any case, I imagine some folks that might like to build retroboot will find their distro doesn't have an alias for python and the retroboot build breaks. Now that I think about it, this is probably an upstream bug in tianocore, as they assume python is the name for python2, rather than python2.
I have both python2 and python3 installed, but neither was aliased to plain 'python' so I had to add that as symbolic link. At first I tried linking to python3 but that resulted in more build errors, so then I tried linking to python2 and that worked. In any case, I imagine some folks that might like to build retroboot will find their distro doesn't have an alias for python and the retroboot build breaks. Now that I think about it, this is probably an upstream bug in tianocore, as they assume python is the name for python2, rather than python2.
I have updated the build instructions to mention this. I've written instructions for how to make sure you have python2. See:
https://retroboot.org/docs/git/#python
I thought it was python3 because the meclean script uses python3, but I neglected to think that other parts of the build system uses python2. which is really strange, because on my system python --version reports 3.x.x and yet I can build tianocore.
This should be fixed upstream in Tianocore. Nowadays, most people have python2 and python3 in PATH, without a python executable or symlink.
I thought it was python3 because the `meclean` script uses python3, but I neglected to think that other parts of the build system uses python2. which is really strange, because on my system `python --version` reports 3.x.x and yet I can build tianocore.
This should be fixed upstream in Tianocore. Nowadays, most people have python2 and python3 in PATH, without a `python` executable or symlink.
Running PopOS 20.04. Tried:
Eventually errored out on:
make[4]: Entering directory '/home/scott/retroboot/coreboot/x230_4mb/payloads/external/tianocore/tianocore/BaseTools/Tests' /bin/sh: 1: python: not found
ran sudo ln -s $(which python2) /usr/bin/python and that fix it just thought you might like to know
yeah mate install the dependencies
Maybe there's an error with the script.
Oh, yeah I think maybe you should make sure what python version you have.
It should be python3. /usr/bin/python should be python3, and there should also be /usr/bin/python3 just in case
I have both python2 and python3 installed, but neither was aliased to plain 'python' so I had to add that as symbolic link. At first I tried linking to python3 but that resulted in more build errors, so then I tried linking to python2 and that worked. In any case, I imagine some folks that might like to build retroboot will find their distro doesn't have an alias for python and the retroboot build breaks. Now that I think about it, this is probably an upstream bug in tianocore, as they assume python is the name for python2, rather than python2.
I have updated the build instructions to mention this. I've written instructions for how to make sure you have python2. See:
https://retroboot.org/docs/git/#python
I thought it was python3 because the
meclean
script uses python3, but I neglected to think that other parts of the build system uses python2. which is really strange, because on my systempython --version
reports 3.x.x and yet I can build tianocore.This should be fixed upstream in Tianocore. Nowadays, most people have python2 and python3 in PATH, without a
python
executable or symlink.