Git Product home page Git Product logo

Comments (2)

apmon avatar apmon commented on May 25, 2024

I have just committed a change to the build system to not require lua for building osm2pgsql, as it is currently an optional feature.

All lua code should now be hidden behind #ifdef HAVE_LUA

In case the issue was with the actual detection code in configure.ac and you do have a lua interpreter and the corresponding dev libraries installed, then please re-open.

from osm2pgsql.

springmeyer avatar springmeyer commented on May 25, 2024

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:

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

from osm2pgsql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.