wget http://download.mono-project.com/sources/mono/mono-3.2.1.tar.bz2
tar -jxvf mono-3.2.1.tar.bz2
cd mono-3.2.1
./configure –prefix=/usr
make 此时出现以下错误
../src/.libs/libeglib.a(libeglib_la-gunicode.o): In function `monoeg_g_get_charset’:
/root/mono-3.2.1/eglib/src/gunicode.c:223: undefined reference to `locale_charset’
collect2: ld returned 1 exit status
make[4]: *** [test-eglib] Error 1
make[4]: Leaving directory `/root/mono-3.2.1/eglib/test’
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/mono-3.2.1/eglib’
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/mono-3.2.1/eglib’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mono-3.2.1′
make: *** [all] Error 2
修改 eglib/config.h
vi eglib/config.h 将#define HAVE_LOCALCHARSET_H 1 替换为 #define HAVE_LOCALCHARSET_H 0
make
make install
mono –V 这一步显示信息代表安装成功
2.安装jexus
cd /tmp
wget linuxdot.net/down/jexus-5.6.4.tar.gz
tar -zxvf jexus-5.6.4.tar.gz
cd jexus-5.6.4
sudo ./install
jexus 相关配置说明:http://www.linuxdot.net/bbsfile-3084