LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: ripple0328

10。3 装matlab R2007a 失败?

[复制链接]
 楼主| 发表于 2007-10-24 12:52:46 | 显示全部楼层
不过sun说这个bug已经fix

所以应该还有别的解决方法
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-24 12:59:35 | 显示全部楼层
这个是suse官网上说的跟前面差不多:

Xlib.lock
From openSUSE


Version: 10.3

[edit]
Situation

When running certain JAVA processes (e.g. the IBM Lotus Notes 8 installer, Azureus) or beryl, you receive the error: Assertion `c->xlib.lock' failed.
[edit]
Procedure

The error is caused by a problem in the libxcb package. As a workaround you can run the following command from the command line and then re-try your operation (from that same command-line)

export LIBXCB_ALLOW_SLOPPY_LOCK=true

[edit]
Making the change permanent

If you find that this workaround solves your problems, you can make the change permanent. Open the file /etc/profile in your favorite text editor as the root user. Then, add the the statement just before the end of the file. The end of the file should then look something like this:

#
# Enable lock assertion workaround
#
export LIBXCB_ALLOW_SLOPPY_LOCK=true
#
# End of /etc/profile
#

On your next login the environment variable is set.


这个不用试了,因为跟上面那个贴上的是一样的,下面那个可以试一下
回复 支持 反对

使用道具 举报

发表于 2007-10-24 12:59:39 | 显示全部楼层
Post by ripple0328
七楼你试试上面这个

大概好使,
因为有人回复说

“your solution work perfectly.....”

顶 解决了 就按他的那个 你也试试吧
回复 支持 反对

使用道具 举报

发表于 2007-10-24 13:01:39 | 显示全部楼层
Post by ripple0328
这个是suse官网上说的跟前面差不多:

Xlib.lock
From openSUSE


Version: 10.3

[edit]
Situation

When running certain JAVA processes (e.g. the IBM Lotus Notes 8 installer, Azureus) or beryl, you receive the error: Assertion `c->xlib.lock' failed.
[edit]
Procedure

The error is caused by a problem in the libxcb package. As a workaround you can run the following command from the command line and then re-try your operation (from that same command-line)

export LIBXCB_ALLOW_SLOPPY_LOCK=true

[edit]
Making the change permanent

If you find that this workaround solves your problems, you can make the change permanent. Open the file /etc/profile in your favorite text editor as the root user. Then, add the the statement just before the end of the file. The end of the file should then look something like this:

#
# Enable lock assertion workaround
#
export LIBXCB_ALLOW_SLOPPY_LOCK=true
#
# End of /etc/profile
#

On your next login the environment variable is set.

哦?也来试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-24 13:02:24 | 显示全部楼层
I had to figure this error out last night... Google led me here:

http://bugs.sun.com/bugdatabase/view...bug_id=6532373

do this:

For sun-java5-bin:

##########################
sed -i 's/XINERAMA/FAKEEXTN/g'
/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386/xawt/libmawt.so
############################

For sun-java6-bin:
#################
sed -i 's/XINERAMA/FAKEEXTN/g'
/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/xawt/libmawt.so
###########################

我工作电脑不能上网,所以多查了些,下午去试试
回复 支持 反对

使用道具 举报

发表于 2007-10-24 13:09:50 | 显示全部楼层
Post by ripple0328
I had to figure this error out last night... Google led me here:

http://bugs.sun.com/bugdatabase/view...bug_id=6532373

do this:

For sun-java5-bin:

##########################
sed -i 's/XINERAMA/FAKEEXTN/g'
/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386/xawt/libmawt.so
############################

For sun-java6-bin:
#################
sed -i 's/XINERAMA/FAKEEXTN/g'
/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/xawt/libmawt.so
###########################

我工作电脑不能上网,所以多查了些,下午去试试

以上几种方法均奏效
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表