Mono和MonoDevelop源码编译安装(2)

====================================================================checking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking how to create a ustar tar archive... gnutarchecking whether to enable maintainer-specific portions of Makefiles... nochecking for pkg-config... /usr/bin/pkg-configchecking for a BSD-compatible install... /usr/bin/install -cchecking for gmcs... /usr/local/bin/gmcschecking for gacutil... /usr/local/bin/gacutilchecking for al... /usr/local/bin/alchecking pkg-config is at least version 0.9.0... yeschecking for GTK_SHARP_20... configure: error: Package requirements (gtk-sharp-2.0) were not met: No package 'gtk-sharp-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if youinstalled software in a non-standard prefix. Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGSand GTK_SHARP_20_LIBS to avoid the need to call pkg-config.See the pkg-config man page for more details.====================================================================

下载gtk-sharp并安装,
下载地址:

# tar jxvf gtk-sharp-2.12.11.tar.bz2 # cd gtk-sharp-2.12.11 # ./configure --prefix=/usr/local # make # make install

gtk-sharp安装成功后,接着安装mono-addins

# cd ../mono-addins-0.6.2 # ./configure --prefix=/usr/local # make # make install

mono-addins安装成功后,接着安装monodevelop   

# cd ../monodevelop-3.1.0 # ./configure --prefix=`pkg-config --variable=prefix mono`


此时报了一个错误如下:找不到 glade-sharp-2.0

====================================================================[root@localhost monodevelop-3.1.0]# ./configure --prefix=`pkg-config --variable=prefix mono`checking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking how to create a ustar tar archive... gnutarchecking whether to enable maintainer-specific portions of Makefiles... nochecking for mono... /usr/local/bin/monochecking for gmcs... /usr/local/bin/gmcschecking for update-mime-database... /usr/bin/update-mime-databasechecking for pkg-config... /usr/bin/pkg-configchecking for msgfmt... /usr/bin/msgfmtchecking for msgmerge... /usr/bin/msgmergechecking pkg-config is at least version 0.9.0... yeschecking for UNMANAGED_DEPENDENCIES_MONO... yeschecking for mono... /usr/local/bin/monochecking for dmcs... /usr/local/bin/dmcschecking for MONO_ADDINS... yeschecking for MONO_ADDINS_SETUP... yeschecking for MONO_ADDINS_GUI... yeschecking for GLIB_SHARP... yeschecking for GTK_SHARP... yeschecking for GLADE_SHARP... noconfigure: error: Package requirements (glade-sharp-2.0 >= 2.12.8) were not met: No package 'glade-sharp-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if youinstalled software in a non-standard prefix. Alternatively, you may set the environment variables GLADE_SHARP_CFLAGSand GLADE_SHARP_LIBS to avoid the need to call pkg-config.See the pkg-config man page for more details.====================================================================

我不知道glade-sharp是什么包,先安装了libgdiplus

下载libgdiplus并安装,
下载地址:

# tar jxvf libgdiplus-2.10.9.tar.bz2 # cd libgdiplus-2.10.9 # ./configure --prefix=/usr/local # make

make时报了一个错误如下:

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/21218.html