-
Notifications
You must be signed in to change notification settings - Fork 45
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
01-toolchain failing @ binutils build #13
Comments
I'm working on getting this to build on Debian. I have it working to the point where it ends the 03-mkiso with an error, the rest seems to build. You will need a lot of tools for this. I do get asked for the sudo passwd. Here is what I install to get this to build:
Do you have sudo installed and setup? If not you will need that. The easiest way when doing a fresh install on Debian is to skip adding the root passwd during install, you will then get sudo added during the install. Once I get this working as it should, I'll write a tutorial and post a link to it (if that's ok with the author of the scripts). BTW - I have built LFS manually in the past, this script is awesome. You get a lot more the the LFS book and that within a few hours. I spent about 4 weeks on my build of LFS 6.3 back then. |
I do have it working now, with 2 workarounds. I should have the site up and a tutorial ready by Friday. |
Nice! |
@M0E-lnx script 01-toolchain have some a little bit problem with working directory permission. It does not run fully as root, only some parts required root access thats why it use sudo. @hyperclock debian always give problem when building LFS. If you can get it working on debian, dont forget share the workaround, i will put into README, very appreciate it :) |
I built a iso today and was able to test it in Virtualbox. I do want to test again without the symlinks, I saw you made a change so I will test that. It builds, but not "out-of-the-box" like it does with VenomLinux. So let me run a few more tests before saying this works. I only had it work twice, I like 4-5 tests before I declare something to work. |
Ok cool. Thank you for testing out the script. :D |
So I ran a total of 12 tests using Debian 10 on 3 diffrent boxes. I have setup a quick tutorial on how I do this using Debian 10 as a host. I hope it's ok to link it here. It was done very quickly, so there will be fixes to that. https://werxlab.org/lfs/build-own-lfs-easy-with-debian-host-lfs-scripts/ is where it's at. |
Thats good. I will add required packages for debian into readme and mention you and your website. Thanks for testing :D |
I like this idea, so decided to give it a try and ran into a problem right way.
I'm using a fresh install of debian 10 as the host
Looks like the first step is binutils and it is compiling fine, but looks like during the
make install
step, it wants to create/tools/{lib,lib32}
and it is failing due to permissions.I did notice the readme says this script should ask for sudo password, but it did not. I have never built LFS manually, so I dont know if it's a good idea to run this whole 01-toolchain script as root.
Any advice would be welcomed.
Thanks
The text was updated successfully, but these errors were encountered: