diff --git a/chapter06/automake.xml b/chapter06/automake.xml index e4c862f4e..d02700a27 100644 --- a/chapter06/automake.xml +++ b/chapter06/automake.xml @@ -55,11 +55,8 @@ systems with only one processor due to internal delays in individual tests. To test the results, issue: -mv -v /usr/lib/libfl.{so,save} -ln -sv libfl.a /usr/lib/libfl.so -make -j4 check -rm -v /usr/lib/libfl.so -mv -v /usr/lib/libfl.{save,so} +sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &:" t/lex-{clean,depend}-cxx.sh +make -j4 check Install the package: diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml index 9a3713ebf..5443326a9 100644 --- a/chapter06/creatingdirs.xml +++ b/chapter06/creatingdirs.xml @@ -20,10 +20,8 @@ install -dv -m 1777 /tmp /var/tmp mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src} mkdir -pv /usr/{,local/}share/{color,dict,doc,info,locale,man} mkdir -v /usr/{,local/}share/{misc,terminfo,zoneinfo} +mkdir -v /usr/libexec mkdir -pv /usr/{,local/}share/man/man{1..8} -for dir in /usr /usr/local; do - ln -sv share/{man,doc,info} $dir -done case $(uname -m) in x86_64) ln -sv lib /lib64 && ln -sv lib /usr/lib64 && ln -sv lib /usr/local/lib64 ;; esac diff --git a/chapter06/flex.xml b/chapter06/flex.xml index 45364de3f..6b4d42363 100644 --- a/chapter06/flex.xml +++ b/chapter06/flex.xml @@ -47,7 +47,7 @@ Prepare Flex for compilation: -./configure --prefix=/usr \ +./configure --prefix=/usr \ --docdir=/usr/share/doc/flex-&flex-version; Compile the package: diff --git a/prologue/bookinfo.xml b/prologue/bookinfo.xml index 5d95c53c5..40d0c5f10 100644 --- a/prologue/bookinfo.xml +++ b/prologue/bookinfo.xml @@ -17,7 +17,7 @@ Edited by Matthew Burgess - and Bruce Dubbs + and Armin K.