24小时热门版块排行榜    

Znn3bq.jpeg
查看: 405  |  回复: 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的回帖

cloudsea163

金虫 (著名写手)

还是不行阿 谢谢你!
路漫漫其修远兮,吾将上下而求索!
3楼2008-06-27 21:32:02
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 3 个回答

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的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 一志愿沪9,326求生物学调剂 +12 刘墨墨 2026-04-13 12/600 2026-04-18 23:31 by 路病情
[考研] 0854求调剂 +22 门路摸摸 2026-04-15 26/1300 2026-04-18 23:30 by 路病情
[考研] 生物学调剂 +10 纸扇zhishan 2026-04-13 10/500 2026-04-18 21:19 by zqndavala
[考研] 一志愿华中农业071010,320求调剂 +17 困困困困坤坤 2026-04-14 19/950 2026-04-17 20:08 by 关一盏灯cd
[考博] 求博导|生物质基多孔碳/超级电容方向,已有相关成果,寻能源材料/碳材料方向老师 +3 猪猪人Zzz 2026-04-12 3/150 2026-04-17 19:10 by 阳阳阳^_^
[论文投稿] 有没有接收比较快的sci期刊呀,最好在一个月之内的,研三孩子求毕业 20+4 之护着 2026-04-16 5/250 2026-04-17 10:02 by bobvan
[考研] 307中医考研调剂 +6 于以采蘩 2026-04-14 6/300 2026-04-16 16:20 by qingfeng258
[考研] 26药学专硕105500求调剂 +6 喽哈加油 2026-04-13 7/350 2026-04-16 14:31 by zhouxiaoyu
[考研] 322求调剂 +8 123安康 2026-04-12 15/750 2026-04-16 11:07 by Espannnnnol
[考研] 药学求调剂 +14 喽哈加油 2026-04-14 16/800 2026-04-16 10:15 by beilsong20
[考研] 求调剂推荐 +8 小聂爱学习 2026-04-14 8/400 2026-04-16 07:22 by 学员JpLReM
[考研] 289 分105500药学专硕求调剂(找B区学校) +4 白云123456789 2026-04-13 4/200 2026-04-16 00:18 by 粉沁若尘
[考研] 一志愿A区211,22408 321求调剂 +6 随心所欲☆ 2026-04-15 7/350 2026-04-15 21:45 by lbsjt
[考研] 085404 22408 309分求调剂 +9 lzmk 2026-04-14 10/500 2026-04-15 20:02 by 学员JpLReM
[教师之家] 转长聘了 +7 简单化xn 2026-04-13 7/350 2026-04-14 14:50 by xindong
[考研] 085408光电信息工程专硕355一志愿长春光机所调剂 +6 王ymaa 2026-04-13 13/650 2026-04-14 11:33 by 王ymaa
[考研] 085600材料与化工329分求调剂 +24 叶zilin 2026-04-13 25/1250 2026-04-14 09:20 by 试管破裂
[考研] 085600材料与化工349分求调剂 +16 李木子啊哈哈 2026-04-12 17/850 2026-04-14 09:11 by fenglj492
[考研] B区0809 ,数一英一,290 求调剂 +3 泠潍1111 2026-04-12 4/200 2026-04-13 20:35 by 学员JpLReM
[考研] 339求调剂 +4 hanwudada 2026-04-12 4/200 2026-04-13 12:03 by 蓝云思雨
信息提示
请填处理意见