Hi,

Thank you for your reports and sorry about the bumpy road you're going through.

On Sat, 15 Sep 2018 at 17:05, Sean Conner <s...@conman.org> wrote:
> It was thus said that the Great Sean Conner once stated:
> >       * Remove all evidance that LuaRocks had been installed
> >       * Remove all evidance that LuaJIT had been installed
> >       * Remove all evidance that Lua had been install
> >       * Reinstall Lua
> >       * mkdir $HOME/.lurocks
> >       * reinstall previous config file there
> >       * ./configure LuaRocks
> >       * make bootstrap
> >
> > And it worked after all that.

That shouldn't have all been necessary, I'm not sure what happened.
One possibility is that you were trying to run it from within the
luarocks tarball dir, which is itself a LuaRocks project, so it was
picking that up and installing things into its own lua_modules dir
(that's like running git from within a git repo, it will assume it is
referring to that repo).

> [spc]lucy:~/projects/lua-conmanorg/rockspecs>luarocks upload 
> --api-key=<redacted> org.conman.errno-1.0.2-1.rockspec
> Sending org.conman.errno-1.0.2-1.rockspec ...
>
> Error: '/usr/bin/curl' program not found. Make sure curl is installed and is
> available in your PATH (or you may want to edit the 'variables.CURL' value
> in file '/home/spc/.luarocks/config-5.3.lua')
> [spc]lucy:~/projects/lua-conmanorg/rockspecs>which curl
> /usr/bin/curl
> [spc]lucy:~/projects/lua-conmanorg/rockspecs>
>
>   So I *have* curl installed, but LuaRocks is not finding it.

This is very odd. Can you try running it with --verbose, to see if we
get any hint?

>   Secondly, I used to be able to upload without the --api-key option, but
> I'm having difficulty finding out how I got that working with that option.
>
>   So far:
>
>         * You can't upgrade to LuaRocks 3 from LuaRocks 2 using luarocks.

That is indeed a limitation. This is a major release and the first
rockspec format change in like 10(?) years, so I figured I'd make the
jump and use the new features in its own rockspec as a showcase of the
functionality.

>         * Did the upload command change?

No, it shouldn't have changed.

>         * Why is LuaRocks not finding curl when I have it installed?  And
>           this is *after* I set the variables.CURL.
Now that is something we'll need to debug.

Thank you so much for taking the time and sharing your experiences.
Sorry about the inconveniences caused by the upgrade, but all feedback
is welcome to help improving the tool.

-- Hisham


_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to