opensourcecobol / Open-COBOL-ESQL

Open Cobol ESQL (ocesql) is an open-source Embedded SQL pre-compiler and run-time library designed for COBOL applications which access an open-source database.
https://www.osscons.jp/osscobol/
GNU Lesser General Public License v3.0
51 stars 24 forks source link

Issue with scanner.c #10

Open heronour opened 6 years ago

heronour commented 6 years ago

Hello, While running the command 'make' I got this error: /bin/sh ../ylwrap scanner.l .c scanner.c -- : make[2]: *** [scanner.c] Erreur 1

Before I had this one /bin/sh ../ylwrap parser.y y.tab.c parser.c y.tab.h parser.h y.output parser.output -- byacc byacc: e - line 20 of "/nfs/home/nelamrao/workspace/Labs/cobol/Open-COBOL-ESQL/ocesql/parser.y", syntax error %defines ^

Can you help please!

n-isaka commented 6 years ago

Hello,

I tried it with "byacc", but it got an error. In checking OCESQL, "bison - y" is used by YACC command. Before executing "configure", try specifying "bison - y" for YACC.

# yum install bison $ export YACC="bison -y" $ ./configure

GitMensch commented 3 years ago

There will be a PR to fix that, soon; as a workaround: touch ocesql/scanner.c ocesql/parser.c config.h.in configure ocesql/Makefile.in dblib/Makefile.in, so make won't try to recreate those.

GitMensch commented 2 years ago

looks this can be closed, at least after #22 is done.