由于wine 1.3使用了winepath代替wineprefixcreate,所以安装ies4linux的时候,会提示wine版本太旧,,wineprefixcreate有误。可以通过修改ies4linux 2.99.0.1/lib的functions.sh、install.sh来简单解决ie6的安装问题。
相关阅读:经典重现 Ubuntu 10.04安装IEs4linux及相关问题的解决
在install.sh 426行左右subsection $MSG_CREATING_PREFIXset_wine_prefix “$BASEDIR/ie1/”wineprefixcreate &> /dev/nullclean_tmp
改为:subsection $MSG_CREATING_PREFIXset_wine_prefix “$BASEDIR/ie1/”winepath &> /dev/nullclean_tmp
在functions.sh 242行左右function create_wine_prefix {if which wineprefixcreate &> /dev/null; then( wineprefixcreate 2>&1 ) | debugPipeelseerror $MSG_ERROR_NO_WINEPREFIXCREATEfi}
改为:function create_wine_prefix {if which winepath &> /dev/null; then( winepath 2>&1 ) | debugPipeelseerror $MSG_ERROR_NO_WINEPREFIXCREATEfi}
保存后重新运行./ies4linux安装即可。可能会卡住,你到~/bin/里看有没有ie6。有就运行 ~/bin/ie6。
想像力比知识更重要