ubuntu 12.04 安装 tightvnc
2012-06-21 09:50
316 查看
1、获取源码:wget http://www.tightvnc.com/download/1.3.10/tightvnc-1.3.10_unixsrc.tar.gz
2、阅读 README 文件,查看编译方法,发现缺少xmkmf工具
3、通过sudo apt-get install xutils-dev 解决
4、根据README文件提供的编译方法编译 vncviewer vncserver vncpasswd vncconnect.
xmkmf
make World
在 make World 时出现找不到X11的一些头文件
vncviewer.h:39:28: fatal error: X11/Xmu/StdSel.h: No such file or directory
通过 sudo apt-get install libxmu-dev 解决
再次执行makefile 出现
desktop.c:25:30: fatal error: X11/Xaw/Viewport.h: No such file or directory
通过 sudo apt-get install libxaw7-dev 解决
再次执行makefile 成功,不过出现exit 和 strlen 的 warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
5,、编译 Xvnc
cd Xvnc
./configure
make
成功编译
6、安装
cd ..
sudo ./vncinstall /usr/local/bin /usr/local/man
2、阅读 README 文件,查看编译方法,发现缺少xmkmf工具
3、通过sudo apt-get install xutils-dev 解决
4、根据README文件提供的编译方法编译 vncviewer vncserver vncpasswd vncconnect.
xmkmf
make World
在 make World 时出现找不到X11的一些头文件
vncviewer.h:39:28: fatal error: X11/Xmu/StdSel.h: No such file or directory
通过 sudo apt-get install libxmu-dev 解决
再次执行makefile 出现
desktop.c:25:30: fatal error: X11/Xaw/Viewport.h: No such file or directory
通过 sudo apt-get install libxaw7-dev 解决
再次执行makefile 成功,不过出现exit 和 strlen 的 warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
5,、编译 Xvnc
cd Xvnc
./configure
make
成功编译
6、安装
cd ..
sudo ./vncinstall /usr/local/bin /usr/local/man
相关文章推荐
- ubuntu 12.04 安装 tightvnc
- ubuntu 12.04 安装 tightvnc
- open edX在Ubuntu 12.04中的安装
- Linux之旅(I)——Ubuntu 12.04/14.04 LTS 安装
- 如何在 Ubuntu 12.04 Server 中安装图形用户界面
- Ubuntu 12.04安装Google Chrome
- OpenCV 2.4.6.1在Ubuntu 12.04上的安装
- Ubuntu 12.04安装单显卡Nvidia驱动
- ubuntu 12.04 安装apache
- Ubuntu 12.04 安装深度音乐播放器和百度音乐插件
- Ubuntu 12.04 下安装Xen 以及使用Xen 安装winXP虚拟机
- Ubuntu 12.04安装dropbox
- ubuntu 12.04 安装 boost 失败,have unmet dependencies,held broken packages 问题
- Ubuntu 12.04 系统安装
- ubuntu 12.04中iscsi target和initiator的安装和使用
- Ubuntu 12.04 安装磊科无线网卡驱动
- Ubuntu 12.04 编译安装 OpenCV2.4.8 过程笔记
- Ubuntu 12.04 安装eclipse for c++
- Ubuntu 12.04下安装Oracle Express 11gR2
- ubuntu 12.04安装gcc-4.4的方法