大家好,
我刚刚安装了WebPACK 12.4并注意到环境没有设置好
正确。
(我所做的只是在已安装的ISE_DS目录中执行'source set
tings64.sh'。)
问题是settings64.sh脚本没有正确获取脚本位置,它
最后留下脚本文件名。
快速解决方法是应用以下补丁:
@@ -18,7 +18,7 @@ if [“$ XIL_SCRIPT_LOC_TMP_UNI”!=“”];
那么XIL_SCRIPT_LOC_TMP_UNI =`readlink -f $ {XIL_SCRIPT_LOC_TMP_UNI}`如果[$?
== 0];
那么 - XIL_SCRIPT_LOC = $ {XIL_SCRIPT_LOC_TMP_UNI} + XIL_SCRIPT_LOC =`dirname $ {XIL_SCRIPT_LOC_TMP_UNI}`fi fi unset XIL_SCRIPT_LOC_TMP_UNI_TAIL
通过此更改,环境设置正确,一切正常。
我假设应该对32位系统的脚本进行相同的更改。
以上来自于谷歌翻译
以下为原文
Hello all,
I've just installed WebPACK 12.4 and noticed that the environment does not get set up
correctly. (What I did was just execute 'source settings64.sh' in the installed ISE_DS directory.)
The problem is that the settings64.sh script does not get the script location correctly, it
leaves the script filename at the end. A quick fix is to apply the following patch:
@@ -18,7 +18,7 @@
if [ "$XIL_SCRIPT_LOC_TMP_UNI" != "" ]; then
XIL_SCRIPT_LOC_TMP_UNI=`readlink -f ${XIL_SCRIPT_LOC_TMP_UNI}`
if [ $? == 0 ]; then
- XIL_SCRIPT_LOC=${XIL_SCRIPT_LOC_TMP_UNI}
+ XIL_SCRIPT_LOC=`dirname ${XIL_SCRIPT_LOC_TMP_UNI}`
fi
fi
unset XIL_SCRIPT_LOC_TMP_UNI_TAIL
With this change, the environment gets set up correctly and everything works fine.
I assume the same change should be done to the script for 32-bit systems.