For various reasons, I had trouble building bison from source, so I
found and installed a binary verion (2.0) for my OS (AIX 5.2). I'm not
able to install to "/usr/local", so installed instead to my <home_dir>.
So, after installtion everything is installed at:
<home_dir>/usr/local
Which has suddirs of bin, include, info, lib, man, share.
Additionally, <home_dir>/usr/local/bin is included in my PATH variable.
When, I try to build an application which requires bison, I get:
bison -y -d -v `test -f 'soapcpp2_yacc.y' || echo './'`soapcpp2_yacc.y
bison: cannot open file `/usr/local/share/bison/m4sugar/m4sugar.m4': A
file or directory in the path name does not exist.
The m4sugar.m4 file does exist, but it is at
<home_dir>/usr/local/share/bison/m4sugar/m4sugar.m4 instead.
Does anyone know of a work around such that bison would look for
m4sugar.m4 in an alternate location?