Skip to content

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

Description

@devurandom

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 \

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions