簡體   English   中英

在Ubuntu 10.04上從SVN安裝Monodevelop

[英]Installing Monodevelop from the SVN on Ubuntu 10.04

我編寫了以下腳本來安裝MonoDevelop的svn版本

#!/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

)

一切正常,直到monodevelop pacakge的最后一個生成步驟為止,該腳本退出並出現錯誤:

./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混合在一起,並且正在尋找一個不存在的符號。

我的構建配置如下所示:

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

您應該建立一個並行的Mono環境

如果您只想安裝最新版本的MonoDevelop,我強烈建議Badgerports: http ://badgerports.org/

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM