当前位置: 技术问答>linux和unix
有关open motif 安装和使用的问题。
来源: 互联网 发布时间:2015-05-11
本文导语: 1、我从motifzone下了一个openmotif的安装包(openmotif-devel-2.2.2-3_ICS.i386.rpm)。 我用root进入redhat linux。在该openmotif文件所在的目录下执行下述语句: rpm -i openmotif-devel-2.2.2-3_ICS.i386.rpm 执行的结果如下: file /...
1、我从motifzone下了一个openmotif的安装包(openmotif-devel-2.2.2-3_ICS.i386.rpm)。
我用root进入redhat linux。在该openmotif文件所在的目录下执行下述语句:
rpm -i openmotif-devel-2.2.2-3_ICS.i386.rpm
执行的结果如下:
file /usr/X11R6/man/man3/MrmFetchWidgetOverride.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/MrmInitialize.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/MrmOpenHierarchy.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/MrmOpenHierarchyFromBuffer.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/MrmOpenHierarchyPerDisplay.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/MrmRegisterClass.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/MrmRegisterNames.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/MrmRegisterNamesInHierarchy.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/Object.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/OverrideShell.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/RectObj.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/Shell.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/TopLevelShell.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/TransientShell.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/Uil.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/UilDumpSymbolTable.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/VendorShell.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/VirtualBindings.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/WMShell.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/XmActivateProtocol.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/XmActivateWMProtocol.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/XmAddProtocolCallback.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/XmAddProtocols.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/XmAddTabGroup.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/XmAddToPostFromList.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/XmAddWMProtocolCallback.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/XmAddWMProtocols.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.
不知,我是否是安装上了openmotif?
若没有,我应该怎样做,才能安上openmotif?
2、imake是个什么东西?是否是openmotif中的一个可执行文件?
3、我下了个motif的例程。但我不知道用openmotif编译、链接、运行程序都应执行些什么命令。
我用root进入redhat linux。在该openmotif文件所在的目录下执行下述语句:
rpm -i openmotif-devel-2.2.2-3_ICS.i386.rpm
执行的结果如下:
file /usr/X11R6/man/man3/MrmFetchWidgetOverride.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/MrmInitialize.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/MrmOpenHierarchy.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/MrmOpenHierarchyFromBuffer.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/MrmOpenHierarchyPerDisplay.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/MrmRegisterClass.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/MrmRegisterNames.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/MrmRegisterNamesInHierarchy.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/Object.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/OverrideShell.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/RectObj.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/Shell.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/TopLevelShell.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/TransientShell.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/Uil.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/UilDumpSymbolTable.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/VendorShell.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/VirtualBindings.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/WMShell.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/XmActivateProtocol.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/XmActivateWMProtocol.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/XmAddProtocolCallback.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/XmAddProtocols.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/XmAddTabGroup.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/XmAddToPostFromList.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/XmAddWMProtocolCallback.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.2.2-5
file /usr/X11R6/man/man3/XmAddWMProtocols.3.gz from install of openmotif-devel-2.2.2-3_ICS conflicts with file from package openmotif-devel-2.
不知,我是否是安装上了openmotif?
若没有,我应该怎样做,才能安上openmotif?
2、imake是个什么东西?是否是openmotif中的一个可执行文件?
3、我下了个motif的例程。但我不知道用openmotif编译、链接、运行程序都应执行些什么命令。
|
1、你原来的系统上是不是就有openmotif2.2.2-5?
2、imake是一个从模板生成makefile的工具,是X世界用的,类似现在的automake系列工具。一般不需要直接这些,执行xmkmf就可以了。
3、motif只是一个库,编译连接时加上头文件和库就可以了。
2、imake是一个从模板生成makefile的工具,是X世界用的,类似现在的automake系列工具。一般不需要直接这些,执行xmkmf就可以了。
3、motif只是一个库,编译连接时加上头文件和库就可以了。
|
1、头文件要包括在源程序里。
2、makefile要给编译器和连接器加上相应的路径,即-I/motif/include和-L/motif/lib。另外要连接motif库:-lXm
2、makefile要给编译器和连接器加上相应的路径,即-I/motif/include和-L/motif/lib。另外要连接motif库:-lXm