[Tile-serving] [osm2pgsql] Configure script fails to detect Lau correctly. (#26)

Dane Springmeyer notifications at github.com
Tue Aug 20 18:33:42 UTC 2013


There needs to be a way disable the configure against lua. I tried `--with-lua=no`, `--without-lua` and `--disable-lua` and none of them seem to work. On OS X I cannot get configure to get past the lua checks and hit:

```sh
checking for a Lua interpreter with version >= 5.0... lua
checking for lua... /usr/local/bin/lua
checking for lua version... 5.1
checking for lua platform... unknown
checking for lua script directory... ${prefix}/share/lua/5.1
checking for lua module directory... ${exec_prefix}/lib/lua/5.1
checking if LUA_VERSION is defined... yes
checking lua.h usability... no
checking lua.h presence... yes
configure: WARNING: lua.h: present but cannot be compiled
configure: WARNING: lua.h:     check for missing prerequisite headers?
configure: WARNING: lua.h: see the Autoconf documentation
configure: WARNING: lua.h:     section "Present But Cannot Be Compiled"
configure: WARNING: lua.h: proceeding with the compiler's result
checking for lua.h... no
checking lualib.h usability... no
checking lualib.h presence... yes
configure: WARNING: lualib.h: present but cannot be compiled
configure: WARNING: lualib.h:     check for missing prerequisite headers?
configure: WARNING: lualib.h: see the Autoconf documentation
configure: WARNING: lualib.h:     section "Present But Cannot Be Compiled"
configure: WARNING: lualib.h: proceeding with the compiler's result
checking for lualib.h... no
checking lauxlib.h usability... no
checking lauxlib.h presence... yes
configure: WARNING: lauxlib.h: present but cannot be compiled
configure: WARNING: lauxlib.h:     check for missing prerequisite headers?
configure: WARNING: lauxlib.h: see the Autoconf documentation
configure: WARNING: lauxlib.h:     section "Present But Cannot Be Compiled"
configure: WARNING: lauxlib.h: proceeding with the compiler's result
checking for lauxlib.h... no
checking luaconf.h usability... no
checking luaconf.h presence... yes
configure: WARNING: luaconf.h: present but cannot be compiled
configure: WARNING: luaconf.h:     check for missing prerequisite headers?
configure: WARNING: luaconf.h: see the Autoconf documentation
configure: WARNING: luaconf.h:     section "Present But Cannot Be Compiled"
configure: WARNING: luaconf.h: proceeding with the compiler's result
checking for luaconf.h... no
configure: error: cannot find Lua includes
```

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/26#issuecomment-22967004
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20130820/401a1121/attachment.html>


More information about the Tile-serving mailing list