install xipmsg on ubuntu
liinux下安装xipmsg,本来很简单的问题,几个命令就能搞定的事情,结果却是稍微的麻烦点。
首先在ubuntu中最简单的方法就是使用apt-get来安装xipmsg
sudo apt-get install xipmsg
另外的一种方法就是直接编译源码来实现,下载地址是http://www.ipmsg.org/index.html.en ,在其中下载相应的文件,ls一
下,没有configure文件,how ?最直接的方法就是直接读取REAME文件,果然在REAME中存在安装的说明。名儒如下:
INSTALL
(1) Edit Imakefile.
- Enabe/Disable OS dependent variables (CC, EXTRA_DEFINES, ..)
(2) In the source directory, run
# xmkmf -a
# make
# make install
(3) Run xipmsg.
好吧,开始键入这些命令:
xmkmf -a
linux中很正常的error又一次出现,google。
error: X11/Xaw/Cardinals.h: No such file or directory
...
在国外的ubuntu论坛中,找到了下面的解决方法(缺少相应的lib)
http://ubuntuforums.org/showthread.php?t=125005
I had a similar problem. ./configure isn't really adequate for xspim,
so you might be missing some dependencies. I'm not sure if this will
completely solve the problem, but it's easy so probably worth a try.
This is a list of what I had to install to build xspim:
byacc
flex
bison
libx11-dev
libxaw7-dev
You can use the search function in the synaptic package manager to find everything.
实验果然成功,继续
xmkmf -a
make
make install
注意要想运行xipmsg的话,需要是root用户。
sudo ./xipmsg
linux的Mrs Error可真是无处不再啊,在我认为一切OK的时候,在运行xipmsg时,又一次出现:
Warning: Missing charsets in String to FontSet conversion
再次google之,得到:
http://kb2.adobe.com/cps/321/321356.html
Solution 1
If you are running the US-English version of FrameMaker, ignore this message; FrameMaker will work as expected.
Solution 2
Set the LANG environmental variable at a UNIX command prompt for the version of the FrameMaker 5.5.3 product and UNIX shell you are using before you start FrameMaker:
If you are using the US-English version of FrameMaker:
- For a C shell, type:
setenv LANG en_US.iso88591
- For a Bourne or Korn shell, type:
LANG=en_US.iso88591; export LANG
If you are using the French version of FrameMaker:
- For a C shell, type:
setenv LANG fr_FR.iso88591
- For a Bourne or Korn shell, type:
LANG=fr_FR.iso88591; export LANG
If you are using the German version of FrameMaker:
- For a C shell, type:
setenv LANG de_DE.iso88591
- For a Bourne or Korn shell, type:
LANG=de_DE.iso88591; export LANG
NOTE: If you need assistance with setting these variables, please see your UNIX system administrator.
我使用的是e文的,所以将上面的Waning忽略掉,到此安装成功。
作者:许强1. 本博客中的文章均是个人在学习和项目开发中总结。其中难免存在不足之处 ,欢迎留言指正。 2. 本文版权归作者和博客园共有,转载时,请保留本文链接。