(此日志用作笔记……原帖见: http://forum.ubuntu.org.cn/viewtopic.php?f=121&t=277019)
问题:已安装最新版本wine,但在安装ies4linux过程中出现错误提示:Your wine does not have wineprefixcreate installed. Maybe you are running an old Wine version. Try to update it to the latest version.
问题原因:由于wine 1.3使用了winepath代替wineprefixcreate,所以安装ies4linux的时候,会提示wine版本太旧,wineprefixcreate有误。
解决办法:原帖修改办法是修改ies4linux 2.99.0.1/lib的functions.sh、install.sh来简单解决ie6的安装问题,具体做法如下:
在install.sh 426行左右
subsection \$MSG_CREATING_PREFIX set_wine_prefix "\$BASEDIR/ie1/" wineprefixcreate &> /dev/null clean_tmp
改为:
subsection \$MSG_CREATING_PREFIX set_wine_prefix "\$BASEDIR/ie1/" winepath &> /dev/null clean_tmp
在functions.sh 242行左右
function create_wine_prefix { if which wineprefixcreate &> /dev/null; then ( wineprefixcreate 2&>1 ) | debugPipe else error \$MSG_ERROR_NO_WINEPREFIXCREATE fi }
改为:
function create_wine_prefix { if which winepath > /dev/null; then ( winepath 2&>1 ) | debugPipe else error \$MSG_ERROR_NO_WINEPREFIXCREATE fi }
保存后重新运行./ies4linux安装即可。
我做个了软连接:
$ ln -s /usr/local/bin/winepath /usr/local/bin/wine/prefixcreate
也可以解决问题,并且不会出现卡的问题。