Java天空

 

2010年9月9日

土办法解决 ubuntu wine 1.3 安装ies4linux 2.99.0.1

由于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安装即可。

PS:因为没有需要,所以我安装的时候没有安装flash player。

posted @ 2010-09-09 20:15 YY 阅读(891) | 评论 (1)编辑 收藏

导航

统计

常用链接

留言簿(1)

随笔分类

随笔档案

友情链接

搜索

最新评论

阅读排行榜

评论排行榜