Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no submodule mapping found - Ubuntu 16.04 #39

Closed
taheruddin opened this issue Nov 30, 2017 · 2 comments
Closed

no submodule mapping found - Ubuntu 16.04 #39

taheruddin opened this issue Nov 30, 2017 · 2 comments

Comments

@taheruddin
Copy link

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
Copy link
Contributor

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants