Znn3bq.jpeg
±±¾©Ê¯ÓÍ»¯¹¤Ñ§Ôº2026ÄêÑо¿ÉúÕÐÉú½ÓÊÕµ÷¼Á¹«¸æ
²é¿´: 401  |  »Ø¸´: 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µÄʱºò»¹Êdzö´í£¬Íû¸ßÊÖÖ¸µã¡£

[ 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

½ð³æ (ÖøÃûдÊÖ)

»¹ÊDz»Ðа¢ ллÄ㣡
·ÂþÂþÆäÐÞÔ¶Ù⣬ÎὫÉÏ϶øÇóË÷£¡
3Â¥2008-06-27 21:32:02
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
Ïà¹Ø°æ¿éÌø×ª ÎÒÒª¶©ÔÄÂ¥Ö÷ cloudsea163 µÄÖ÷Ìâ¸üÐÂ
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] »úе¹¤³Ì264ѧ˶Çóµ÷¼Á +3 qiushangxian 2026-04-06 3/150 2026-04-08 01:53 by Linzejun
[¿¼ÑÐ] Ò»Ö¾Ô¸0703»¯Ñ§ÕÐ61×îÖÕÅÅÃû62»¯Ñ§Çóµ÷¼Á +9 ÕÐ61ÅÅÃû62 2026-04-07 9/450 2026-04-07 22:35 by JourneyLucky
[¿¼ÑÐ] 280Çóµ÷¼Á +7 Àîrien 2026-04-04 7/350 2026-04-07 17:33 by À¶ÔÆË¼Óê
[¿¼ÑÐ] ÉúÎïÓëÒ½Ò©273Çóµ÷¼Á +14 ÀóÌâÄÏǽ 2026-04-05 15/750 2026-04-07 16:29 by ¿É¿Ú¿ÉÀÖ²»¼Ó±ùØ
[¿¼ÑÐ] 328Çóµ÷¼Á +4 ghhh88888 2026-04-06 5/250 2026-04-07 14:45 by ghhh88888
[¿¼ÑÐ] 266·Ö£¬Ò»Ö¾Ô¸µçÆø¹¤³Ì£¬±¾¿Æ²ÄÁÏ£¬Çó²ÄÁÏרҵµ÷¼Á +12 ÍÛºôºßºôºß 2026-04-01 13/650 2026-04-07 10:02 by zhen¡«
[¿¼ÑÐ] 0703»¯Ñ§ +9 goldtt 2026-04-02 11/550 2026-04-06 10:35 by Î޼ʵIJÝÔ­
[¿¼ÑÐ] µÚÒ»Ö¾Ô¸¶«ÄÏ´óѧÎïÀí313£¬ÓпÆÑоºÈü»ñ½±¾­Àú£¬Ï£ÍûÎïÀí¸´ÊÔµ÷¼Á +3 ÂíÄÚ³È 2026-04-05 3/150 2026-04-06 10:32 by À¶ÔÆË¼Óê
[¿¼ÑÐ] 282Çóµ÷¼Á +3 aaa³µÁ¾ 2026-04-01 3/150 2026-04-05 17:03 by yulian1987
[¿¼ÑÐ] 344²ÄÁÏÓ뻯¹¤µ÷¼Á +9 µ÷¼ÁÉϰ¶«^ 2026-04-03 9/450 2026-04-04 23:10 by happyddm
[¿¼ÑÐ] 0835ѧ˶299Çóµ÷¼Á 08´óÀà¿É½ÓÊÜ +5 useryy 2026-04-03 5/250 2026-04-04 20:07 by À¶ÔÆË¼Óê
[¿¼ÑÐ] Çóµ÷¼Á +8 akdhjs 2026-04-03 8/400 2026-04-03 18:17 by ´÷άING
[¿¼ÑÐ] Ò»Ö¾Ô¸»ªÖÐũҵ071010£¬×Ü·Ö320Çóµ÷¼Á +7 À§À§À§À§À¤À¤ 2026-04-02 7/350 2026-04-03 17:26 by Yuena_Wang
[¿¼ÑÐ] ²ÄÁÏר˶322·Ö +13 ¹þ¹þ¹þºðºðºð¹þ 2026-04-01 13/650 2026-04-03 16:08 by ŶŶ123
[¿¼ÑÐ] 289-Çóµ÷¼Á +4 ÕâÀïÊÇ_ 2026-04-03 4/200 2026-04-03 14:23 by 1753564080
[¿¼ÑÐ] 266Çóµ÷¼Á +3 08µçÆø¹¤³Ì 2026-04-03 3/150 2026-04-03 14:05 by 1753564080
[¿¼ÑÐ] һ־Ըɽ¶«´óѧ»¯Ñ§Ó뻯¹¤Ñ§Ôº²ÄÁÏÓ뻯¹¤×¨Ë¶£¬360·ÖÇóµ÷¼Á +4 ²»Ô¸Í¸Â¶ÐÕÃûµÄË 2026-04-02 4/200 2026-04-03 09:29 by ÒÅÍüÏûʧµÄž™
[¿¼ÑÐ] 0856³õÊÔ324·ÖÇóµ÷¼Á +6 ÏëÉÏѧÇóµ÷ 2026-04-01 6/300 2026-04-02 11:42 by ÐÇ¿ÕÐÇÔÂ
[¿¼ÑÐ] ²ÄÁÏÇóµ÷¼Á +10 ÄØÄØÄÝÄÝ 2026-04-01 13/650 2026-04-02 09:17 by olim
[¿¼ÑÐ] 285Çóµ÷¼Á +11 AZMK 2026-04-01 11/550 2026-04-01 22:40 by peike
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û