Building from sources on RHEL5 - MdsWiki
Navigation
Personal tools

From MdsWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 16:44, 26 July 2012 (edit)
Asquit (Talk | contribs)
(changed red hat download URL , pls see http://scrye.com/wordpress-mu/nirik/2012/02/20/please-update-your-links-download-fedora-redhat-com-dl-fedoraproject-org/)
← Previous diff
Current revision (18:49, 10 February 2017) (edit)
Jas (Talk | contribs)

 
Line 29: Line 29:
Recommended: Recommended:
firefox http://www.mdsplus.org/index.php?url=mdsplus/download.php&page=Software/Downloads firefox http://www.mdsplus.org/index.php?url=mdsplus/download.php&page=Software/Downloads
-Alternate:+Alternate (one of)
- cvs -d:pserver:MDSguest@www.mdsplus.org:/mdsplus/repos login+<pre>
- CVS Password: MDSguest+wget https://github.com/MDSplus/mdsplus/archive/alpha.zip
- cvs -d :pserver:MDSguest@www.mdsplus.org:/mdsplus/repos checkout mdsplus+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
 +</pre>
|- |-
| 6|| Build MDSplus. || | 6|| Build MDSplus. ||

Current revision

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