Welcome 微信登录

首页 / 操作系统 / Linux / grace在Fedora 16中的问题

grace是一款2D的画图软件,如我一类天天跟数据打交道的,这款软件简直就是科研利器。去年在笔记本上转投Fedora之后,安装这个软件发现一些问题。安装之后,在命令行输入xmgrace,出现如下错误xmgrace: malloc.c:2453: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)" failed.但是该软件在Ubuntu系统上运行正常google的结果是,fedora的字体文件和grace自带的字体文件不同在/usr/share/grace/fonts/ 路径下ls可看到drwxr-xr-x. 2 root root 4.0K May 16 17:14 enc
lrwxrwxrwx. 1 root root   25 May 16 17:14 type1 -> ../../fonts/default/Type1
lrwxrwxrwx. 1 root root   35 May 16 17:14 FontDataBase -> ../../../..//etc/grace/FontDataBase连接的字体都是fedora系统的自带字体,所以问题应该出在此处。下载grace的源代码,ftp://plasma-gate.weizmann.ac.il/pub/grace/src/grace-latest.tar.gz
解压之后,复制 fonts文件夹到某一路径如 ~/grace-fonts/然后连接/usr/share/grace/fonts/中的type1到 /home/foo/grace-fonts/fonts/type1/ln -s /home/foo/grace-fonts/fonts/type1/ /usr/share/grace/fonts/type1 (需要root权限)连接 /usr/share/grace/fonts/中的FontDataBase到 /home/foo/grace-fonts/fonts/FontDataBaseln -s /home/foo/grace-fonts/fonts/FontDataBase /usr/share/grace/fonts/FontDataBase然后就ok了更多Fedora相关信息见Fedora 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=5Ubuntu 12.04 安装注意事项Linux装在虚拟机上,如何进入文字界面相关资讯      Fedora 16 
  • Fedora 16 结束使命,Fedora 19 将  (02/15/2013 08:58:11)
  • Fedora 16 默认httpd启动出现段错  (10/01/2012 20:21:51)
  • Fedora 16 x64 构建vim+vimgdb+gdb  (08/27/2012 06:18:21)
  • Fedora 16下安装虚拟打印机(PDF)  (12/04/2012 14:41:06)
  • 扩展Fedora 16虚拟机的根分区磁盘  (09/14/2012 19:02:27)
  • R-2.15.1 在 Fedora 16 上的安装(  (07/30/2012 14:54:26)
本文评论 查看全部评论 (0)
表情: 姓名: 字数