diff --git a/chapter06/glibc-exp.xml b/chapter06/glibc-exp.xml index 41a8f8ae1..deca6b651 100644 --- a/chapter06/glibc-exp.xml +++ b/chapter06/glibc-exp.xml @@ -41,6 +41,9 @@ edited Makefile and then copying it back over the original. --enable-add-ons: This enables the add-on that we install with Glibc: linuxthreads +--libexecdir=/usr/bin: This will cause the +pt_chown program to be installed in the /usr/bin directory. + sed 's/cross-compiling = yes/cross-compiling = no/' config.make > config.make~: This time, we're replacing cross-compiling = yes with diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index 849f24e08..2f6326863 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -19,7 +19,7 @@ would do. mkdir ../glibc-build && cd ../glibc-build && ../glibc-&glibc-version;/configure --prefix=/usr \ -   --enable-add-ons --libexecdir=/usr && +   --enable-add-ons --libexecdir=/usr/bin && cp config.make config.make.backup && sed 's/cross-compiling = yes/cross-compiling = no/' \    config.make > tmp~ &&