Reputation: 23
I am using gcc8.2 and linux operating system. I have bison package installed. Still I am getting the below error: echo "* Error: No suitable bison/yacc found. *" echo " Please install the 'bison' package." exit 1
I have checked the "$ac_cv_prog_YACC" and it is not having any value. It should be set to "bison -y" if bison is already installed.
Any idea why $ac_cv_prog_YACC does not have any value? I got this error when compiling the conntrack-tools package (version 1.0.1)
Upvotes: 0
Views: 1373
Reputation: 241671
You say
I have bison package installed.
But the test in the ./configure
file disagrees. That means that it cannot find an executable file named bison
anywhere in your $PATH
. You should start by verifying that $PATH
has the correct value and that there is an executable named bison
. (Apparently the ./configure
script for conntrack-tools only looks for bison
and byacc
, and not for yacc
.)
I don't know much about yocto
but I did find the following note in a change log for version 2.5.1:
bison-native no longer included in many dependency chains meaning some recipes need bison-native adding to DEPENDS
Upvotes: 2