It was thus said that the Great Hisham Muhammad once stated:
> 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).

  That could very well be the problem, I don't know.  

> > [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?

[spc]lucy:~/projects/lua-conmanorg/rockspecs>luarocks upload 
org.conman.tls-1.0.0-1.rockspec
Sending org.conman.tls-1.0.0-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>luarocks upload --verbose 
org.conman.tls-1.0.0-1.rockspec

io.popen:       stat -c '%U' '/home/spc/.cache/luarocks' 2> /dev/null
Sending org.conman.tls-1.0.0-1.rockspec ...

os.execute:     '/usr/bin/curl' '--version'
curl 7.12.1 (i686-redhat-linux-gnu) libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 
libidn/0.5.6
Protocols: ftp gopher telnet dict ldap http file https ftps 
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz 
Results: 3
  1 (nil): nil
  2 (string): exit
  3 (number): 2

os.execute:     'wget' '--version'
GNU Wget 1.10.2 (Red Hat modified)

Copyright (C) 2005 Free Software Foundation, Inc.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Originally written by Hrvoje Niksic <hnik...@xemacs.org>.
Results: 3
  1 (boolean): true
  2 (string): exit
  3 (number): 0

os.execute:     '/usr/bin/curl' '--version'
curl 7.12.1 (i686-redhat-linux-gnu) libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 
libidn/0.5.6
Protocols: ftp gopher telnet dict ldap http file https ftps 
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz 
Results: 3
  1 (nil): nil
  2 (string): exit
  3 (number): 2

os.execute:     '/usr/bin/curl' '--version'
curl 7.12.1 (i686-redhat-linux-gnu) libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 
libidn/0.5.6
Protocols: ftp gopher telnet dict ldap http file https ftps 
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz 
Results: 3
  1 (nil): nil
  2 (string): exit
  3 (number): 2

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')

Yes, I am running a rather older system, but it hasn't been much of an
issue.

> >   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.

  Can you not have a rockspec file for both versions?

  -spc (Thanks for the response)



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

Reply via email to