Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I tried to install Bison according to the instructions. When I configure the source code with ./configure in my directory :~/LCU1/bison-3.0$ the error message below appears:

checking for GNU M4 that supports accurate traces... configure: error: no acceptable m4 could be found in $PATH. GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended. GNU M4 1.4.15 uses a buggy replacement strstr on some systems. Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.

Though I have already included M4 in my PATH variable with PATH=$PATH:/home/LCU1/m4-1.4.17/bin. However, I cannot find a folder named /bin in /m4-1.4.17 in the file manager.

share|improve this question
    
Did you try sudo apt-get install m4 and then retrying? –  i08in Feb 27 at 15:12
    
You need to fist install all the dependencies. Why are you compiling bison, it is in the repos. –  bodhi.zazen Feb 27 at 19:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.