EPICS MEDM: Motif Editor and Display ManagerEPICS MEDM: Motif Editor and Display Managerhttps://epics.anl.gov/extensions/medm/index.php

在Linux下安装Epics Base及MEDM_海涛RUNner_新浪博客在Linux下安装Epics Base及MEDM_海涛RUNner_新浪博客,海涛RUNner,

EPICS的medm在centos7下的编译_运维

http://blog.sina.com.cn/s/blog_6b19f6700101249t.html

参照上面的链接,读者可以总结下medm的编译和使用,我直接总结如下吧:

准备:

Centos7ministall的系统:

root权限下:

yum install -y epel-release readline-devel

yum install -y git wget gcc gcc-c++ autoconf libtool libX11-devel  libXext-devel libnet-devel libpcap-devel libusbx-devel libusb-devel  intltool  glibmm24-devel procServ re2c

yum install -y ninja-build meson glib2-devel libxml2-devel gtk3-devel gstreamer1 gstreamer1-devel gstreamer1-plugins-base-devel libnotify-devel gtk-doc gobject-introspection-devel zlib-devel

yum install libXft-devel fontconfig-devel libjpeg-devel libpng-devel xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xorg-x11-fonts-ISO8859-1-100dpi xorg-x11-fonts-ISO8859-1-75dpi xorg-x11-fonts-misc xorg-x11-fonts-Type1 openmotif-devel

##需要的包参考: Packages required for EPICS on Centos 8 — EPICS How-Tos documentation

adduser opi

mkdir /half          #以合肥先进光源为例

chown -R opi:opi /half

cd /half

su opi

mkdir epics

cd epics 

 准备里的头两个yum命令是参照我编译ADAravis的流程,针对OPI可能安装过多,愿意摸索的可以尝试减一些

############下载和编译epics base7#################################

git clone --recursive -b 7.0 https://git.launchpad.net/epics-base base-7.0
ln -s base-7.0 base

cd base

make

来自 <https://epics-controls.org/resources-and-support/base/epics-7/>
 

下载和编译extensions和medm

cd ..

git clone https://github.com/epics-extensions/extensions.git
cd extensions/
cd src/
git clone https://github.com/epics-extensions/medm.git
cd medm/
make

 至此medm就编译成功了,会在.../extensions/bin/linux-x86_64目录下生成可执行文件:

 

EPICS的medm在centos7下的编译_服务器_02