源碼包安裝環境的構建
環境:虛擬機VMware Workstation
操做系統:Red Hat enterprises linux 5.3
yum環境已經搭建完成;(yum安裝工具能夠很好的解決軟件的依賴關係,因此建議使用)linux
1.先安裝gcc,yum會根據依賴關係自動去查詢所需的安裝包,並自動所有安裝(5個包);
[root@localhost /]# yum install gccide
Dependencies Resolved工具
=========================================================================================
Package Arch Version Repository Size
=========================================================================================
Installing:
gcc i386 4.1.2-44.el5 rhel-server1 5.2 M
Installing for dependencies:
glibc-devel i386 2.5-34 rhel-server1 2.0 M
glibc-headers i386 2.5-34 rhel-server1 598 k
kernel-headers i386 2.6.18-128.el5 rhel-server1 912 k
libgomp i386 4.3.2-7.el5 rhel-server1 67 k操作系統
Transaction Summary
=========================================================================================
Install 5 Package(s) server
2.安裝make,(系統已經自動安裝過,因此無需安裝)
[root@localhost /]# yum install make ---告知已安裝;ip
3.安裝automake;(3個安裝包)
[root@localhost /]# yum install automakessl
===============================================================================
Package Arch Version Repository Size
===============================================================================
Installing:
automake noarch 1.9.6-2.1 rhel-server1 484 k
Installing for dependencies:
autoconf noarch 2.59-12 rhel-server1 646 k
imake i386 1.0.2-3 rhel-server1 318 kci
Transaction Summary
===============================================================================
Install 3 Package(s)
Update 0 Package(s)
Remove 0 Package(s) 源碼
4.安裝libX11-devel;(提醒:libX後爲數字「一」當心別搞錯了;5個包)
[root@localhost rdesktop-1.7.1]# yum install libX11-developenssl
Dependencies Resolved
===============================================================================
Package Arch Version Repository Size
===============================================================================
Installing:
libX11-devel i386 1.0.3-9.el5 rhel-server1 665 k
Installing for dependencies:
libXau-devel i386 1.0.1-3.1 rhel-server1 11 k
libXdmcp-devel i386 1.0.1-2.1 rhel-server1 7.6 k
mesa-libGL-devel i386 6.5.1-7.7.el5 rhel-server1 465 k
xorg-x11-proto-devel i386 7.1-9.fc6 rhel-server1 247 k
Transaction Summary
===============================================================================
Install 5 Package(s)
5.安裝openssl-devel;(7個安裝包)
[root@localhost rdesktop-1.7.1]# yum install openssl-devel
Dependencies Resolved
===============================================================================
Package Arch Version Repository Size
===============================================================================
Installing:
openssl-devel i386 0.9.8e-7.el5 rhel-server1 1.8 M
Installing for dependencies:
e2fsprogs-devel i386 1.39-20.el5 rhel-server1 572 k
keyutils-libs-devel i386 1.2-1.el5 rhel-server1 27 k
krb5-devel i386 1.6.1-31.el5 rhel-server1 1.9 M
libselinux-devel i386 1.33.4-5.1.el5 rhel-server1 143 k
libsepol-devel i386 1.15.2-1.el5 rhel-server1 189 k
zlib-devel i386 1.2.3-3 rhel-server1 100 k
Transaction Summary
===============================================================================
Install 7 Package(s)
到此爲止,環境構建完成;
安裝源碼包的過程: tar -zxvf rdesktop-1.7.1.tar.gz 解壓縮(該源碼包爲linux訪問win下圖形界面的包) cd rdesktop-1.7.1 切換到解壓後的文件夾目錄 ./configure make make install 只需執行三步便可完成安裝; 終端下執行 #rdesktop -f -a 16 ip(解釋:-f全屏顯示) 在win7下開啓容許遠程桌面後,成功控制;(win系統必須給帳戶設置密碼才能夠;)