[En-Nut-Discussion] Lua not detected with autoconf

Harald Kipp harald.kipp at egnite.de
Fri Apr 3 12:39:04 CEST 2009


Hi,

some days ago I failed to build the 4.9 source code package. No big
deal, because Linux/MAC users can easily build beta versions from SVN.

However, today I wanted to build stable 4.8.2 and this failed again.
There are actually two problems.

1. Lua is not properly detected

 checking for lua... /usr/bin/lua
 checking for pkg-config... /usr/bin/pkg-config
 checking pkg-config is at least version 0.9.0... yes
 checking for LUA... no
 checking for pkg-config... (cached) /usr/bin/pkg-config
 checking pkg-config is at least version 0.9.0... yes
 checking for LUA... no
 configure: WARNING: Lua library missing, will not build configuration
tools.
 configure: nutconf tools enabled

2. nutconf is enabled although Lua wasn't found. As a result 'make
distcheck' fails.


lua -v gives
  Lua 5.0.3  Copyright (C) 1994-2006 Tecgraf, PUC-Rio

So far I'm not that familiar with pkg-config and I do not want to mess
things up. May be anyone else can help?

Many thanks,

Harald




More information about the En-Nut-Discussion mailing list