lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


After the valuable tips given by the friends:

1. I downloaded Luvit, but I couldn't understand exactly its working.
It seems to be an web server, but the examples are not very
self-explained;

2. I tried to download OpenResty, but there's something wrong with de
acessibility of the page and, for this reason, with my screen reader
(I am blind), I was not able to get the tar ball; this was the reason
why I have chosen the Github package;

3. I did all the procedures to run a Sailor application, having as a
result, finally, a page shown at my browser.

In other words, Sailor seems to be very good for me. It's simple to
install, to configure and to create a basic MVC structure.

I found this documentation page: http://sailorproject.org/?r=docs. Now
I think it's only to study what is said there.

Onbly to ratify if I am successful with Sailor, accessing
http://localhost:8080, I have got the following page:

/usr/local/share/lua/5.2/cgilua.lua:199: attempt to call upvalue
'setfenv' (a nil value)
stack traceback:
  /usr/local/share/lua/5.2/cgilua.lua:161: in function 'setfenv'
  /usr/local/share/lua/5.2/cgilua.lua:199: in function
  (...tail calls...)
  [C]: in function 'xpcall'
  /usr/local/share/lua/5.2/cgilua.lua:169: in function 'pcall'
  /usr/local/share/lua/5.2/cgilua.lua:630: in function 'main'
  /usr/local/share/lua/5.2/wsapi/sapi.lua:53: in function
  (...tail calls...)
  [C]: in function 'xpcall'
  /usr/local/share/lua/5.2/wsapi/common.lua:270: in function 'run_app'
  [string " local app_name, bootstrap_code, is_file = ...."]:68: in
function <[string " local app_name, bootstrap_code, is_file =
...."]:65>

2015-02-26 17:13 GMT-03:00, Yichun Zhang (agentzh) <agentzh@gmail.com>:
> Hello!
>
> On Thu, Feb 26, 2015 at 8:29 AM, luciano de souza wrote:
>> $ ~/ngx_openresty-master
>> $ sudo make
>> $ sudo make install
>> Error: Without rule to process "make install"
>>
>
> The git repository of ngx_openresty is not supposed to be used by end
> users. Please read the official installation documentation of
> OpenResty:
>
>     http://openresty.org/#Installation
>
> Basically you should download the release tarballs from the official
> download page:
>
>     http://openresty.org/#Download
>
>> The problem is that I am not a C program. If the compilation is only
>> "sudo ./configure && sudo make && sudo install", I am sucessful.
>
> The steps of installing OpenResty is essentially like that :)
>
> Regards,
> -agentzh
>
>


-- 
Luciano de Souza