From MdsWiki
(Difference between revisions)
Revision as of 14:56, 7 March 2013 (edit) Twf (Talk | contribs) ← Previous diff |
Current revision (18:44, 10 February 2017) (edit) Jas (Talk | contribs) |
||
Line 27: | Line 27: | ||
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> | ||
|- | |- | ||
| 7|| Build MDSplus. || | | 7|| Build MDSplus. || |
Current revision
The following steps should work on a clean Fedora Core 10 (and 11) install and may provide an example on what is needed for other platforms.
Step | Action | Command |
---|---|---|
1 | Install build utilities |
yum install cvs make imake wget |
2 | Install compilers and includes |
yum install gcc-gfortran gcc-c++ 'java-*-openjdk-devel' readline-devel /usr/bin/g77 yum install readline-devel.i686 |
3 | Install X development libraries |
yum install libXp-devel libXt-devel yum install libXp-devel.i686 libXt-devel.i686 libX11-devel.i686 libXft-devel.i686 libXmu-devel.i686 |
4 | Install xinetd |
yum install xinetd |
5 | Install openmotif |
Get the appropriate openmotif-devel rpm's from http://www.motifzone.org |
6 | 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 |
7 | 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 |
8 | 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-devel numpy | |
Install MDSplus package |
easy_install MDSplus | |
Optional Packages for development and rpm construction | ||
Install emacs |
yum install emacs rpm-build autoconf |