[SOLVED] mkdir: permission denied during binutils make install
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Similar to my previous reply. I do hope your not still using sudo......
Hope this helps.
I completely forget that messages.. You're right druuna, I used againg sudo. I've got other 2 questions.. considering that i've used only sudo as root, what's the best thing I can do to remedy?? (ex delete something or restart from a point).. when I restart to work with lfs I have to give again the command to use the bash of the user lfs??
Code:
source ~/.bash_profile
Thanks again druuna!!
Last edited by andrea_g90; 10-19-2010 at 03:42 PM.
You first need to redo chapter 4.
Become root (su - and not sudo su or sudo su -!) and start from chapter 4.1. You might get some "already exist" messages, ignore those. At the end of chapter 4.3 you start using the lfs user and can do chapters 4.4 and 4.5.
Now you can start with 5.4 (still as user lfs).
If you want to stop anywhere during chapter 5 and continue later on: Become user lfs again and continue where you left off. No need to parse any file (the environment is set when you become the lfs user).
BTW: Restarting during chapter 6 is a different story. We'll tackle that once you get there.
I've got one other problem, I haven't set already the root user in fact i haven't got any password for "su", but I've got one for "sudo su" that it's the same of main user!! There is a way to set the root user or i can simply give "sudo su"???
I would strongly suggest you use the LFS liveCD instead of ubuntu. A tip that was also given in your previous thread.
If you still do want to continue with ubuntu make sure it complies to build LFS (vii. Host System Requirements). Deviating from these requirements will get you into trouble later on.
I've taken all the precautions ("Believe/Hope") for ubuntu.. the only thing that could cause me some problems is gcc, even if it's regular for the book..
Code:
andrea@Slevin:~$ gcc --version
gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
andrea@Slevin:~$
Anyway thanks for your help I have appreciated very much. I hope that it's all for the moment... bye
As the book says, running the test suites on the toolchain is not mandatory. Some failures are even expected. If there weren't any failures during configure and make then you should be OK.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.