axkibe/lsyncd — Issue #70: compilatio errors on SLES 10.
Author: axkibe
Created: 2011-11-16 15:07:37+00:00
State: open
Labels: Type-Defect

Originally filed by thevi...@gmail.com on 2011-06-21T12:37:31

Hi,

my organization server is on suse enterprise linux (64 bit version ) - 10 and we are trying to implement lsyncd but have these problems while building lsyncd-2.0.4 from source :

i have LUA installed. as per suggestion in one of similar issue found here,

1. from /etc directory of lua packgae i copied lua.pc to /usr/lib64/pkgconfig and

2.i even changed /usr/lib64/pkgconfig/lua.pc to /usr/lib64/pkgconfig/lua5.1.pc

and now when i am trying to configure i get the error as :

---------------------------------------------------------------
BigBang:~/downloads/lsyncd-2.0.4 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LUA... no
checking for LUA... no
checking for LUA... no
checking for LUA... configure: error: Package requirements (lua >= 5.1.3) were not met:

Package lua was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LUA_CFLAGS
and LUA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
-----------------------------------------------------------------

I am struck with this for the past 48 hours. Thanks for any incoming help.

best regards,

Vishz.