Chinaunix首页 | 论坛 | 博客
  • 博客访问: 100982762
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类: LINUX

2008-03-29 13:39:43

来源: 作者:Fromlung



不仅因为可能写的不好,也因为这个主题是关于并非GNU的软件的。

1、matlab的取得途径就不多说了,可以emule搜索,耐心下载!

2、挂载下来的Mathworks.Matlab.R2007a.UNIX.DVD.ISO-TBE.iso,里面有Crack文件夹。在适当位置建一个要安装的目录,比如/usr/local/matlab。把Crack目录下的/mnt/Crack/license_locked.dat复制为/usr/local/matlab/license.dat。

cp /mnt/Crack/license_locked.dat /usr/local/matlab/license.dat

3、对于Fedora 8 ,安装时会提示

CODE:
An error status was returned by the program 'xsetup',
the X Window System version of 'install'. The following
messages were written to standard error:

/mnt/update/bin/glnx86/xsetup: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory

Attempt to fix the problem and try again. If X is not available
or 'xsetup' cannot be made to work then try the terminal
version of 'install' using the command:

install* -t or INSTALL* -t

Sorry! Setup aborted . .


这个不要紧,回到Fedora添加/删除程序里,搜索libXp,把他装上即可。

4、进入iso挂载的目录,执行 sh install.一路next好了。

5、安装完毕,运行 /usr/local/matalb/bin/matlab,会出现提示:

CODE:
libmwlapack: load error: /usr/local/matlab/bin/glnx86/mkl.so: cannot restore segment prot after reloc: Permission denied
terminate called after throwing an instance of 'std::runtime_error'
what(): /usr/local/matlab/bin/glnx86/mkl.so: cannot restore segment prot after reloc: Permission denied


可以运行:
chcon -t textrel_shlib_t /usr/local/matlab/bin/glnx86/*so

就可以了。再次运行/usr/local/matalb/bin/matlab。OK

6、如果出现:
MATLAB: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.

可以参考网上的方法用fc6或fc7的libX11和libX11-devel这两个rpm包替换Fedora 8中相应的包。

阅读(563) | 评论(0) | 转发(0) |
0

上一篇:Fedora 8 初用心得

下一篇:Fedora8下mysql安装

给主人留下些什么吧!~~