当前位置: 技术问答>linux和unix
求助,一个简单的问题
来源: 互联网 发布时间:2015-07-09
本文导语: 我在编译一个程序时有如下步骤: * If you have Motif (or Lesstif) installed in a non-standard place, you can use the following options to tell configure where to find it: --with-Xm-library=PATH --with-Xm-includes=PATH 我在...
我在编译一个程序时有如下步骤:
* If you have Motif (or Lesstif) installed in a non-standard place,
you can use the following options to tell configure where to find
it:
--with-Xm-library=PATH
--with-Xm-includes=PATH
我在ReadHat9中编译时,请问如何设置这两个路径?
* If you have Motif (or Lesstif) installed in a non-standard place,
you can use the following options to tell configure where to find
it:
--with-Xm-library=PATH
--with-Xm-includes=PATH
我在ReadHat9中编译时,请问如何设置这两个路径?
|
以上的信息不是说得很清楚了么?在configure的时候加这两个选项
|
就是说你的Motif库如果安装在非标准路径下,你就需要指定该路径。
我想如果你用的是RH9,这些东西都是在安装系统时安的,都应该在标准路径下,没有必要再去指定。
如果真的找不到,你到/usr/X11下找找libXm.* libMrm.*这样的文件,再指定路径就OK了
btw:
Linux下有两套Motif库可以用OpenMotif和Lesstif,个人认为前者好一些,我有一些Aix上的Motif程序在Linux上用Lesstif遇到了一些很bt的问题
我想如果你用的是RH9,这些东西都是在安装系统时安的,都应该在标准路径下,没有必要再去指定。
如果真的找不到,你到/usr/X11下找找libXm.* libMrm.*这样的文件,再指定路径就OK了
btw:
Linux下有两套Motif库可以用OpenMotif和Lesstif,个人认为前者好一些,我有一些Aix上的Motif程序在Linux上用Lesstif遇到了一些很bt的问题