| ²é¿´: 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 ] |
» ²ÂÄãϲ»¶
ÒÑÖªÃæÉϹÒÁË£¬Ð¡Ñ§Ð£ÊµÑé·½ÏòÎÞÆ½Ì¨£¬¸Ð¾õÌ«ÄÑÁË
ÒѾÓÐ26È˻ظ´
ÇóÖúÁ¢·½¾§ÌåIn(OH)3µÄCIF¿¨Æ¬
ÒѾÓÐ2È˻ظ´
ÎïÀí»¯Ñ§ÂÛÎÄÈóÉ«/·ÒëÔõôÊÕ·Ñ?
ÒѾÓÐ61È˻ظ´
CSC·Ãѧ²©ºóÏîÄ¿»ñÅú£¬ÍⷽѧУÔÝÍ£ºÏ×÷¸ÃÔõô°ì£¿
ÒѾÓÐ51È˻ظ´
ÇóÖú¸÷λ´óÀУ¬ÇòÇòÁË£¬ÔÚÕâ¿ÆÈøÍ·
ÒѾÓÐ0È˻ظ´
[µç×ӽ̲Ä]Ìì½ò´óѧÎïÀí»¯Ñ§£¨µÚÆß°æ£©ÉÏ¡¢Ï²á
ÒѾÓÐ2È˻ظ´
ÒõÀë×Ó½»»»Ä¤µç½â¶þÑõ»¯Ì¼»¹Ô
ÒѾÓÐ0È˻ظ´
·Ö×Ó¶¯Á¦Ñ§Ä£ÄâºÏ×÷ÐèÇó
ÒѾÓÐ0È˻ظ´
¾Å½Ñ§Ôº2026Äê×îи߲ã´ÎÈ˲ÅÕÐÆ¸¹«¸æ
ÒѾÓÐ0È˻ظ´
ÉîÛÚÐÅÏ¢Ö°Òµ¼¼ÊõѧԺ2026Äê½ÌʦÕÐÆ¸¹«¸æ£¨×îУ©
ÒѾÓÐ0È˻ظ´

cloudsea163
½ð³æ (ÖøÃûдÊÖ)
- Ó¦Öú: 1 (Ó×¶ùÔ°)
- ½ð±Ò: 22.2
- É¢½ð: 847
- ºì»¨: 2
- Ìû×Ó: 1539
- ÔÚÏß: 129.5Сʱ
- ³æºÅ: 508812
- ×¢²á: 2008-02-22
- ÐÔ±ð: GG
- רҵ: ÄÜÔ´»¯¹¤

3Â¥2008-06-27 21:32:02
gwdavid
ľ³æ (ÖøÃûдÊÖ)
Сľ³æÉ¢±ø¿Ó¿Ó³¤
- Ó¦Öú: 0 (Ó×¶ùÔ°)
- ¹ó±ö: 0.522
- ½ð±Ò: 4097.7
- É¢½ð: 1548
- ºì»¨: 57
- Ìû×Ó: 1768
- ÔÚÏß: 151.2Сʱ
- ³æºÅ: 514002
- ×¢²á: 2008-02-28
- ÐÔ±ð: GG
- רҵ: Éú»¯·ÖÎö¼°ÉúÎï´«¸Ð
¡ï ¡ï ¡ï ¡ï
cloudsea163(½ð±Ò+2,VIP+0):лл£¡
lei0736(½ð±Ò+2,VIP+0):Ê®´ó¡°ÄÍ˼¡±°æÖ÷ÆÀÑ¡»¶Ó²ÎÓëͶƱ http://emuch.net/bbs/viewthread.php?tid=845527&fpage=1
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. |

2Â¥2008-06-27 20:09:13













»Ø¸´´ËÂ¥