This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]