PrzemekWirkus / sbs2xml-conv

Very simple SBS (IBM Rhapsody) file format converter to XML.
MIT License
1 stars 2 forks source link

make all fails #1

Open rolfschumacher opened 9 years ago

rolfschumacher commented 9 years ago

Tried to do a make all under Linux, seems the Makefile was written for cygwin. In Makefile I commented out "# SHELL=C:/Windows/System32/cmd.exe" relying on the definition in the environment as SHELL=/bin/bash. Now I get rsc@rolf24:~/workspace/sbs2xml-conv$ make all flex lexer.l gawk "/#define YY_BUF_SIZE/{gsub(/16384/, "(10241024)")};{print}" lex.yy.c > lex.yy.c.new /bin/sh: 1: Syntax error: "(" unexpected Makefile:37: recipe for target 'flex' failed make: ** [flex] Error 2 rsc@rolf24:~/workspace/sbs2xml-conv$

petreDanielMarian commented 6 years ago

Hey, I had the same problem, but with the help of some great guys from stack overflow i managed to compile the file and make an executable which generates the .xml

The StackOverflow thread which contains some more info: https://stackoverflow.com/questions/51206691/error-on-unexpected-bracket-in-gawk/51210370#51210370

PrzemekWirkus commented 3 years ago

@rolfschumacher Indeed, Makefile is written for Windows/Cygwin users. At the time it was my development platform so Linux version was not provided.