diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2012-08-20 19:01:25 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2012-08-20 19:01:25 +0000 |
commit | 25d78ecbd764173db754061abeb275f33f3e35ed (patch) | |
tree | 511798d47b035e0ba14bd778119f9616a8393dc4 /chapter06 | |
parent | 3f99c28d74c982ff69062cf16f879ad11cd6637a (diff) |
Add flex patch to fix regression suite errors.
Add PATH to su invocations to ensure /tools/bin is included
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9943 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/bash.xml | 2 | ||||
-rw-r--r-- | chapter06/coreutils.xml | 2 | ||||
-rw-r--r-- | chapter06/flex.xml | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/chapter06/bash.xml b/chapter06/bash.xml index 06db04163..571427627 100644 --- a/chapter06/bash.xml +++ b/chapter06/bash.xml @@ -89,7 +89,7 @@ <para>Now, run the tests as the <systemitem class="username">nobody</systemitem> user:</para> -<screen><userinput remap="test">su nobody -s /bin/bash -c "make tests"</userinput></screen> +<screen><userinput remap="test">su nobody -s /bin/bash -c "PATH=$PATH make tests"</userinput></screen> <para>Install the package:</para> diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index de033830f..1b0906cec 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -107,7 +107,7 @@ fail because the regression test has not been updated for the latest time zone data.</para> -<screen><userinput remap="test">su nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes -k check || true"</userinput></screen> +<screen><userinput remap="test">su nobody -s /bin/bash -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes -k check || true"</userinput></screen> <para>Remove the temporary group:</para> diff --git a/chapter06/flex.xml b/chapter06/flex.xml index 9de4a189c..b1feaf6cd 100644 --- a/chapter06/flex.xml +++ b/chapter06/flex.xml @@ -41,6 +41,10 @@ <sect2 role="installation"> <title>Installation of Flex</title> + <para>First, fix some regression tests:</para> + +<screen><userinput remap="pre">patch -Np1 -i ../&flex-bison-patch;</userinput></screen> + <para>Prepare Flex for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info</userinput></screen> |