-
Notifications
You must be signed in to change notification settings - Fork 2
AWB Installation Ubuntu
These instructions cover Ubuntu 14.4 (Trusty). Instructions for older versions of Ubuntu can be found here.
Beyond the normal build tools the following packages need to be installed:
% sudo apt-get install subversion cvs git % sudo apt-get install g++ % sudo apt-get install libpopt-dev libqt4-dev perlqt-dev zlib1g-dev % sudo apt-get install libterm-readline-gnu-perl libio-pty-perl % sudo apt-get install scons % sudo apt-get install libenum-perl
The following are needed for LEAP builds:
% sudo apt-get install python-pygraph python-ply python-glpk expect-dev
Optionally you might find the following packages useful for debugging:
apt-get install verilog gtkwave
Bluespec requires an older version of libgmp, a multiprecision arithmetic library used by Haskell. Without a suitable version of libgmp, Bluespec dies with error:
[keflemin-vs-lin64-2 pm(45)] bsc /proj/vssad/local/x86_64_linux31/pkgs/Bluespec/lib/bin/linux64/bsc: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory
Unlike 12.04, 14.04 does not include a backwards compatible package in apt. Fortunately, since this package has no dependencies, we can just use the old package from 12.04. First, we need to tell apt about 12.04. In /etc/apt/sources.list.d/precise.list put
deb http://us.archive.ubuntu.com/ubuntu/ precise universe deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe
And now
% apt-get update % sudo apt-get -t precise install libgmp3c2
# apt-get install swig flex bison
Continue with the system-wide installation.