patrickpeng2091 / lsyncd

Automatically exported from code.google.com/p/lsyncd
GNU General Public License v2.0
0 stars 0 forks source link

Ubuntu installation ./configure finding lua #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This issue relates to the installation of lsyncd on Ubuntu. 
I would like to have a better documentation of the required dependencies 

What steps will reproduce the problem?
1. Download and unpack sources on Ubuntu ( 10.10/11.04 ) installation where Lua 
has not been installed previously
2. cd to source-dir and run ./configure
3. Script will complain about not being able to find package Lua >= 5.1.3
4. Search for package Lua using apt-cache and fail to find the correct package. 

Basically I am only requesting that the proper package to install is documented 
in a README file in the distributed source

What is the expected behavior? What does Lsyncd do instead?

I expect to install lua using 
    sudo apt-get install lua
since it complains that it is missing 'lua'
As far as I know, I actually need to install 'liblua5.1-0-dev', but I am not 
sure since I installed alot of other lua-packages. 

What version of Lsyncd are you using? On what operating system (host and
target(s)?
Lsyncd 2.0.5 on Ubuntu 11.04 (Had the samme issue on Ubuntu 10.10)

If applicable please copy/paste your Lsyncd configuration file.
N/A

If applicable please copy/paste a logfile generated with '-log all' of a
minimal testcase that raises this problem.
N/A

Please provide any additional information below.
Really nice work, keep it up :)

Original issue reported on code.google.com by kas...@lindbergonline.dk on 10 Oct 2011 at 4:18

GoogleCodeExporter commented 9 years ago
Thank you!

I cannot know for sure what the package is that provides (lib)lua. This depends 
on the distro you have and there are a hundred of them . Actually my code that 
is checking for a package is quirky, since it should test directly for the 
ability to bind to the library instead, but honestly I just don't know better, 
I'm not that much of an autoconf wizard. Taking patches that changes this 
anytime ;-)

Original comment by axk...@gmail.com on 10 Oct 2011 at 5:07