-
Notifications
You must be signed in to change notification settings - Fork 624
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
configure: error: could not find bash >= 3.1 #365
Comments
I can confirm this error on systems with bash version 5+ |
thanks vin for the heads up. |
fixed upstream jcmvbkbc/crosstool-NG#56 |
@vinhjaxt Thank you! works on raspbian too |
Same error on Arch Linux |
I just changed: |
Trying to install this on WSL + ubuntu. jcable's fix worked for me. |
now that i figured it's required to use this sdk to build pycopy for esp8266 it's not in usable state 😢 |
esp-open-sdk build and then pycopy esp8266 build using it is fine, as exemplified by pycopy CI builds: https://github.com/pfalcon/pycopy/runs/1457821945 . Maybe it's not fine on some overmodern distros, which is sad, but there's a choice of not falling for overmodern distros, or use docker, etc. When I fall myself for overmodern distros (it happens to everyone eventually, but the keyword is exactly "eventually"), I'll fix it here (can't fix not seeing an issue, right?). Until then, good people above gave hints how to fix it on your side. |
not sure what you are trying to say by "overmodern distros" - i am using |
And I'm not using osx, sorry. |
nevermind i get the spirit around here. |
Same error on Ubuntu 20.04. Fix from vinhjaxt works. |
I guess a better solution now is described in ticket #380 Update crosstools-ng as this solves additional problems. |
This almost worked for me on Ubuntu 20.04. I also had to copy over the
With @vinhjaxt I get further (I think?)
In build.log it looks like the problem is downloading a file.
Tries a bunch more URLs, then eventually...
Wait lol I found the problem. They renamed it to And this is why applications that auto-download files should always cheek for the latest version of things. eyerolls Trouble is I have no clue how to tell the script where to find the new one. I don't know anything about makefiles other than how to edit specific lines in a template that are commented "Put your libraries and app name here", etc. |
Alright, think I've finally got it working! In total here's what I did that finally worked (using Ubuntu 20.04 WSL)
Using code, nano, or your editor of choice, add
And finished! Note: I did also have to tweak some of the dependencies specified in the Readme since some packages weren't found or are installed under a different command (ex python2 rather than python), but nothing too difficult to fix. |
@Pecacheu - Version 2.3.0 of Expat is now removed from sourceforge due to exploits on that version, so best to switch to 2.4.1.... more eyes rolling ? |
In addition to the issues described above, I had to fix some other things to get this to build on Ubuntu 21.10. The end result (which gets me a clean build on Ubuntu 21.10 of an apparently working toolchain) can be found here: #391 Note that I'm using expat 2.1.0; the comments above suggest that expat 2.4.1 is a drop-in replacement, and (so far) it has not been pulled for security issues. So you might want to do that differently than I did. |
This worked for me. Only I switched the
line 193 with
Since I am running bash 5+ (to be more specific 5.1.16) |
telling it where to find it in the Makefile worked for me: |
Ubuntu 18
appears after
make
commandfor the solution follow the link
https://bbs.archlinux.org/viewtopic.php?id=244333
The text was updated successfully, but these errors were encountered: