diff options
author | P. J. McDermott <pjm@nac.net> | 2012-01-06 00:01:00 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-01-06 00:01:00 (EST) |
commit | c39940707d5058d913eb84f4d399b1e90d0b7123 (patch) | |
tree | c31434fbea6d69a345c57737b79afd57459fed24 | |
parent | ae700bbfb7bae6d417f0155255466de1e36d882d (diff) |
Fix EGLIBC installation error.
Without specifying install_root in 'make install', we see:
$ make install
LANGUAGE=C LC_ALL=C; export LANGUAGE LC_ALL; \
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../eglibc-2.14/libc
objdir=`pwd` install
[...]
./scripts/mkinstalldirs /usr/lib64
mkdir /usr/lib64
mkdir: cannot create directory `/usr/lib64': Permission denied
make[1]: *** [/usr/lib64/libc.a] Error 1
make[1]: Leaving directory `/home/pj/bbl/sys/fsmnt/src/eglibc-2.14/lib
c'
make: *** [install] Error 2
(EGLIBC's Makefile uses the mkinstalldirs script to try to make lib64
under /usr.)
-rw-r--r-- | temporary-bootstrap-builder-setup.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/temporary-bootstrap-builder-setup.txt b/temporary-bootstrap-builder-setup.txt index 51a0098..cb21294 100644 --- a/temporary-bootstrap-builder-setup.txt +++ b/temporary-bootstrap-builder-setup.txt @@ -265,4 +265,4 @@ of either version 3.1.6 or the version of Linux running on your host system. > --with-__thread --with-binutils=${BBL}/cross-tools/bin \ > --with-headers=${BBL}/usr/include --cache-file=config.cache $ make - $ make install + $ make install_root=${BBL} install |