help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't find m4sugar.m4 / alternate install dir


From: Irvine, Chuck R [LTD]
Subject: Can't find m4sugar.m4 / alternate install dir
Date: Tue, 14 Mar 2006 11:16:05 -0600

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? 

Thanks,
Chuck





reply via email to

[Prev in Thread] Current Thread [Next in Thread]