Comments (6)
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
#
#
from deckard.
this must also be applied to other python files of course
from deckard.
Hi,
I met the same problem. But I found this,
#2
Currently, it works fine on my Ubuntu 15.04.
from deckard.
Thanks for the fix suggestion for the issue with python 3!
from deckard.
While installing on windows, use Cygwin instead of MinGW(-64).
And install packages:
- Bison,
- Flex,
- gcc-core,
- gcc-g++.
- Python 2
Hope helpful for this issue.
from deckard.
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?
from deckard.
Related Issues (20)
- What parameters are fine? Need help HOT 1
- Command line options for filter IDs not implemented HOT 3
- Vec generator failure HOT 3
- how to use a slice ?
- Crash on "return A?B:C" HOT 1
- vector generation HOT 3
- Build fails HOT 7
- Clone detection failure?need help HOT 3
- build fails HOT 8
- typefile and nodefiles
- Error: problem in vec generator step. Stop and check logs in times/
- post_cluster file is 0 bytes HOT 1
- Bug Report: cluster: Possible errors occurred with LSH. HOT 3
- Building errors
- Any chance to update this to PHP 7 or 8? HOT 1
- Why does Deckard act differently from one run to another?
- Problem in running Deckard for C project
- Building error HOT 2
- Build on Linux fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deckard.