Closed csaund closed 4 years ago
Update:
I have tried adding SHELL := /bin/bash
to the top of the Makefile
although sh --version shows:
$ sh --version
GNU bash, version 4.4.12(3)-release (x86_64-unknown-cygwin)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
so I was skeptical of that working anyway
Update, it didn't like where make
lived (with Program Files (x86)
in the path) so I moved make and forced it to use a different path. I get the ominous #include <sys/resource.h>
error again, which the internet seems to advice "don't use windows" 🙃
Hello,
Background
My ultimate use case is getting to get this discourse parser to run. I am happy editing this third-party python to use the new python package, but I have the same compilation error as issue #48 and I am not sure how much retrofitting would be required to make it work anyway, so I would rather get the java version to compile and not touch this code.
The problem
I am trying to compile this on a windows machine using Cygwin, but upon
make
it quickly spits out the following:this looks like a bash version issue to me, so my bash version is
and make version is
But I am not sure which version of bash to use as some other sources for similar issues suggest that V3 is the cause of this error.
Also wondering if there's anything I could try related to #46. I have never worked in java and don't suspect it would help as I need to use it in a python project.
since it says line 0, perhaps it thinks the script isn't closed off correctly? But again, since many people seem to use it just fine, I suspect this might just be a versioning issue? FWIW I've looked through
parseIt.c
and it appears fine.I am sure it is a very small issue, but I am a bit at a loss as to how to fix it.
Any help resolving this would be greatly appreciated!
Other things I've tried
I have also tried compiling with MinGW (on the regular windows power shell) but had the far more ominous error of
which the internet seemed to attribute to my development environment, and is why I started trying cygwin in the first place.