| 查看: 353 | 回复: 2 | |||
| 当前主题已经存档。 | |||
cloudsea163金虫 (著名写手)
|
[交流]
[求助]linux下如何安装grace 求高手指点
|
||
|
我在安装grace 进行./configure, 出现如下错误: checking X11/xpm.h usability... yes checking X11/xpm.h presence... yes checking for X11/xpm.h... yes checking for a Motif >= 1002 compatible API... no configure: error: M*tif has not been found 于是我下载了一个lesstif进行了安装 在/usr/X11R6/lib里有了libXbae.so.6.2 但是 configure的时候还是出错,望高手指点。 [ Last edited by cloudsea163 on 2008-7-1 at 18:15 ] |
» 猜你喜欢
085404(计算机技术)293分 希望调剂到材料相关专业
已经有0人回复
ELISA试验中不容忽视的细节盘点(二)
已经有0人回复
物理化学论文润色/翻译怎么收费?
已经有240人回复
华南师范大学广州市光谱分析与功能探针重点实验室诚招青年英才和博士后岗位研究人员
已经有11人回复
华南师范大学广州市光谱分析与功能探针重点实验室诚招青年英才和博士后岗位研究人员
已经有10人回复
细胞培养,这22个细节一定要注意!(一)
已经有0人回复
CSC访学博后项目获批,外方学校暂停合作该怎么办?
已经有51人回复
求标准卡片Cu0.4In0.4Zn1.2S2 PDF#32-0340
已经有2人回复
量子点电致发光器件(QLED):蓝光量子点(QDs)和纳米氧化锌电子传输材料
已经有0人回复
需要一个圆偏振光诱导化学反应,请问使用圆偏振光作为光源,应该需要哪些设备搭建
已经有0人回复
分子动力学模拟合作需求
已经有0人回复

gwdavid
木虫 (著名写手)
小木虫散兵坑坑长
- 应助: 0 (幼儿园)
- 贵宾: 0.522
- 金币: 4097.7
- 散金: 1548
- 红花: 57
- 帖子: 1768
- 在线: 151.2小时
- 虫号: 514002
- 注册: 2008-02-28
- 性别: GG
- 专业: 生化分析及生物传感
★ ★ ★ ★
cloudsea163(金币+2,VIP+0):谢谢!
lei0736(金币+2,VIP+0):十大“耐思”版主评选欢迎参与投票 http://emuch.net/bbs/viewthread.php?tid=845527&fpage=1
cloudsea163(金币+2,VIP+0):谢谢!
lei0736(金币+2,VIP+0):十大“耐思”版主评选欢迎参与投票 http://emuch.net/bbs/viewthread.php?tid=845527&fpage=1
|
我看了,大体意思就是所需要的motif不是你下载的,指向有错误,这个是系统有的,需要帮助configure来找到这个库文件,方法就是为./configure加参数,你可以试试。 具体如下: The configure for grace is looking for a Motif compatible library, not for a Windowing software. Motif and Lesstif are both refering to the Windowing software and the name of the library. Lesstif is probably installing a Motif compatible library as well, possibly from openmotif. The required library is libXm.a (static) or libXm.so (shared). The usual place for this library is in /usr/X11R6/lib. In case the configure does not find the required library, it is necessary to instruct it to look in the correct place. I use the following prefix to the configure in order to let it know where to look for the required library and include files: ./configure --prefix=/sasbuild/local \ --enable-grace-home=/sasbuild/local/grace_5.1.20 \ --with-extra-incpath=/sasbuild/local/fftw_2.1.3/include:/usr/X11R6/include/Xm \ --with-extra-ldpath=/sasbuild/local/fftw_2.1.3/lib \ --with-fftw-library=/sasbuild/local/fftw_2.1.3/lib/libfftw.a \ --with-motif-library=/usr/X11R6/lib/libXm.a Look at the third line and the last one. The tell the configure to look for includes for Motif in /usr/X11R6/include/Xm and for the Motif compatible library in /usr/X11R6/lib/libXm.a. The rest of the configure prefixes shown above are self-explanatory and obviously allow us to build grace in a different directory to the usual default which is /usr/local. The configure command shown above is what I use in fact to build our grace software. Notice that in our case we use the FFTW software as well, as part of the building process for grace. In case the Lesstif software does not include the Openmotif library, you can download the Openmotif package or build it from source code as well. |

2楼2008-06-27 20:09:13
cloudsea163
金虫 (著名写手)
- 应助: 1 (幼儿园)
- 金币: 22.2
- 散金: 847
- 红花: 2
- 帖子: 1539
- 在线: 129.5小时
- 虫号: 508812
- 注册: 2008-02-22
- 性别: GG
- 专业: 能源化工

3楼2008-06-27 21:32:02












回复此楼