Coder Social home page Coder Social logo

lua-build's Issues

bin/lua-build: line 144: pushd: luajit-2.1.0-beta2: No such file or directory

I am trying to build luajit-2.1.0-beta2 using luaenv install, which fails with following message:

Downloading luajit-2.1.0-beta2.tar.gz...
-> http://luajit.org/download/LuaJIT-2.1.0-beta2.tar.gz                                         
/opt/luaenv/plugins/lua-build/bin/lua-build: line 144: pushd: luajit-2.1.0-beta2: No such file or directory

This is an excerpt from my Dockerfile:

ENV LUAENV_ROOT=/opt/luaenv \
    PATH=/opt/luaenv/bin:$PATH

RUN ...
    && git clone https://github.com/cehoffman/luaenv.git ${LUAENV_ROOT} && cd ${LUAENV_ROOT} && git checkout ${LUAENV_VERSION} \
    && git clone git://github.com/cehoffman/lua-build.git ${LUAENV_ROOT}/plugins/lua-build && cd ${LUAENV_ROOT}/plugins/lua-build && git checkout ${LUAENV_BUILD_VERSION} \
    && git clone https://github.com/xpol/luaenv-luarocks.git ${LUAENV_ROOT}/plugins/luaenv-luarocks && cd ${LUAENV_ROOT}/plugins/luaenv-luarocks && git checkout ${LUAENV_LUAROCKS_VERSION} \
    && cd \
    && eval "$(luaenv init -)" \
    && for v in ${LUA_VERSIONS} ; do \
        if ! luaenv install ${v} ; then \
            cat /tmp/lua-build.*.log ; \
            exit 1 ; \
        fi ; \
    done \

Support more recent Luvit releases

FEATURE REQUEST

Description of Request

  • support more recent, stable luvit releases

Reason or Need for Feature

  • Build and compilation process for luvit is broken:
    • dev tag does not exist
    • build on 0.6.0 and 0.6.1 is failing.
  • current supported versions are too old.

Design / Proposal

  • remove dev tag
  • explore using Github API to automatically pull the latest tags
  • support builds on versions >=1.0.0

Additional context

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.