讀了下面這篇文章
https://www.virtuallyghetto.com/2011/02/how-to-compile-statically-linked-rsync.html
以後一直很奇怪,32位CentOS 3.9有什麼特別之處,正好符合編譯ESXi下可用的rsync的需求,
在網上搜了一下,下面的文章討論了在Linux下編譯ESXi驅動的議題
http://www.vm-help.com/forum/viewtopic.php?f=34&t=4340
http://www.vm-help.com/forum/viewtopic.php?f=28&t=4347
http://www.vm-help.com/forum/viewtopic.php?f=34&t=4350
http://www.vm-help.com/forum/viewtopic.php?f=34&t=4365
這種議題太高端了,沒想過要去學,但是第一部分給出了一個鏈接
https://my.vmware.com/web/vmware/details?productId=229&downloadGroup=VSPHERE50U2_OSS
順着這個線索,下載了一個文件,應該是基於gpl協議VMware公司必須公開的源碼
Open Source Code for VMware vSphere ESXi 5.0 U2
File size: 384M
File type: tgz
Download
Name: VMware-esx-open-source-5.0.0u2.oss.tgz
Release Date: 2012-12-20
Open Source Code for VMware vSphere ESXi 5.0 U2
MD5SUM: 35f5d974ad390aea05311dce9062e089
SHA1SUM: 609a17ff0ed0dfaf5a44ff99f0dd0786bcb02cbd
解壓後VMware-esx-open-source-5.0.0u2.oss\BUILD.txt文件的內容如下
REQUIRED BUILD ENVIRONMENT
CentOS 5.3 64-bit (unless otherwise explicitly stated in individual BUILD.txt files)
These vendor dependencies (or their equivalent) must be installed:
Admin Tools
Author and Publish
Base
DNS Name server
Development Libraries
Development Tools
Java
Legacy Software Support
Network Servers
Server Config Tools
System Tools
Text-based Internet
Editors
IMPORTANT NOTE: Unless a package includes a BUILD.txt file, the original package's
build instructions apply (if an older operating system is needed, it is noted).
You must be 'root' in order to perform package build and installation.
Each package must be built independently in their respective directory (some
packages use the generic build process as follows):
% ./configure
% make
% make install
Example:
% cd ntfsprogs-2.0.0
% tar xzf ntfsprogs-2.0.0.tar.gz
% ./configure
% make
% make install
這說明VMware官方背書,用CentOS 5.3 64-bit可以編譯ESXi 5下可用的驅動,
至少對於ESXi 5.1來講,以後試着編譯一些小工具可以少走一些彎路了。
關鍵要素有:glibc_2.5 gcc_4.1.2 openssl 0.9.8