Yes, I had already set the PATH variable. The the bison executable is being found alright. The file that it isn't finding is m4sugar.m4, which apparently is in a non standard directory.
-----Original Message----- From: Anouar LACHHEB [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 11:27 AM To: Irvine, Chuck R [LTD] Subject: Re: Can't find m4sugar.m4 / alternate install dir Hi Irvine, Since install path of Bison is not central, you should add Bison path to your $PATH env variable. Best regards, AnL. ---- Original message ---- >Date: Tue, 14 Mar 2006 11:16:05 -0600 >From: "Irvine, Chuck R [LTD]" <[EMAIL PROTECTED]> >Subject: Can't find m4sugar.m4 / alternate install dir >To: <help-bison@gnu.org> > >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 > > > >_______________________________________________ >Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison _______________________________________________ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison