openstud...@kewla.com wrote:

                Binutils: (GNU Binutils; openSUSE 13.2) 2.24.0.20140403-6.1
                bison (GNU Bison) 2.7
                /usr/bin/yacc -> /usr/bin/yacc

            This is suspicious. Are you able to execute "yacc --version"
            In newer versions of Bison, yacc is not a symlink, but readlink
            should return an empty string in that case.

I don't know the command to execute. I use LFS 7.6

yacc --version

The result should be the same as 'bison --version'

In some cases yacc is just a wrapper script:

Cat /usr/bin/yacc
#! /bin/sh
exec '/usr/bin/bison' -y "$@"

We probably should change the check to:

if [ -h /usr/bin/yacc ]; then
  echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`";
elif [ -x /usr/bin/yacc ]; then
  echo yacc is `/usr/bin/yacc --version | head -n1`
else
  echo "yacc not found"
fi

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to