sailorproject / sailor

A Lua MVC Web Framework.
MIT License
921 stars 125 forks source link

Sailor not installing on Linux Mint 17.3 #88

Closed Hygens closed 8 years ago

Hygens commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

What's your Lua version?

Hygens commented 8 years ago

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 https://github.com/sailorproject/sailor/issues/88#issuecomment-186880875.

Hygens commented 8 years ago

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 https://github.com/sailorproject/sailor/issues/88#issuecomment-186880875.

Hygens commented 8 years ago

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 https://github.com/sailorproject/sailor/issues/88#issuecomment-186864798.

Etiene commented 8 years ago

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 commented 8 years ago

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

Hygens commented 8 years ago

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 https://github.com/sailorproject/sailor/issues/88#issuecomment-186904467.

felipedaragon commented 8 years ago

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 commented 8 years ago

What's your luarocks version?

luarocks --version

felipedaragon commented 8 years ago

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

felipedaragon commented 8 years ago

luarocks 2.0.8

Etiene commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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

felipedaragon commented 8 years ago

Done - created the different issue.

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

Hygens commented 8 years ago

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 https://github.com/sailorproject/sailor/issues/88#issuecomment-186914485.

felipedaragon commented 8 years ago

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

Etiene commented 8 years ago

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

felipedaragon commented 8 years ago

@Hygens I was able to upgrade luarocks and install Sailor after making the cleanup Hisham suggested at https://github.com/keplerproject/luarocks/issues/505

Hygens commented 8 years ago

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 > https://github.com/sailorproject/sailor/issues/88#issuecomment-186921133.
Etiene commented 8 years ago

Perfect! may I close this issue now? :)

Hygens commented 8 years ago

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 https://github.com/sailorproject/sailor/issues/88#issuecomment-186950363.

Etiene commented 8 years ago

Yay! :dancers: