suse linux 常见故障,suse企业版上安装suse遇到的一些问题

系统为SUSE Linux Enterprise Server 11 (x86_64)(比较旧,见谅,已经有服务在上面运行,所以不能更换系统)

由于某些原因,系统不能联网,所以采用离线安装mono

方法1:安装系统自带的mono-2.0.1

1、打开YaST,software management,RPM  Groups,勾选mono的所有rpm包;

2、点击continue

3、出现问题:failed to mount cd:///?devices=/dev/sr0 on /var/adm/mount/AP_0x00000001:Mounting media failed (mount:no medium found on /dev/sr0)

方法2: 安装mono-3.2.3

1、从官网下载mono-3.2.3,解压到/root/mono(官网上没有打包,我一个个点击下的,累死了=。=)

2、添加软件源:打开YaST,点击Software Repositories,点击Add,选择Local Directory,点击Next

3、Repository Name输入“mono 3.2.3”,Path to Directory输入“/root/mono”,勾选Plain RPMDirectory,点击Next,点击ok

4、打开YaST,点击software management,RPM  Groups,勾选mono的所有rpm包

5、弹出Warning:nothing provides libc.so.6(GLIBC_2.14)(64 bit) needed by mono-core-3.2.3-0.x86_64

6、glibc版本太低,于是到网上下载GLIBC_2.14 for suse,解压到/root/mono/glbic-2.14

7、依次执行

cd /root/mono/glibc-2.14

mkdir build

cd build

../configure --prefix=/root/mono/glibc-2.14

make –j4

make install

8、出现error了:

mv -f /root/mono/glibc-2.14/lib/libc.so.new /root/mono/glibc-2.14/lib/libc.so

/usr/bin/install -c -m 644 include/limits.h /root/mono/glibc-2.14/include/limits.h

/usr/bin/install: `include/limits.h' and `/root/mono/glibc-2.14/include/limits.h' are the same file

make[1]: *** [/root/mono/glibc-2.14/include/limits.h] Error 1

make[1]: Leaving directory `/root/mono/glibc-2.14'

make: *** [install] Error 2

方法3:不能算方法,按照钟少同学的方法,先安装libgdiplus

1、先下载libgdiplus-2.10.tar.bz2,然后解压、进目录、./configure(没等make、make install就出现问题了)

2、出现问题:

configure: error: Package requirements (glib-2.0 >= 2.2.3) were not met:

No package 'glib-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS

and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

3、然后就下载glib-2.0呗

4、rpm -ivh glib2-devel-2.34.3-2.1.1.x86_64.rpm

5、又出现问题:

warning: glib2-devel-2.34.3-2.1.1.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284

error: Failed dependencies:

glib2-tools = 2.34.3 is needed by glib2-devel-2.34.3-2.1.1.x86_64

libc.so.6(GLIBC_2.14)(64bit) is needed by glib2-devel-2.34.3-2.1.1.x86_64

libgio-2_0-0 = 2.34.3 is needed by glib2-devel-2.34.3-2.1.1.x86_64

libglib-2_0-0 = 2.34.3 is needed by glib2-devel-2.34.3-2.1.1.x86_64

libgmodule-2_0-0 = 2.34.3 is needed by glib2-devel-2.34.3-2.1.1.x86_64

libgobject-2_0-0 = 2.34.3 is needed by glib2-devel-2.34.3-2.1.1.x86_64

libgthread-2_0-0 = 2.34.3 is needed by glib2-devel-2.34.3-2.1.1.x86_64

pkgconfig(libpcre) is needed by glib2-devel-2.34.3-2.1.1.x86_64

至此,已经是我安装mono的第4天了,各种碰壁=。=求大侠们解决一二,以拯救小弟与水深火热中

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值