Building from sources on RHEL5 - MdsWiki
Navigation
Personal tools

From MdsWiki

Jump to: navigation, search

The following steps should work on a clean RHEL5 install and may provide an example on what is needed for other platforms.

Step Action Command
1Install build utilities
yum -y groupinstall "Development*" "X Software Development"
yum install imake
2 Install openmotif development

64-bit system:

yum -y install openmotif-devel.i386
mv /usr/bin/uil /usr/bin/uil32
yum -y install openmotif-devel

32-bit system:

yum -y install openmotif-devel
3 Install epel and freetds

Look in http://dl.fedoraproject.org/pub/epel for appropriate epel-release kit and download it:

wget  http://dl.fedoraproject.org/pub/epel/5Server/x86_64/epel-release-5-4.noarch.rpm
rpm -i epel-release-5-4.noarch.rpm
yum install freetds-devel
4 Install xinetd
yum install xinetd
5 Get MDSplus sources

Recommended:

firefox http://www.mdsplus.org/index.php?url=mdsplus/download.php&page=Software/Downloads

Alternate (one of)

wget https://github.com/MDSplus/mdsplus/archive/alpha.zip 
wget https://github.com/MDSplus/mdsplus/archive/alpha.tar.gz
wget https://github.com/MDSplus/mdsplus/archive/stable.zip
wget https://github.com/MDSplus/mdsplus/archive/stable.tar.gz
git clone https://github.com/MDSplus/mdsplus.git
6 Build MDSplus.

Make sure that the LANG environment variable is set to a non-UTF8 locale (e.g. en_US or the generation of UID files will fail and some applications mysteriously segfault.

cd mdsplus
./configure --prefix=/usr/local/mdsplus
make
7 Install MDSplus
make install
/usr/local/mdsplus/rpm/post_install_script
Install Packages for using Python with MDSplus
Install required packages
yum install python-setuptools numpy python-ctypes
Install MDSplus package
easy_install MDSplus

or

 cd mdsplus/mdsobjects/python
 python setup.py install