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

install instructions for Arch doesn't seem to work #149

Open
MaxiMakes opened this issue Mar 7, 2017 · 2 comments
Open

install instructions for Arch doesn't seem to work #149

MaxiMakes opened this issue Mar 7, 2017 · 2 comments

Comments

@MaxiMakes
Copy link

I'm running Archlinux in Virtual Box.
I tried to install sailor with this guide
INSTALL_LINUX_ARCH.md
after I have uncommented this line:
LoadModule lua_module modules/mod_lua.so

httpd breaks with:
httpd: Syntax error on line 119 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_lua.so into server: /etc/httpd/modules/mod_lua.so: undefined symbol: luaL_register

#: httpd -v
Server version: Apache/2.4.25 (Unix)
Server built:   Dec 20 2016 13:02:22

I also tried lighttpd and didn't get it to work :(

@Etiene
Copy link
Member

Etiene commented Mar 8, 2017

Sorry, I need to update these docs!
I would recommend trying it with either xavante or nginx though, since they are the best supported servers. Xavante comes installed with sailor, so if you tried creating an app, could you try cd'ing to it and lua start-server.lua ?

for nginx, try following the instructions to get openresty(nginx+lua) here https://openresty.org/en/installation.html
then the rest should be similar to the procedure we have for osx https://github.com/sailorproject/sailor/blob/master/docs/INSTALL_MAC.md#alternative-setup-using-nginx-and-openresty

@MaxiMakes
Copy link
Author

Thanks,
lua5.2 start-server.lua works,
but I will test some other Distributions and installation instructions in the next few days.
I think it's important that newbies can follow the installation instructions and have a working server.

@MaxiMakes MaxiMakes changed the title install instructions for Arch doesn't seem to not work install instructions for Arch doesn't seem to work Mar 8, 2017
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

2 participants