其他分享
首页 > 其他分享> > 2021-06-17

2021-06-17

作者:互联网

Epics centos 8编译安装

最近要用到epics搭建测试环境,记录下。

centos全部用centos 8 系统默认安装。
Epics 用7.0 安装在/user/Epics/base 目录下

首先安装re2c
参考链接:https://hxmos.com/?p=61

下载

git clone https://git.code.sf.net/p/re2c/code-git re2c
git clone https://github.com/skvadrik/re2c.git

编译

cd re2c/re2c/
./autogen.sh // 若报错:re2c fatal: not a git repository (or any of the parent directories): .git,则不执行该命令,使用下面一行命令
// 如果从存储库(而不是从发行版tarball)进行构建,首先运行Autotools:
autoreconf -i -W all
./configure --prefix=/usr/local/re2c/
make
make install

设置全局变量

ln -sf /usr/local/re2c/bin/re2c /usr/local/bin/re2c

使用

re2c -v
re2c -h
rpcgen 安装

https://www.cmdschool.org/archives/5968

entOS8 Asyn-make编译时出现致命错误<rpc/rpc.h>

进入到root权限,然后打开asyn中的 /configure/CONFIG_SITE
你会看到如下几行代码:

Some linux systems moved RPC related symbols to libtirpc

To enable linking against this library, uncomment the following line

TIRPC=YES

yum install gcc gcc-c++ gcc-toolset-9-make readline-devel perl-ExtUtils-Install re2c
asyn依赖包
yum install rpcgen-devel tirpc-devel

dnf install gcc
dnf install gcc-c++
dnf install gcc-toolset-9-make
dnf install readline-devel
dnf install perl-ExtUtils-Install

seq依赖包
dnf install re2c

asyn
dnf install rpcgen-devel
dnf install tirpc-devel

https://blog.csdn.net/weixin_42066185/article/details/106405743
————————————————
版权声明:本文为CSDN博主「Lytt_going」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/Lytt_going/article/details/115254059

centos 7从头记录
yum -y install readline-devel

标签:dnf,06,17,re2c,devel,git,2021,install,https
来源: https://blog.csdn.net/onlyiuse/article/details/117986398