²é¿´: 385  |  »Ø¸´: 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µÄ»ØÌû

cloudsea163

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

»¹ÊDz»Ðа¢ ллÄ㣡
·ÂþÂþÆäÐÞÔ¶Ù⣬ÎὫÉÏ϶øÇóË÷£¡
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µÄ»ØÌû
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[»ù½ðÉêÇë] ÌåÖÆÄÚ³¤±²ËµÌåÖÆÄÚ¾ø´ó²¿·ÖÒ»±²×ÓÔڵײ㣬ÈçͬÄãÃÇÒ»Ñù´ó²¿·ÖÆÕͨ½ÌʦæÇÒÊÕÈëµÍ +10 ˲ϢÓîÖæ 2026-02-20 13/650 2026-02-23 11:23 by holypower
[¿¼ÑÐ] ÊÛSCIÒ»ÇøÎÄÕ£¬ÎÒ:8 O5 51O 54,¿ÆÄ¿ÆëÈ«,¿É+¼± +3 khieu8v8m0 2026-02-22 8/400 2026-02-23 09:35 by w4l55oybr1
[ÂÛÎÄͶ¸å] ÊÛSCIÒ»ÇøÎÄÕ£¬ÎÒ:8 O5 51O 54,¿ÆÄ¿ÆëÈ«,¿É+¼± +4 khieu8v8m0 2026-02-22 8/400 2026-02-23 09:29 by w4l55oybr1
[¿¼ÑÐ] ÊÛSCIÒ»ÇøÎÄÕ£¬ÎÒ:8 O5 51O 54,¿ÆÄ¿ÆëÈ«,¿É+¼± +5 usprnugpzw 2026-02-21 11/550 2026-02-23 09:24 by w4l55oybr1
[½Ìʦ֮¼Ò] ΪʲôÖйú´óѧ¹¤¿Æ½ÌÊÚÃÇË®ÁËÄÇô¶àËùνµÄ¶¥»á¶¥¿¯£¬µ«»¹ÊÇ×ö²»³öÓîÊ÷»úÆ÷ÈË£¿ +5 »¶ÀÖËÌÒ¶Ýè 2026-02-21 8/400 2026-02-23 09:19 by »¶ÀÖËÌÒ¶Ýè
[ÂÛÎÄͶ¸å] ÊÛSCIÒ»ÇøÎÄÕ£¬ÎÒ:8 O5 51O 54,¿ÆÄ¿ÆëÈ«,¿É+¼± +3 w89i99eaeh 2026-02-22 5/250 2026-02-23 08:04 by w4l55oybr1
[²©ºóÖ®¼Ò] ÊÛSCIÒ»ÇøÎÄÕ£¬ÎÒ:8 O5 51O 54,¿ÆÄ¿ÆëÈ«,¿É+¼± +4 khieu8v8m0 2026-02-22 6/300 2026-02-23 07:59 by w4l55oybr1
[²©ºóÖ®¼Ò] ÊÛSCIÒ»ÇøÎÄÕ£¬ÎÒ:8 O5 51O 54,¿ÆÄ¿ÆëÈ«,¿É+¼± +6 3dfhjxgsh7 2026-02-22 9/450 2026-02-23 07:49 by w4l55oybr1
[¿¼²©] ÊÛSCIÒ»ÇøÎÄÕ£¬ÎÒ:8 O5 51O 54,¿ÆÄ¿ÆëÈ«,¿É+¼± +4 khieu8v8m0 2026-02-22 4/200 2026-02-23 06:46 by jsjzfl
[¹«Åɳö¹ú] ÊÛSCIÒ»ÇøÎÄÕ£¬ÎÒ:8 O5 51O 54,¿ÆÄ¿ÆëÈ«,¿É+¼± +3 khieu8v8m0 2026-02-22 5/250 2026-02-23 06:29 by w4l55oybr1
[˶²©¼ÒÔ°] ÊÛSCIÒ»ÇøÎÄÕ£¬ÎÒ:8 O5 51O 54,¿ÆÄ¿ÆëÈ«,¿É+¼± +4 khieu8v8m0 2026-02-22 8/400 2026-02-23 06:24 by w4l55oybr1
[¿¼²©] ÊÛSCIÒ»ÇøÎÄÕ£¬ÎÒ:8 O5 51O 54,¿ÆÄ¿ÆëÈ«,¿É+¼± +5 3dfhjxgsh7 2026-02-22 6/300 2026-02-23 02:04 by 5jlh3qtdvx
[½Ìʦ֮¼Ò] °æÃæ·Ñ¸Ã½»Âð +7 Æ»¹ûÔÚÄÄÀï 2026-02-22 8/400 2026-02-22 22:37 by otani
[»ù½ðÉêÇë] ÃæÉÏ¿ÉÒÔ³¬¹ý30Ò³°É£¿ +4 °¢À­¹±aragon 2026-02-22 4/200 2026-02-22 21:22 by ɽÎ÷Ðü¿ÕË¿ÕÐüÎ
[¿¼ÑÐ] ÊÛSCIÒ»ÇøÎÄÕ£¬ÎÒ:8 O5 51O 54,¿ÆÄ¿ÆëÈ«,¿É+¼± +3 3dfhjxgsh7 2026-02-22 4/200 2026-02-22 16:52 by khieu8v8m0
[ÕÒ¹¤×÷] ÊÛSCIÒ»ÇøÎÄÕ£¬ÎÒ:8 O5 51O 54,¿ÆÄ¿ÆëÈ«,¿É+¼± +3 usprnugpzw 2026-02-22 3/150 2026-02-22 16:37 by khieu8v8m0
[¹«Åɳö¹ú] ÊÛSCIÒ»ÇøÎÄÕ£¬ÎÒ:8 O5 51O 54,¿ÆÄ¿ÆëÈ«,¿É+¼± +3 usprnugpzw 2026-02-21 4/200 2026-02-22 16:27 by khieu8v8m0
[»ù½ðÉêÇë] ¡°ÈËÎÄÉç¿Æ¶øÂÛ£¬Ðí¶àѧÊõÑо¿»¹Ã»ÓдﵽÃñ¹úʱÆÚµÄˮƽ¡± +4 ËÕ¶«ÆÂ¶þÊÀ 2026-02-18 5/250 2026-02-22 16:07 by liangep1573
[»ù½ðÉêÇë] ʲôÊÇÈËÒ»Éú×îÖØÒªµÄ£¿ +4 ˲ϢÓîÖæ 2026-02-21 4/200 2026-02-22 11:44 by huagongfeihu
[»ù½ðÉêÇë] ½ñÄê´ºÍíÓм¸¸ö½ÚÄ¿ºÜ²»´í£¬µãÔÞ£¡ +11 ˲ϢÓîÖæ 2026-02-16 12/600 2026-02-21 21:14 by lq493392203
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û