Hello everyone!
I'm trying to install OpenResty on a fresh OpenSUSE VM, hopefully in a fashion that would eventually be compatible with SLES too (as that's what at the real, production server...).
Since there are no pre-compiled binaries for it (or at least I can't find any; I'd prefer using some if I can), I tried to build it from source, but I keep failing... That is, make ends with "recipe for target 'all' failed" and error 2.
What am I missing? Is there an easier way overall?
Here's what I've done so far (from a root shell)
zypper -n install wget tar make gcc-c++
zipper -n source-install pcre openssl
wget https://openresty.org/download/openresty-1.11.2.3.tar.gz
tar -xvf openresty-1.11.2.3.tar.gz
cd openresty-1.11.2.3
tar -xvf /usr/src/packages/SOURCES/openssl-1.0.1i.tar.gz
tar -xvf /usr/src/packages/SOURCES/pcre-8.39.tar.bz2
./configure -j2 --with-pcre=./pcre-8.39 --with-openssl=./openssl-1.0.1i
make -j2