programming/mono/install_trunk/index.wiki.txt

current previous
1,6 1,6
 
${smdncms:keywords,Mono,trunk,ビルド,インストール}
${smdncms:keywords,Mono,trunk,ビルド,インストール}
 
*Monoのインストール
*Monoのインストール
~
[[Mono:http://www.mono-project.com/Main_Page]]をsvn trunkのソースからビルドしてインストールする手順。 本文は2009年06月20日現在のバージョンに基づく。
[[Mono:http://www.mono-project.com/Main_Page]]をsvn trunkのソースからビルドしてインストールする手順。 本文は2009年03月23日現在のバージョンに基づく。
 

        

        
 
-関連するページ
-関連するページ
 
--[[programming/mono]]
--[[programming/mono]]
65,16 65,12
 
-依存するパッケージ類
-依存するパッケージ類
 
--bison
--bison
 
--libgdiplus
--libgdiplus
+
-コンパイルに関するドキュメント
+
--[[Compiling Mono From SVN - Mono:http://www.mono-project.com/Compiling_Mono_From_SVN]]
+
--[[Advanced Mono Compile Options - Mono:http://www.mono-project.com/Advanced_Mono_Compile_Options]]
+
--[[Unsupported Advanced Mono Compile Options - Mono:http://www.mono-project.com/Unsupported_Advanced_Mono_Compile_Options]]
 

        

        
~
ソースのチェックアウトとautogen、configure。 .NET Framework 4.0のアセンブリを含める場合は、--with-profile4をyesにする。
ソースのチェックアウトとautogen、configure。
 
#code(sh){{
#code(sh){{
 
svn co svn://anonsvn.mono-project.com/source/trunk/mono svn://anonsvn.mono-project.com/source/trunk/mcs
svn co svn://anonsvn.mono-project.com/source/trunk/mono svn://anonsvn.mono-project.com/source/trunk/mcs
 
cd mono
cd mono
~
./autogen.sh --prefix=/usr/local --with-libgdiplus=installed --with-large-heap=yes --with-ikvm-native=no --with-monnlight=yes --with-profile2=yes --with-profile4=no
./autogen.sh --prefix=/usr/local --with-libgdiplus=installed --with-large-heap=yes --with-ikvm-native=no --with-moonlight=yes
 
}}
}}
 

        

        
 
configureの結果例。
configureの結果例。
82,23 78,20
 
        mcs source:    $(top_srcdir)/../mcs
        mcs source:    $(top_srcdir)/../mcs
 
        olive source:  
        olive source:  
 

        

        
~
	GC:	       included
        GC:            included
~
	GLIB:	       system
        TLS:           __thread
~
	TLS:           __thread
        SIGALTSTACK:   yes
~
	SIGALTSTACK:   yes
        Engine:        Building and using the JIT
~
	Engine:        Building and using the JIT
        2.0 Beta:      yes
~
	2.0 Profile:   yes
        2.1 Alpha:     yes
~
	Moon Profile:  yes
        JNI support:   
~
	4.0 Alpha:     no
        libgdiplus:    assumed to be installed
~
	JNI support:   
        zlib:          system zlib
~
	libgdiplus:    assumed to be installed
        oprofile:      no
~
	zlib:          system zlib
        BigArrays:     no
~
	oprofile:      no
        DTrace:        no
~
	BigArrays:     no
        Parallel Mark: yes
~
	DTrace:        no
        
+
	Parallel Mark: yes
+
	LLVM Back End: no
+
	
 

        

        
 

        

        
 
Now type `make' to compile
Now type `make' to compile
125,14 118,14
 
インストールが完了したら、mono -Vでmonoが動作することを確認する。
インストールが完了したら、mono -Vでmonoが動作することを確認する。
 
#prompt{{
#prompt{{
 
$ mono -V
$ mono -V
~
Mono JIT compiler version 2.5
Mono JIT compiler version 2.5
 
Copyright 2002-2008 Novell, Inc and Contributors. www.mono-project.com
Copyright 2002-2008 Novell, Inc and Contributors. www.mono-project.com
~
	TLS:           __thread
        TLS:           __thread
~
	GC:            Included Boehm
        GC:            Included Boehm
~
	SIGSEGV:       altstack
        SIGSEGV:       altstack
~
	Notifications: epoll
        Notifications: epoll
~
	Architecture:  amd64
        Architecture:  amd64
~
	Disabled:      none
        Disabled:      none
 
}}
}}
 

        

        
 
またgacutil -lでアセンブリがGACに登録されていることを確認する。
またgacutil -lでアセンブリがGACに登録されていることを確認する。
219,7 212,6
 
   * Installation prefix = /usr/local
   * Installation prefix = /usr/local
 
   * gui support: yes
   * gui support: yes
 
   * unit tests: no
   * unit tests: no
+
   * documentation: no
 
}}
}}
 

        

        
 
問題が無ければ、make、make installする。
問題が無ければ、make、make installする。