24小时热门版块排行榜    

Znn3bq.jpeg
北京石油化工学院2026年研究生招生接收调剂公告
查看: 400  |  回复: 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 ]
回复此楼
路漫漫其修远兮,吾将上下而求索!
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

gwdavid

木虫 (著名写手)

小木虫散兵坑坑长

★ ★ ★ ★
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.
个人博客:[url]http://blog.sina.com.cn/gaiwei[/url]
2楼2008-06-27 20:09:13
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

cloudsea163

金虫 (著名写手)

还是不行阿 谢谢你!
路漫漫其修远兮,吾将上下而求索!
3楼2008-06-27 21:32:02
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 cloudsea163 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 304求调剂(085602,过四级,一志愿985) +20 化工人999 2026-04-04 20/1000 2026-04-07 15:32 by 尽舜尧1
[考研] 316求调剂 +7 yyx想调剂 2026-04-05 7/350 2026-04-07 14:31 by shdgaomin
[考研] 362求调剂 +7 我要考大 2026-04-06 11/550 2026-04-07 09:32 by 我要考大
[考研] 一志愿华中农业大学0710(A)初试329分 求调剂 +5 一名26考研生 2026-04-04 5/250 2026-04-07 08:54 by 18828373951
[考研] 生物与医药求调剂 +7 heguanhua 2026-04-05 8/400 2026-04-06 18:41 by macy2011
[考研] 工科08-机械专硕-求调剂 +3 雷欧飞踢 2026-04-02 3/150 2026-04-05 18:49 by 蓝云思雨
[考研] 考研调剂 +5 四川王涛 2026-04-04 5/250 2026-04-04 22:18 by 啵啵啵0119
[考研] 278求调剂 +14 范婷娜 2026-04-04 15/750 2026-04-04 22:15 by lqwchd
[考研] 301求调剂 +18 骆驼男人 2026-04-02 18/900 2026-04-04 20:33 by 蓝云思雨
[考研] 334求调剂 +8 曾仰之 2026-04-03 8/400 2026-04-04 11:16 by w_xuqing
[考研] 282求调剂 +20 ycy1201 2026-04-01 22/1100 2026-04-04 00:42 by userper
[考研] 294求调剂 +6 Grey_Ey 2026-04-03 6/300 2026-04-03 20:46 by 欣喜777
[考研] 0705理学294求调剂 +3 成果成果cg5 2026-04-03 3/150 2026-04-03 14:04 by simons1972
[考研] 081200-11408-276学硕求调剂 +6 崔wj 2026-04-02 6/300 2026-04-03 10:19 by 蓝云思雨
[考研] 专硕 351 086100 也是考的材科基 本科也是材料 +8 202451007219 2026-04-02 8/400 2026-04-03 09:50 by 蓝云思雨
[考研] 复试调剂 +3 bvzz 2026-04-01 3/150 2026-04-03 09:47 by 蓝云思雨
[考研] 326求调剂 +10 崽崽仔 2026-04-02 10/500 2026-04-03 09:08 by 帕尔马拉特
[考研] 266求调剂 +4 学员97LZgn 2026-04-02 4/200 2026-04-02 13:03 by yulian1987
[考研] 296求调剂 +4 汪!?! 2026-03-31 7/350 2026-04-01 22:04 by 客尔美德
[硕博家园] 考研调剂 +5 骆驼男人 2026-04-01 5/250 2026-04-01 14:28 by syjjj0321
信息提示
请填处理意见