You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
carolyns@ugrpc /cygdrive/c/Program Files (x86)/Discourse_Parser_Dist/bllip-parser-master
$ make
C:/Program Files (x86)/GnuWin32/bin/make -C first-stage/PARSE parseIt
/usr/bin/sh: -c: line 0: syntax error near unexpected token `('
/usr/bin/sh: -c: line 0: `C:/Program Files (x86)/GnuWin32/bin/make -C first-stage/PARSE parseIt'
make: *** [PARSE] Error 1
this looks like a bash version issue to me, so my bash version is
carolyns@ugrpc /cygdrive/c/Program Files (x86)/Discourse_Parser_Dist/bllip-parser-master
$ bash --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>
and make version is
carolyns@ugrpc /cygdrive/c/Program Files (x86)/Discourse_Parser_Dist/bllip-parser-master
$ make --version
GNU Make 3.81
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.
This program built for i386-pc-mingw32
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
$ 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>
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.
The text was updated successfully, but these errors were encountered: