Re: yacc/bison error when building on OS X 10.10.5

Scott Stillwell <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
setting the environment variables prior to configure/make allowed it to compile.  Now to see if it works…thanks for the help!


> On Nov 23, 2015, at 12:25 PM, Mike Aubury <[email protected]> wrote:
> 
> You should be able to do something like :
> 
> PATH=/usr/local/bin:$PATH
> export PATH
> 
> ./configure ....
> 
> 
> You can also try
> 
> ./configure --with-bison=/usr/local/bin
> 
> 
> 
> 
> On 23 November 2015 at 18:03, Scott Stillwell <[email protected]> wrote:
>> I’ve installed 3.0.4…is there a way to get the make process to use THAT version (it’s in /usr/local/bin rather than /usr/bin)?  I can’t replace the /usr/bin version as it’s a symbolic link to the actual file in Xcode and it’s quite possible to break Xcode itself.
>> 
>> 
>>> On Nov 23, 2015, at 10:38 AM, Mike Aubury <[email protected]> wrote:
>>> 
>>> Is there any chance of installing a newer version of Bison - afaics -
>>> 2.3 is from 2006 :)
>>> 
>>> (You can probably download and install it in a different place on your
>>> drive, then set the path to pick that newer version up instead)
>>> 
>>> 
>>> If not - we might need to find out what the equivalent of
>>> "%name-prefix" was on that version [ it might be a case that its just
>>> %name-prefix="a4gl_yy" ].
>>> 
>>> 
>>> On 23 November 2015 at 15:52, Scott Stillwell <[email protected]> wrote:
>>>> Sorry to increase bandwidth on this, but could be pertinent:
>>>> 
>>>> aubit4glsrc  gcc -v
>>>> Configured with: --prefix=/Applications/Xcode7.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
>>>> Apple LLVM version 7.0.0 (clang-700.1.76)
>>>> Target: x86_64-apple-darwin14.5.0
>>>> Thread model: posix
>>>> 
>>>> aubit4glsrc  bison --version
>>>> bison (GNU Bison) 2.3
>>>> Written by Robert Corbett and Richard Stallman.
>>>> 
>>>> Copyright (C) 2006 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.
>>>> 
>>>> Scott
>>>> 
>>>>> On Nov 23, 2015, at 9:41 AM, Scott Stillwell <[email protected]> wrote:
>>>>> 
>>>>> Error received when ‘make’ing from either latest “relatively stable” source tarball or latest CVS.  Running Apple OS X 10.10.5 and several different versions of Xcode tried.
>>>>> 
>>>>> /usr/bin/make -C liblex/lex_esqlc
>>>>> /usr/bin/make -C ../../../compilers/4glc ../../incl/a4gl_API_lex_lib.h
>>>>> make[3]: `../../incl/a4gl_API_lex_lib.h' is up to date.
>>>>> /usr/bin/make -C ../../../compilers/4glc ../../incl/a4gl_API_lex.h
>>>>> make[3]: `../../incl/a4gl_API_lex.h' is up to date.
>>>>> /usr/bin/make -C ../../../compilers/4glc ../../incl/a4gl_API_parse_lib.h
>>>>> make[3]: `../../incl/a4gl_API_parse_lib.h' is up to date.
>>>>> /usr/bin/make -C ../../../compilers/4glc ../../incl/a4gl_API_parse.h
>>>>> make[3]: `../../incl/a4gl_API_parse.h' is up to date.
>>>>> /usr/bin/make -C ../../../compilers/4glc rules/generated/y.tab.c
>>>>> /usr/bin/make -C rules
>>>>> (cd generated; unset DEBUG; LANG=C LC_ALL=C /usr/bin/bison -y  -r all -d -v fgl.infx.yacc)
>>>>> fgl.infx.yacc:285.14-22: syntax error, unexpected string, expecting =
>>>>> make[4]: *** [generated/y.tab.c] Error 1
>>>>> make[3]: *** [rules/generated/y.tab.c] Error 2
>>>>> make[2]: *** [../../../compilers/4glc/rules/generated/y.tab.h] Error 2
>>>>> make[1]: *** [/Users/scott/src/aubit4glsrc/plugins-1.2_38/libLEX_EC.bundle] Error 2
>>>>> make: *** [corecompile] Error 2
>>>>> 
>>>>> Any other information needed, just ask.
>>>>> 
>>>>> Scott
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> Go from Idea to Many App Stores Faster with Intel(R) XDK
>>>> Give your users amazing mobile app experiences with Intel(R) XDK.
>>>> Use one codebase in this all-in-one HTML5 development environment.
>>>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
>>>> _______________________________________________
>>>> Aubit4gl-discuss mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
>> 
>> 
>> ------------------------------------------------------------------------------
>> Go from Idea to Many App Stores Faster with Intel(R) XDK
>> Give your users amazing mobile app experiences with Intel(R) XDK.
>> Use one codebase in this all-in-one HTML5 development environment.
>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
>> http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
>> _______________________________________________
>> Aubit4gl-discuss mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.