Fwd: glibc can not be installed anywhere than in /usr

Jean-Michel Hautbois jhautbois@gmail.com
Wed May 25 15:33:00 GMT 2011


Hi Yann, list

First of all, crosstool-ng is a great tool, quite easy to configure.

I am currently trying to recompile a gcc for my x86_64 machine using
crosstool-ng-1.11.3, but I don't have root access on it.
When I am compiling it, it breaks at "Installing C library headers &
start files" step with the error :

[ALL  ]    /usr/bin/install: cannot remove `/usr/include/limits.h':
Permission denied
[...]
[ERROR]    >>  Error happened in: CT_DoExecLog[scripts/functions]
[ERROR]    >>        called from:
do_libc_start_files[scripts/build/libc/glibc-eglibc.sh-common@62]

When I looked at the glibc-eglibc.sh-common file I noticed that
--prefix is hardcoded with --prefix=/usr

According to me, this should not be the case, but is there any good
reason for doing that ?
As far as all the other libs can be installed in a specific directory
(for instance ${HOME}/project :))...
I didn't find anything in the "B - Known issues.txt" file related to that.

Thanks in advance for your help,
Best Regards,
JM

PS: sorry, didn't take care of the HTML mail !

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list