Tried compiling the project but got only as far as compling mhmake, which appears to be failing because of missing headers; have near-zero experience with developing on windows, any pointers? VS2017 is installed with JDK, so all deps should be there.
error output
You need to have the following tools installed: flex, bison and python. I am using the ones of cygwin (buildall.sh)
Ah, wasn't obvious from the error.
Got to new error now:
note
line 389 is this:
b4_defines_if(can't see anything wrong with it.
Are you sure you are using the correct versions of bison and flex (versions currently in cygwin):
❯❯❯ bison --version bison (GNU Bison) 3.0.4
Geschreven door Robert Corbett en Richard Stallman.
❯❯❯ flex --version flex 2.6.4
Yes, can confirm I have exact same versions of flex & bison.
How important is it to have perl installed exactly under C:? Already had required perl on my PATH, but just noticed instructions say it needs to be a portable edition and living right under C.
Edit: tried now also w/ portable ver insalled, still the same:
Last edit: laur 2018-09-01
The place where perl is installed is not important (except for the fact that in buildall.sh currently the path is hard coded).
The important thing is that not the perl of cygwin is used, but a windows version of perl. This is because of the makefiles of openssl are not compatible with the cygwin version of perl.
Yes, I had edited buildall.sh hot to require that installation path.
Any suggestion re. that
/usr/bin/m4:src/bisondata/lalr1.cc:389: ERROR: end of file in string
exception?
I have no clue. I am running the compilation on a windows 10 pc and on a windows 7 pc, without any problem. Both are 64-bit.
Maybe the version of m4 installed:
❯❯❯ /usr/bin/m4 --version
m4 (GNU M4) 1.4.18
Packaged by Cygwin (1.4.18-1)
Could it be that the file lalr1.cc got converted from unix format to dos format?
m4 ver the same as well.
Linefeed format is a good call. I do recall having to change buildall.sh to unix format.
Do you have core.autocrlf explicitly configured in your gitconfig?
Edit: that was it - on windows, git's core.autocrlf (check with git config --get core.autocrlf) is set to true, meaning files are checked-out in windows format.
Either change git config, or convert all files to unix format via
find . -type f -print0 | xargs -0 dos2unixmhmake compiles, can be closed now.
Last edit: laur 2018-09-02