esa / opengeode

OpenGEODE - a free SDL State Machine editor for space applications...and more
https://opengeode.net
GNU Lesser General Public License v3.0
71 stars 20 forks source link

no submodule mapping found - Ubuntu 16.04 #39

Closed taheruddin closed 6 years ago

taheruddin commented 6 years ago

Hi, I am trying to install OpenGEODE on Ubuntu 16.04. But getting this error -

:~/opengeode$ make full-install fatal: no submodule mapping found in .gitmodules for path 'antlr3-python' Makefile:44: recipe for target 'update' failed make: *** [update] Error 128 :~/opengeode$ python --version Python 2.7.12 :~/opengeode$ python setup.py Traceback (most recent call last): File "setup.py", line 12, in import opengeode File "/home/taher/.local/share/Trash/files/opengeode.2/opengeode/init.py", line 28, in from opengeode import opengeode, version, SDL_Scene, SDL_View, parse, init_qt File "/home/taher/.local/share/Trash/files/opengeode.2/opengeode/opengeode.py", line 34, in import enum # NOQA ImportError: No module named enum

While I was installing the dependencies I got some error- E: Package 'libmono-corlib4.0-cil' has no installation candidate E: Package 'libmono-corlib2.0-cil' has no installation candidate E: Package 'libmono-system2.0-cil' has no installation candidate

After googling I have used - $ sudo apt install pkg-config python-pyside pyside-tools graphviz python-ply graphviz-dev libgraphviz-dev python-pip gnat $ sudo apt-get install mono-reference-assemblies-4.0 mono-devel mono-xbuild mono-mcs mono-devel $ sudo apt install mono-reference-assemblies-2.0 mono-devel libmono-cil-dev $ sudo apt install libmono-system-runtime4.0-cil libmono-system-web4.0-cil libmono-system-xml4.0-cil libmono-system4.0-cil mono-runtime $ sudo apt install libmono-system-numerics4.0-cil libmono-system-data-linq4.0-cil

Instead of - sudo apt install pkg-config python-pyside pyside-tools graphviz python-ply graphviz-dev libgraphviz-dev python-pip gnat libmono-system-runtime4.0-cil libmono-corlib4.0-cil libmono-system-runtime-serialization-formatters-soap4.0-cil libmono-system-web4.0-cil libmono-system-xml4.0-cil libmono-system4.0-cil mono-runtime libmono-system-numerics4.0-cil libmono-system-data-linq4.0-cil libmono-corlib2.0-cil libmono-system2.0-cil

Please, help to get it installed.

maxime-esa commented 6 years ago

ImportError: No module named enum

Try pip install enum34

(or pip2, if pip points to Python3)

If you have other dependency issues, let me know.

Another option is to download the virtual machine of TASTE (see https://taste.tools), it contains both the ASN.1 compiler and Opengeode properly installed.

taheruddin commented 6 years ago

Thanks for the clue. Needed to install - enum34, antlr3, singledispatch, pygraphviz using this commands-

$ pip install enum34 $ pip install http://www.antlr3.org/download/Python/antlr_python_runtime-3.1.2.tar.gz $ pip install singledispatch $ pip install pygraphviz $ sudo python setup.py install

Then, OpenGEODE installation has been successful.

Run Opengeode from terminal- $ opengeode

Thanks