How to compile linux packages as lfs user
hi, I want to know how to compile packages as lfs user instead of default host user. I'm following the 6.6 guide, but when I try to create a folder or giving './configure' as lfs, a message tells me that I haven't the permission to do that...What I wrong?? ..thanks!
|
Quote:
|
Hi,
Chapter 2 and 3 should be done as user root. Chapter 4.1, 4.2 and 4.3 also as root user. The rest of 4 and all of chapter 5 should be done as user lfs. Are you sure you did not miss a step or made a mistake in chapters 3 and 4 (4.1, 4.2 and 4.3)?? Although this is a rather new release, these parts of the LFS book are common to the previous releases and have always worked. |
I have tryed two times to compile the LFS, and i found always the same problem.. however, I've set the permission of the user lfs to all the device /mount/lfs as it is explaned in the guide...
|
Quote:
|
Quote:
Still, I recommend you do it as follows: Code:
su root BTW, I do not really understand what you mean with digit. |
Quote:
Thanks, I'll try and I let you know! |
Quote:
|
Quote:
Just try Code:
su |
It doesn't work, my user password doesn't work with 'su' because i haven't got the password (I don't know how it is possible), the only way to became root is 'sudo su', but I think that it is different between the first one...
|
Quote:
If you do sudo su then you do have root privileges. However, Ubuntu is almost a sure source for trouble, when you try to build you LFS for the first time. I recommend to download the LFS liveCD and use the liveCD as host. |
Hi,
use sudo su - instead of sudo su!! The first gives you a full-blown root account, the second does not and will get you in to trouble with building LFS. |
thanks everybody...I'll try to make as you say!!
Quote:
I have the last question. I have got an Intel core 2 Duo (64bit), but I want to compile a X86 LFS from a X86 ubuntu..Is it necessary that I use CLFS or LFS is good???? |
Quote:
Code:
gcc version 4.3 (ubuntu-generic) Quote:
|
I'll try with LFS live cd...Thanks everybody for your help!! :)
|
All times are GMT -5. The time now is 01:46 PM. |