Open sils opened 9 years ago
Here;s a fix for you, you need to explicitly use python2 since python3 is now getting default on mre and more systems:
diff --git a/src/ptgen/gcc/mainc.py b/src/ptgen/gcc/mainc.py
index 9226bba..fdcf253 100755
--- a/src/ptgen/gcc/mainc.py
+++ b/src/ptgen/gcc/mainc.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
#
#
this must also be applied to other python files of course
Hi, I met the same problem. But I found this, https://github.com/skyhover/Deckard/issues/2 Currently, it works fine on my Ubuntu 15.04.
Thanks for the fix suggestion for the issue with python 3!
While installing on windows, use Cygwin instead of MinGW(-64). And install packages:
Hope helpful for this issue.
Hi all, I met exactly the same problem as I was running build.sh in src/main/, in version 1.2
rm -f *.o cvecgen jvecgen cbugfilters jbugfilters out2html phpvecgen phpbugfilters out2xml cParseTreeMain jParseTreeMain phpParseTreeMain g++ -I../include -I../vgen/treeTra -o ptreeC.o -O3 -c -DCLANG ptree.cc make: *** No rule to make target
../ptgen/gcc/gccptgen.a', needed by
cvecgen'. Stop. Error: main make failed. Exit.
And I took all the fixes mentioned above,but it still wouldn't work(Install Bison,Flex and so on, specify python2 in/src/ptgen/gcc/mainc.py ). My Ubuntu version is ubuntu 14.04 LTS, any suggestion with this?
Hi, I'm getting:
by just executing the build.sh in src/main