按照博客:搭建属于自己的数字IC EDA环境(三):Centos7安装EDA(vcs2018、verdi2018等)IC工具以及脚本运行第一个工程_scl keygen-CSDN博客
一个是安装的文档,另一份是对应的安装视频。不过我的安装系统是ubuntu18.0(安装过程详见我的另外一篇博客:ubuntu装到U盘中当便携系统使用_ubuntu随身系统-CSDN博客),且安装过程不像博主们行文中那么简单,以下是遇到的问题总结。
目录
三. 输入verdi---->改为在/home/synopsys/verdi/Verdi_o-2018.09-SP2/bin/verdi文件夹下输入#bash verdi
一. yum install redhat-lsb.i686报错
首先yum的安装方式不适用于ubuntu系统,改为#sudo apt_get install lsb-core,但出现了一个类似于以下的错误(找的图,自己没截图,找了个报错类似的放在这了):
解决办法:
sudo apt --fix-broken install
apt-get install lsb-core
二. #lmg_synopsys报错
出现了一个类似于以下的错误:
2:23:47 (lmgrd) -----------------------------------------------
2:23:47 (lmgrd) Please Note:
2:23:47 (lmgrd)
2:23:47 (lmgrd) This log is intended for debug purposes only.
2:23:47 (lmgrd) In order to capture accurate license
2:23:47 (lmgrd) usage data into an organized repository,
2:23:47 (lmgrd) please enable report logging. Use Macrovision's
2:23:47 (lmgrd) software license administration solution,
2:23:47 (lmgrd) FLEXnet Manager, to readily gain visibility
2:23:47 (lmgrd) into license usage data and to create
2:23:47 (lmgrd) insightful reports on critical information like
2:23:47 (lmgrd) license availability and usage. FLEXnet Manager
2:23:47 (lmgrd) can be fully automated to run these reports on
2:23:47 (lmgrd) schedule and can be used to track license
2:23:47 (lmgrd) servers and usage across a heterogeneous
2:23:47 (lmgrd) network of servers including Windows NT, Linux
2:23:47 (lmgrd) and UNIX. Contact Macrovision at
2:23:47 (lmgrd) www.macrovision.com for more details on how to
2:23:47 (lmgrd) obtain an evaluation copy of FLEXnet Manager
2:23:47 (lmgrd) for your enterprise.
2:23:47 (lmgrd)
2:23:47 (lmgrd) -----------------------------------------------
2:23:47 (lmgrd)
2:23:47 (lmgrd)
2:23:47 (lmgrd) The license server manager (lmgrd) running as root:
2:23:47 (lmgrd)
This is a potential security problem
2:23:47 (lmgrd)
and is not recommended.
[root@localhost Desktop]# 2:23:47 (lmgrd) Failed to open the TCP port number in the license.
错误可能是端口占用, 输入#firewall-cmd --zone=public --add-port=27000/tcp --permanent有红字出现Warning: ALREADY_ENABLED: 3306:tcp,以下为解决办法:
firewall-cmd --zone=public --remove-port=27000/tcp --permanent
firewall-cmd --zone=public --add-port=27000/tcp --permanent
firewall-cmd --reload
注: # netstat -tln | grep 27000 # 查找27000端口是否被占用,如果没输出则没被占用
# sudo kill -9 27000 #kill掉这个端口
通过这个命令,显示“没有这个进程”,还是报错,所以这个命令应该没用。
三. 输入verdi---->改为在/home/synopsys/verdi/Verdi_o-2018.09-SP2/bin/verdi文件夹下输入#bash verdi
报错:
/home/synopsys/verdi/Verdi_O-2018.09-SP2/bin/verdi: 56: /home/synopsys/verdi/Verdi_O-2018.09-SP2/bin/verdi: Syntax error: "(" unexpected
需要安装libpng12
mkdir libpng
cd libpng
wget https://ppa.launchpadcontent.net/linuxuprising/libpng12/ubuntu/pool/main/libp/libpng/libpng_1.2.54.orig.tar.xz
tar -xvf libpng_1.2.54.orig.tar.xz
cd libpng-1.2.54
./configure //这点会报错(configure: error: zlib not installed),sudo apt install zlib1g sudo apt install zlib1g-dev
make
sudo make install
sudo ln -s /usr/local/lib/libpng12.so.0.54.0 /usr/lib/libpng12.so
sudo ln -s /usr/local/lib/libpng12.so.0.54.0 /usr/lib/libpng12.so.0
./configure 这点会报错(configure: error: zlib not installed)输入以下解决
sudo apt install zlib1g
sudo apt install zlib1g-dev