I have a file 0-9digits.y and i want to run bison like this and it prompts xcode command line developer tools to download m4. I download it and when I run it again it still persists.
% bison -o 0-9digits.c 0-9digits.y xcode-select: Failed to locate 'm4', requesting installation of command line developer tools.
I downloaded bison with homebrew and this is the version:
% bison --version bison (GNU Bison) 3.8.2 Written by Robert Corbett and Richard Stallman. Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The m4 is included in the path variable as shown below (I obviously have /usr/bin on Path):
% which m4
/usr/bin/m4
I saw somewhere maybe I need to download the Command line Tools but they are already installed as I run the following command:
% xcode-select --install
xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates
Frosso Varsou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.