user based - Glibc problem
Hello,
When Im trying to install Glibc on chapter 6 with the user based package system I find this error message : Code:
Makefile:72: warning: overriding commands for target `/usr/src/glibc/glibc-build/login/pt_chown' Maybe by making /usr/include as a install directory ? Roelof |
Hi,
since directories have already been created in /usr/include I'd say that /usr/include is already an install directory. If not, then you should definitely make it one. You should check the permissions of /usr/include/scsi. But there is another problem that I see here. Code:
/tools/bin/install: cannot create regular file `/usr/include/scsi/sg.h': Permission denied So check the following (as user glibc of course): Code:
ls -ld /usr/include |
Hello,
I know that's the problem. Im trying to solve that one that's why the question about install dir. ls -ld /usr/include Code:
drwxrwxr-t 15 root install 4096 Apr 26 07:50 /usr/include Code:
drwxr-xr-x 2 linux-headers linux-headers 84 Apr 26 06:54 /usr/include/scsi Code:
/usr/lib/pkgusr:/bin:/usr/bin:/tools/bin Code:
total 20 |
Quote:
this is exactly the problem that I mentioned in a previous thread: http://www.linuxquestions.org/questi...6/#post3940367 The scsi directory was created by linux-headers and therefor glibc does not have write permission. Just make /usr/include/scsi an install-dir. Then read my hint for upcoming failures again. Now that you have encountered one it should be clearer what I tried to describe. I am not sure if you might run into problems when compiling the kernel later in chapter 8. You will need access to directories that were created by linux-headers. But you most probably will create a user kernel in chapter 8 there might be some permission issues. If so, then try to compile and install the kernel as user linux-headers. I personally installed the headers as user kernel and also installed the compiled kernel as user kernel. But you might try it with two different users and let us know if it works. Code:
echo $PATH The install-wrappers also look OK so far. |
Oke,
glibc build is succeed. So thank you for learning me this method. Roelof |
All times are GMT -5. The time now is 10:50 AM. |