-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL.txt
76 lines (44 loc) · 2.14 KB
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Installation instructions for the Coinvent System:
=======================================================
Requirements:
-- A linux operating system preferably Ubuntu Trusty Tahr 14.04 or later.
-- Installation by root of the HETS toolkit:
http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets/installation_e.htm
The following packages should be installed using a package manager such as apt-get or synaptic. For example run
sudo apt-get install liblablgtksourceview2-ocaml-dev lilypond timidity imagemagick java-common python2.7 python2.7-dev lua5.1 lua5.1-policy-dev
Install on your machine cpdf from here (Choose the right exectuable for your operating system):
http://community.coherentpdf.com
place the right executable (cpdf) in your path for example, in a terminal from the directory where cpdf is downloaded type
sudo cp cpdf /usr/bin
sudo chmod a+x /usr/bin/cpdf
to check /usr/bin is in your path type
echo $PATH
(choose a directory that is displayed by that command)
=======
Install the Amalgamation software in your home directory (~):
git clone https://github.com/meppe/Amalgamation.git
=======
Run the following command in your home directory (~):
git clone https://github.com/ewenmaclean/coinvent_demo
now type the following commands:
cd ~/coinvent_demo
./build_interface
you can now run the system by typing
cd ~/coinvent_demo
./coinvent
The following extras are optional to give a desktop icon on ubuntu, and useful casl syntax highlighting:
======
In ubuntu, run the following commands:
cd ~/coinvent_demo
sudo cp casl.lang /usr/share/gtksourceview-2.0/language-specs
sudo cp casl.xml /usr/share/mime/packages
sudo update-mime-database
======
Edit the file coinvent.desktop and run_coinvent.sh in the coinvent_demo directory, replace the $HOME with the actual value of $HOME -- i.e. the result of typing
echo $HOME
now copy the desktop item and make the exectuable runnable - type these commands:
cd ~/coinvent_demo
chmod a+x run_coinvent.sh
cp coinvent.desktop ~/Desktop
===
Now you should be ready to run the system by double clicking the item on the Desktop - some examples are in the examples directory.