在64bit的Lsyncd安装问题

在安装Lsyncd 2.0.6 ./configure && make && make install过程中,我收到一个未find的错误。

 gcc: /usr/lib/liblua.a: No such file or directory make[1]: *** [lsyncd] Error 1 

我使用64位Amazon Ec2 Linux Ami,并且检查了/usr/lib64/liblua.a liblua.a

我该怎么做完成安装?

lsyncd在EPEL中是可用的(如果你使用的是Amazon的linux,那就是RHEL):

 $ yum info lsyncd Loaded plugins: priorities, ps Available Packages Name : lsyncd Arch : i686 Version : 2.0.4 Release : 1.el6.1 Size : 60 k Repo : epel Summary : File change monitoring and synchronization daemon URL : http://code.google.com/p/lsyncd/ License : GPLv2+ Description : Lsyncd watches a local directory trees event monitor interface (inotify). : It aggregates and combines events for a few seconds and then spawns one : (or more) process(es) to synchronize the changes. By default this is : rsync. : : Lsyncd is thus a light-weight live mirror solution that is comparatively : easy to install not requiring new file systems or block devices and does : not hamper local file system performance. 

这是版本2.0.4。 你可能想要坚持这个版本,让仓库人员pipe理补丁,更新等。

如果你真的想要2.0.6,你可以抓住SRPM并用2.0.6的tar文件重build它,但是你应该记住,你将不能使用该包的基于回购的更新。 另一方面,与使用./configure ; make ; make install进行的操作相比,您将会进行某种程序包pipe理./configure ; make ; make install ./configure ; make ; make install ./configure ; make ; make install ,RPM SPEC文件将更好地处理构build过程中的依赖关系。