On Fri, Dec 14, 2012 at 11:14 PM, Simon Geard <[email protected]> wrote:
>
> Does it work if you simply rebuild bash, according to the instructions
> in the book? No need to actually install it - just run the steps up to
> "make", and run readelf on the resulting binary in order to see if it's
> valid.
>
> Also, someone else asked you to run "ls -l /tools/bin/bash", but I don't
> see the output of that command in any of your emails. Might be
> important?
>
> Simon.
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
> Make is the step that fails for me. Initially it gave an error like yacc:
Permission denied but now it gives the following error:
/bin/sh: bashbug: Permission denied
make: *** [bashbug] Error 1

ls -l /tools/bin/bash gives (run as user lfs):
-rwxr-xr-x 1 root root 3184266 Dec 15 03:52 /tools/bin/bash

I am suspicious about the links.
readlink -f /usr/bin/yacc gives /usr/bin/yacc.... BUT /usr/bin/yacc
contains:
#! /bin/sh
exec '/usr/bin/bison' -y "$@"

which LOOKS like a script executing bison. Is it executing the correct
bison?

readlink -f /bin/sh gave:
/bin/dash

until I changed it moments ago with sudo rm /bin/sh and sudo ln -s
/bin/bash /bin/sh
now readlink -f /bin/sh correctly gives:
/bin/bash

Does the fact that it pointed to "dash" mean big trouble for all packages
built during chapter 5?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to