Commit 951ee8d1 authored by Maxime Perrotin's avatar Maxime Perrotin

Update Makefile - install asn1scc

parent 695736e3
......@@ -40,15 +40,17 @@ update:
git pull
dependencies:
apt install python3-pyside2.* || echo 'PySide2 is not available in your system. Try to run "sudo pip3 install --user --upgrade pyside2'
apt install python3-antlr3
apt install pyside2-tools || :
sudo apt install python3-pyside2.* || echo 'PySide2 is not available in your system. Try to run "sudo pip3 install --user --upgrade pyside2'
sudo apt install python3-antlr3
sudo apt install pyside2-tools || :
#apt install python3-matplotlib
apt install python3-pygraphviz
apt install python3-stringtemplate3
apt install python3-singledispatch
# optional dependencies from taste: spedometer, properties, dmt, pymsc, asn1-value-editor
sudo apt install python3-pygraphviz
sudo apt install python3-stringtemplate3
sudo apt install python3-singledispatch
# install ASN1SCC in ~/.local/bin
mkdir -p ~/.local/bin
cd ~/.local ; wget -q -O - https://github.com/ttsiodras/asn1scc/releases/download/4.2.4.0f/asn1scc-bin-4.2.4.0f.tar.bz2 | tar jxpvf - ; cd bin ; ln -s ../asn1scc/* .
# make sure that ~/.local/bin is in your PATH
install:
@pip3 install --user --upgrade .
......
......@@ -83,24 +83,6 @@ The installation will be done in the `~/.local` folder by the Python3 pip tool.
export PATH=~/.local/bin:$PATH
```
OpenGEODE uses the ASN1 [ASN1SCC](https://github.com/ttsiodras/asn1scc) for the datatypes. You must install it manually:
Get the latest binary release from [here](https://github.com/ttsiodras/asn1scc/releases)
Then run (possibly as root):
```bash
$ cd /opt
$ tar xvf asn1scc-bin-4.xx.tar.bz2 # Use the file name version you got
$ echo 'export PATH=$PATH:/opt/asn1scc' >> ~/.bashrc
```
Open a new terminal and check that it works:
```bash
$ mono /opt/asn1scc/asn1.exe
```
Once you have the dependencies installed you can update the tool by running the following commands:
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment