上篇已经把Mono环境装好了,现在开始安装MonoDevelop.
MonoDevelop is an IDE primarily designed for C# and other .NET languages.
1、安装MonoDevelop 2.4
[root@localhost monodevelop-2.4]# ./configure
居然出现configure: error: Please install mono version 2.6.1 or later to install MonoDevelop.
不可能把刚装的mono2.8 换回mono2.6.1吧,于是又下载最新的MonoDevelop2.4.2 还是error.
打开monodevelop-2.4/config.log 配置日志发现
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig
把usr/local/lib/pkgconfig/mono.pc 拷贝到usr/lib/pkgcocnfig/目录下
折腾了一天总算装上了...安装的时候一定要看好版本
选择Applications->Programming->MonoDevelop 打开MonoDevelop
创建一个C# Console Project
第一个程序"Hello World!"
[jackal@localhost Release]$ mono test.exe
Hello World!