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忽略掉,到此安装成功。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· Ollama——大语言模型本地部署的极速利器
· DeepSeek如何颠覆传统软件测试?测试工程师会被淘汰吗?