UMPS
From VirtualSquare
|
µMPS has been ported on GNU/Linux, FreeBSD, MacOS X (PPC) and SUN Solaris UNIX platforms.
[edit] Installation
Currently, two releases exist: 1.23-rc1 and 1-23-rc2.
The second version has some bugfixes and an automated installation/building process.
- 1.23-rc1 is better suited for quick testing and installation under non-privileged accounts.
- 1.23-rc2 supports autoconf/automake facilities, is better suited for system-wide installation, and compiles under FreeBSD without errors.
All that follows must be done as root.
[edit] Requirements
Before you proceed in the µMPS installation, you need some software in your system.
For the installation of µMPS from source, you can use any way to install them, since you will be able to configure your µMPS to find them.
To use the binary distribution of µMPS you must install LibElf and XForms provided from your distribution.
Note: we are referring to Ubuntu's package name, maybe on other distribution they will have a different name.
$apt-get install libelfg0 libelfg0-dev libforms1 libforms-dev
If you are going to install µMPS through the debian repository, all dependency will be automatically satisfied.
[edit] Installation from source
[edit] version 1.23-rc1
- download the source.
- un-tar the file
$tar xzf uMPS.1.23-RC1.tar.gz
- enter in the directory
$cd uMPS.1.23-RC1/
- compile the source
$make -C umps $make -C support
- set proper rights
$chown -R root:users examples umps support $chmod -R 755 examples umps support
- verify that /usr/local exists
$mkdir -p /usr/local $chmod 755 /usr/local
- move the three directories in your current working directory to /usr/local
$mv examples support umps /usr/local
And now you have a system-wide installation.
[edit] version 1.23-rc2
- download the source.
- un-tar the file
$tar xzf umps_1.23-rc2-2.tar.gz
- enter in the umps directory
$cd umps-1.23-rc2/
- configure the autotools
- Note:
- If your cross-toolchain isn't installed in /usr/local, you must specify --with-cross=PATH_TO_CROSS_TOOLCHAIN
- If you have a self-compiled libelf installation you must specify --with-elf=PATH_TO_LIBELF
- If you have a self-compiled libforms installation you must specify --with-forms=PATH_TO_LIBFORMS
- Obviously you must replace all those PATH_TO_ with the appropriate absolute path.
$./configure
- compile
$make
- install
$make install
And now you have a system-wide installation.
[edit] Installation with .deb packages
Note: µMPS debian packages are compiled to interact with the cross-toolchain debianized described here or here.
$dpkg -i umps_1.23-rc2_*.deb
And now you have a system-wide installation.
[edit] Installation using a debian repository
- First you need to install the cross-toolchain with this procedure or with this other one.
- Then you need to install µMPS:
$apt-get install umps
And now you have a system-wide installation.
[edit] Documentation
Here there are some useful papers.

