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]> |
Responded directly - oops. Replying to list for posterity’s sake… > Well, revisiting this now. I’ve upgraded to OS X El Capitan (10.11.3), and running Xcode 7.2. > > I’ve made sure that bison 3.0.4 is present in /usr/local/bin and takes precedence over the bison in Xcode (2.3) (`which bison` returns /usr/local/bin/bison) > > PostgreSQL 9.5 is installed along with headers and libs. > > Configure seems to work as expected and finds PostgreSQL and the correct bison. ./configure is being run with no options. > > Make fails with the following: > > /usr/bin/make -C libhelp > export DEBUG=ALL; export A4GL_SQLTYPE=nosql; export A4GL_LEXTYPE=C; export A4GL_OBJ_EXT=.o; \ > ../../bin/4glc -4 -DPORTABLE --namespace HELPLIB_aclfgl_ helplib.4gl > Error compiling helplib.4gl - check helplib.err > make[2]: *** [helplib.c] Error 2 > make[1]: *** [/Users/scott/src/aubit4gl/aubit4glsrc/plugins-1.2_38/libHELP_std.bundle] Error 2 > make: *** [corecompile] Error 2 > > All the above is on a fresh copy pulled from CVS. > > On a secondary note, is it normal that checking out via SVN only gives a few bits of code for some tree viewer and remote ui? CVS is the only thing that seems to work. > > Regards, > > Scott Stillwell > On Nov 23, 2015, at 12:59 PM, Scott Stillwell <[email protected]> wrote: > > 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 > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Aubit4gl-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss