首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Ubuntu 10.04上从SVN安装Monodevelop

在Ubuntu 10.04上从SVN安装Monodevelop
EN

Stack Overflow用户
提问于 2010-06-16 05:22:49
回答 2查看 1.5K关注 0票数 0

我编写了以下脚本来安装MonoDevelop的svn版本

代码语言:javascript
复制
#!/usr/bin/env bash

PREFIX=/opt/local

check_errs()
{
    if [[ $? -ne 0 ]]; then
        echo "${1}"
        exit 1
    fi
}

download()
{
    if [ ! -d ${1} ]
    then
        svn co http://anonsvn.mono-project.com/source/trunk/${1}
    else
        (cd ${1}; svn update) 
    fi
}

download mono
download mcs
download libgdiplus

(
    cd mono
    ./autogen.sh --prefix=$PREFIX
    make
    make install
    check_errs
)

(
    cd libgdiplus
    ./autogen.sh --prefix=$PREFIX
    make
    make install
    check_errs
)

download monodevelop

export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig

(
    cd monodevelop

    ./configure --prefix=$PREFIX --select 
    check_errs

    make 
    check_errs

)

一切正常,直到最后一个make步骤,脚本退出并返回错误:

代码语言:javascript
复制
./MonoDevelop.WebReferences/MoonlightChannelBaseExtension.cs(320,82): error CS1061: Type `System.ServiceModel.Description.OperationContractGenerationContext' does not contain a definition for `SyncMethod' and no extension method `SyncMethod' of type `System.ServiceModel.Description.OperationContractGenerationContext' could be found (are you missing a using directive or an assembly reference?)
./MonoDevelop.WebReferences/MoonlightChannelBaseExtension.cs(325,49): error CS1061: Type `System.ServiceModel.Description.OperationContractGenerationContext' does not contain a definition for `SyncMethod' and no extension method `SyncMethod' of type `System.ServiceModel.Description.OperationContractGenerationContext' could be found (are you missing a using directive or an assembly reference?)
./MonoDevelop.WebReferences/MoonlightChannelBaseExtension.cs(345,115): error CS1061: Type `System.ServiceModel.Description.OperationContractGenerationContext' does not contain a definition for `SyncMethod' and no extension method `SyncMethod' of type `System.ServiceModel.Description.OperationContractGenerationContext' could be found (are you missing a using directive or an assembly reference?)
./MonoDevelop.WebReferences/MoonlightChannelBaseExtension.cs(365,82): error CS1061: Type `System.ServiceModel.Description.OperationContractGenerationContext' does not contain a definition for `BeginMethod' and no extension method `BeginMethod' of type `System.ServiceModel.Description.OperationContractGenerationContext' could be found (are you missing a using directive or an assembly reference?)
Compilation failed: 4 error(s), 1 warnings
make[4]: *** [../../../build/AddIns/MonoDevelop.WebReferences/MonoDevelop.WebReferences.dll] Error 1
make[4]: Leaving directory `/home/drufat/Desktop/Checkout/mono/monodevelop/main/src/addins/MonoDevelop.WebReferences'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/drufat/Desktop/Checkout/mono/monodevelop/main/src/addins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/drufat/Desktop/Checkout/mono/monodevelop/main/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/drufat/Desktop/Checkout/mono/monodevelop/main'
make: *** [all-recursive] Error 1

有什么办法解决这个问题吗?我认为这个构建与Ubuntu中的mono默认安装混淆了,并且正在寻找一个不存在的符号。

我的构建配置如下所示:

代码语言:javascript
复制
1. [X] main
2. [ ] extras/JavaBinding
3. [ ] extras/BooBinding
4. [X] extras/ValaBinding
5. [ ] extras/AspNetEdit
6. [ ] extras/GeckoWebBrowser
7. [ ] extras/WebKitWebBrowser
8. [ ] extras/MonoDevelop.Database
9. [ ] extras/MonoDevelop.Profiling
10. [ ] extras/MonoDevelop.AddinAuthoring
11. [ ] extras/MonoDevelop.CodeAnalysis
12. [ ] extras/MonoDevelop.Debugger.Mdb
13. [ ] extras/MonoDevelop.Debugger.Gdb
14. [ ] extras/PyBinding
15. [ ] extras/MonoDevelop.IPhone
16. [ ] extras/MonoDevelop.MeeGo
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2010-06-16 08:32:18

您应该设置一个parallel Mono environment

票数 3
EN

Stack Overflow用户

发布于 2010-06-21 18:29:55

如果您只是对安装最新版本的MonoDevelop感兴趣,我强烈推荐Badgerports:http://badgerports.org/

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/3049163

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档