-
Notifications
You must be signed in to change notification settings - Fork 1
/
cadence.txt
103 lines (71 loc) · 3.32 KB
/
cadence.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# Windows version
如果安装文件位于ext分区,使用ext2fsd等访问,则执行setup.exe时可能碰到0x800704b3错误,此时请启动“WebClient”服务。
# Linux version
1. 依赖
lib32-gcc-libs: patch工具,cadence本身程序均需要
tcsh/libpng12/lib32-glibc/lib32-libxtst/ld-lsb
2. 打patch
1) patch工具需要安装:lib32-gcc-libs
2) cd Crack/Patch/; ./cadence_patch.sh [install_dir]
3. 路径说明
许可证路径:{ROOT_DIR}/share/license
1) cp Crack/License/license.dat [install_dir]/share/license/
2) 如果lmhostid运行出错,可能缺少linux-gate.so.1
先用此目录下的 configure 配置许可证,然后启动 rc.lic
2) 如果有多个网卡, lmhostid会返回多个mac地址,请修改lmhostid
mv [ROOT_DIR]/tools.lnx86/bin/lmhostid [ROOT_DIR]/tools.lnx86/bin/lmhostid.bak
touch [ROOT_DIR]/tools.lnx86/bin/lmhostid
然后编辑文件lmhostid:
#!/usr/bin/sh
SDIR=`dirname $0`
RET=`${SDIR}/lmhostid.bak $*`
echo "`echo $RET | cut -d ' ' -f 1`\""
如果lmhostid无法启动,请检查/usr/lib/ld-lsb.so.*,如有必要,请重新安装ld-lsb
3) 配置 license
[ll@YiQingliang-PC license]$ ./configure
Do you want to configure licensing? <y/n> [n] -> y
Enter the top installation directory <q to quit>
[/mnt/tools/cadence_spb] ->
Edit the license file or the startup script now? <y/n/q> [y] ->
Override the defaults? <y/n/q> [n] -> y
Configure license file license.lic? <y/n/q> [y] ->
Enter the hostname of the computer with hostid ID=07071982 <q to quit>
[YiQingliang-PC] ->
Enter the TCP port number <q to quit>
] ->
daemon for YiQingliang-PC <q to quit>
] -> /mnt/tools/cadence_spb/tools/bin/cdslmd
's OPTIONS file for YiQingliang-PC <q to quit>
[no options] ->
Enter the installation directory the license daemons should use <q to quit>
[/mnt/tools/cadence_spb] ->
Enter the license file the license daemons should use <q to quit>
[/mnt/tools/cadence_spb/share/license/license.lic] ->
Enter the debug log file the license daemons should use <q to quit>
[/usr/tmp/license.log] -> /tmp/license.log
Enter the new lmgrd daemon option <q to quit>
[no options] ->
****************************************************************
Configure the clients file <y/n/q> [y] ->
Override the default? <y/n/q> [n] -> y
Create a new clients file [c] or append to the existing one [a] <q to quit>
[c] -> c
Enter the host name of the client
<* for all, <CR> to end input, q to quit> -> YiQingliang-PC
Enter the path to the license file from YiQingliang-PC <q to quit>
[] -> /mnt/tools/cadence_spb/share/license/license.lic
Enter the host name of the client
<* for all, <CR> to end input, q to quit> ->
Edit YiQingliang-PC's boot script? <y/n/q> [y] -> n
Start the license server daemons? <y/n/q> [n] -> n
**********************************************************************
[ll@YiQingliang-PC license]$ ./rc.lic
4. 启动
1) 处理libstdc++版本问题:
cd [install_dir]/tools.lnx86/lib/64bit
mkdir bak
mv libstdc++* ./bak/
2) 启动
csh -c "source {ROOT_DIR}/tools/pcb/bin/cshrc; allegro"
5. 卡的问题
在 /etc/hosts 最开始加一条本机名(严格来讲应该是 license.lic 中的主机名),指向 127.0.0.1 即可