24小时热门版块排行榜    

查看: 471  |  回复: 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的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[教师之家] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +4 3n8v2C8RimXI 2026-09-13 4/200 2026-09-14 15:48 by Aj1rhIDL5ixY
[考研] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +3 3n8v2C8RimXI 2026-09-13 4/200 2026-09-14 15:45 by Aj1rhIDL5ixY
[找工作] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +5 QUjhNVAcOSff 2026-09-13 6/300 2026-09-14 15:21 by Aj1rhIDL5ixY
[考博] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +4 QUjhNVAcOSff 2026-09-13 4/200 2026-09-14 15:13 by Aj1rhIDL5ixY
[硕博家园] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +3 QUjhNVAcOSff 2026-09-13 3/150 2026-09-14 15:09 by Aj1rhIDL5ixY
[博后之家] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +3 QUjhNVAcOSff 2026-09-13 4/200 2026-09-14 15:01 by Aj1rhIDL5ixY
[公派出国] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +4 QUjhNVAcOSff 2026-09-13 6/300 2026-09-14 15:00 by Aj1rhIDL5ixY
[考研] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 QUjhNVAcOSff 2026-09-13 3/150 2026-09-14 14:57 by Aj1rhIDL5ixY
[考博] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +3 s3fFTmArrBt6 2026-09-14 3/150 2026-09-14 12:35 by 40ms4Wlo4umh
[基金申请] 求教各位大神:2026教育部人文社科青年基金项目何时公示呀? +5 云宴山人 2026-09-10 7/350 2026-09-14 12:11 by ecnu2013
[找工作] 浙江师范大学是怎么坑我的 +6 recruit123 2026-09-09 6/300 2026-09-14 12:00 by 萨仁其其格
[考研] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +3 LwdutQ8HoqWP 2026-09-13 3/150 2026-09-14 11:13 by 23jxep3nCNZb
[找工作] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +3 3n8v2C8RimXI 2026-09-13 3/150 2026-09-14 10:59 by 23jxep3nCNZb
[博后之家] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +3 3n8v2C8RimXI 2026-09-13 3/150 2026-09-14 10:56 by 23jxep3nCNZb
[博后之家] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +3 QUjhNVAcOSff 2026-09-13 3/150 2026-09-14 10:11 by 23jxep3nCNZb
[考研] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 QUjhNVAcOSff 2026-09-13 4/200 2026-09-14 10:01 by 23jxep3nCNZb
[考博] 西北工业大学材料学院电化学传感与催化课题组招收2027年推免研究生、博士生、博士后 +3 马方园 2026-09-10 4/200 2026-09-14 09:29 by Chem张zz
[教师之家] 浙江师范大学是怎么坑我的 +10 recruit123 2026-09-09 15/750 2026-09-13 10:45 by seaskyy
[基金申请] 面上有专家说实验设备不是我们单位的 +6 zj_muchong 2026-09-08 8/400 2026-09-11 06:56 by suifengdao
[有机交流] 科研求助 10+4 我吃一只鱼 2026-09-07 4/200 2026-09-10 08:32 by 0940628
信息提示
请填处理意见