Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sailor not installing on Linux Mint 17.3 #88

Closed
Hygens opened this issue Feb 21, 2016 · 24 comments
Closed

Sailor not installing on Linux Mint 17.3 #88

Hygens opened this issue Feb 21, 2016 · 24 comments

Comments

@Hygens
Copy link

Hygens commented Feb 21, 2016

I have followed all steps for installing Sailor as for Ubuntu but I reached that error:

josenildo@josenildo-Dell ~ $ luarocks install sailor

Error: No results matching query were found.

Attached is image for that.

captura de tela de 2016-02-21 12 58 25

I have installed with that command:
luarocks install https://luarocks.org/manifests/etiene/sailor-0.5-4.rockspec

@felipedaragon
Copy link
Member

Tried to reproduce this in Mint 17.1 Cinnamon 32bit. I was able to install luarocks after making a sudo apt-get update. But then when calling luarocks install sailor I ran into something different:
(...)
cp: cannot stat ‘valua.lua’: No such file or directory

Error: Failed installing dependency: http://luarocks.org/repositories/rocks/valua-0.3-1.src.rock - Failed copying valua.lua

@Etiene
Copy link
Member

Etiene commented Feb 21, 2016

What's your Lua version?

@Hygens
Copy link
Author

Hygens commented Feb 21, 2016

I have installed lua5.2.4.

Em 21/02/2016 15:26, Etiene Dalcol escreveu:

What's your Lua version?


Reply to this email directly or view it on GitHub
#88 (comment).

@Hygens
Copy link
Author

Hygens commented Feb 21, 2016

Detail I'm using Linux Mint 17.3 x64 with compatbility libraries i386.

Em 21/02/2016 15:26, Etiene Dalcol escreveu:

What's your Lua version?


Reply to this email directly or view it on GitHub
#88 (comment).

@Hygens
Copy link
Author

Hygens commented Feb 21, 2016

Hi, Felipe!

I have tested on other machine with same linux mint 17.3 and after
update really not function more.
I will be test on pure Ubuntu version if resolve the problem I will be
using that environment for tests
with LUA.
If you found one solution for that problem tell me please.

Thank you,
Hygens

Em 21/02/2016 14:34, Felipe Daragon escreveu:

Tried to reproduce this in Mint 17.1 Cinnamon 32bit. I was able to
install luarocks after making a sudo apt-get update. But then when
calling luarocks install sailor I run into something different:
(...)
cp: cannot stat ‘valua.lua’: No such file or directory

Error: Failed installing dependency:
http://luarocks.org/repositories/rocks/valua-0.3-1.src.rock - Failed
copying valua.lua


Reply to this email directly or view it on GitHub
#88 (comment).

@Etiene
Copy link
Member

Etiene commented Feb 21, 2016

I don't have Linux mint here for testing. But that message is usually the output when installing sailor on verion 5.3, which sailor is not compatible with. Please do a lua --version again just to be sure?

Also can you try installing sailor directly from the src.rock?

luarocks install https://luarocks.org/manifests/etiene/sailor-0.5-4.src.rock

@felipedaragon
Copy link
Member

That could explain the different results. My Mint box is using Lua 5.1.5 (according to lua -v)

@Hygens
Copy link
Author

Hygens commented Feb 21, 2016

Hi, Felipe.

The correct version installed is 5.2.3 not 5.2.4 as attached image.
The error is that commented.
I will be testing on Ubuntu 16.04(LTS).
If you desire can close that issue.
If not functioning on Ubuntu I will be testing with other framework.

Thank you,
Hygens

On 02/21/2016 05:14 PM, Felipe Daragon wrote:

That could explain the different results. My Mind box is using Lua
5.1.5 (according to lua -v


Reply to this email directly or view it on GitHub
#88 (comment).

@felipedaragon
Copy link
Member

Etiene - I tried the luarocks install https://luarocks.org/manifests/etiene/sailor-0.5-4.src.rock and still got the same valua related error I posted above. Weird

@Etiene
Copy link
Member

Etiene commented Feb 21, 2016

What's your luarocks version?

luarocks --version

@felipedaragon
Copy link
Member

Could it be this value within the rockspec?
valua = "valua.lua"
which should perhaps be valua = "valua/valua.lua"?

@felipedaragon
Copy link
Member

luarocks 2.0.8

@Etiene
Copy link
Member

Etiene commented Feb 21, 2016

That is a very old version, please try updating luarocks first before we continue to narrow down the issue. I cannot reproduce this. Valua installs just fine here, but I have a newer luarocks.

@Etiene
Copy link
Member

Etiene commented Feb 21, 2016

Also please type only luarocks
It will show some information and at the end it shows which lua version it is using. You may have multiple lua versions installed and something is misconfigured

CONFIGURATION
    Lua version: 5.1
    Configuration files:

@Etiene
Copy link
Member

Etiene commented Feb 21, 2016

Also @felipedaragon, maybe you should open a different issue. You clearly do not have the same problem as the OP

@felipedaragon
Copy link
Member

Done - created the different issue.

@Hygens, which luarocks version do you have in your box?

@Hygens
Copy link
Author

Hygens commented Feb 21, 2016

That:
luarocks --version
luarocks 2.0.8
LuaRocks main command-line interface

On 02/21/2016 05:56 PM, Felipe Daragon wrote:

Done - created the different issue.

@Hygens https://github.com/Hygens, which luarocks version do you
have in your box?


Reply to this email directly or view it on GitHub
#88 (comment).

@felipedaragon
Copy link
Member

We're both with the same outdated luarocks! :)

@Etiene
Copy link
Member

Etiene commented Feb 21, 2016

@Hygens please update it first before we narrow this down since this is a very old luarocks version 👍

@felipedaragon
Copy link
Member

@Hygens I was able to upgrade luarocks and install Sailor after making the cleanup Hisham suggested at luarocks/luarocks#505

@Hygens
Copy link
Author

Hygens commented Feb 21, 2016

Felipe,

My steps:

  1. Create folder on /usr/local/lua-rocks and execute sudo chown -R
    . /usr/local/lua-rocks(This is your prefix). =Your
    logged user.
  2. Get source from lua5.2.4 and luarocks-2.3.0 from your sites or via
    github unzip on your home.
  3. First entry on folder for lua5.2.4 unzipped and edit Makefile
    parameter for: INSTALL_TOP= /usr/local/lua-rocks. Execute on same folder
    the command: make linux install (all command without sudo or su).
  4. After step 3 entry on folder luarocks-2.3.0 unzipped and execute:
    ./configure --prefix=/usr/local/lua-rocks && make build install.

After that steps all functioning perfect on Linux Mint 17.

Best regards,
Hygens

On 21-02-2016 18:22, Felipe Daragon wrote:

If you manage to upgrade it please let me know which commands you used


Reply to this email directly or view it on GitHub
#88 (comment).

@Etiene
Copy link
Member

Etiene commented Feb 22, 2016

Perfect! may I close this issue now? :)

@Hygens
Copy link
Author

Hygens commented Feb 22, 2016

Yes. Thank you for your help and support.

On 21-02-2016 21:27, Etiene Dalcol wrote:

Perfect! may I close this issue now? :)


Reply to this email directly or view it on GitHub
#88 (comment).

@Etiene
Copy link
Member

Etiene commented Feb 22, 2016

Yay! 👯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants