|
发表于 2019-2-15 12:22:31
|
显示全部楼层
可以试试这个
http://www.peqoq.com/thread-604891-11-1.html
本帖最后由 kirannevaskar 于 2018-6-23 06:18 编辑
Hi friends,
This is for the the people facing error
spyglass: INTERNAL-ERROR, the Perl 5 installation within `$SPYGLASS_HOME' could not be validated.
spyglass: A perl installation was expected at: `/home/h/software/synopsys/SpyGlass-L2016.06/SPYGLASS_HOME/lib/multi-perl'
spyglass: either `$SPYGLASS_HOME' was guessed incorrectly or the installation is corrupted.
spyglass: NOTE, the caller's environment variable `$SPYGLASS_HOME' was ignored in this process.
Solution:
I am assuming that you have configured $SPYGLASS_HOME variable.
This issue may be due to updated or latest linux kernel version 4.*.
Spyglass 2016 expects linux kernel version 3.
If you want to use linux kernel version 4 then do two changes in scripts.
Please take backup of original files.
standard-environment.sh & perl files need to be modified.
1) Look for standard-environment.sh file in SPYGLASS_HOME/lib/SpyGlass. Open that file in text editor and search for Linux-3*. Add new entry Linux-4*) after fi ;; and before *) echo UNKNOWN ;; . I have shown it below.
Linux-3*)
if [ X"$switch32bit" = "Xyes" ]; then
echo "Linux2"
elif [ X"$switch64bit" = "Xyes" ]; then
PROCNAME=`uname -p`
if [ "X$PROCNAME" = "Xunknown" ]; then
PROCNAME=`uname -m`
fi
if [ X"$PROCNAME" = "Xx86_64" ]; then
echo "Linux4"
else
echo "Linux2"
fi
else
PROCNAME=`uname -p`
if [ "X$PROCNAME" = "Xunknown" ]; then
PROCNAME=`uname -m`
fi
if [ X"$PROCNAME" = "Xx86_64" ]; then
if [ X"$defExeOn64Bit" = "X32" ]; then
echo "Linux2"
else
echo "Linux4"
fi
else
echo "Linux2"
fi
fi
;;
Linux-4*)
if [ X"$switch32bit" = "Xyes" ]; then
echo "Linux2"
elif [ X"$switch64bit" = "Xyes" ]; then
PROCNAME=`uname -p`
if [ "X$PROCNAME" = "Xunknown" ]; then
PROCNAME=`uname -m`
fi
if [ X"$PROCNAME" = "Xx86_64" ]; then
echo "Linux4"
else
echo "Linux2"
fi
else
PROCNAME=`uname -p`
if [ "X$PROCNAME" = "Xunknown" ]; then
PROCNAME=`uname -m`
fi
if [ X"$PROCNAME" = "Xx86_64" ]; then
if [ X"$defExeOn64Bit" = "X32" ]; then
echo "Linux2"
else
echo "Linux4"
fi
else
echo "Linux2"
fi
fi
;;
*) echo UNKNOWN ;;
2) After this open perl from root installation directory.
From that open "perl" script in text editor. Again look for Linux-3* and add following code after fi ;;
Linux-4*) ##now we have Linux-64 bit also
PROCNAME=`uname -p`
if [ "X$PROCNAME" = "Xunknown" ]; then
PROCNAME=`uname -m`
fi
if [ X"$PROCNAME" = "Xx86_64" ]; then
species=Linux4
else
species=Linux2
fi
;;
If you don't want to edit files then take backup of the files and then replace with attached file.
附件: 您需要登录才可以下载或查看附件。没有帐号?注册 |
|