linux-on-ibm-z / docs

A collection of instructions and tutorials to help you get your favorite software up and running on Linux on z
147 stars 56 forks source link

Building OpenResty 1.21.4.1 gives 404 error at download step #53

Open machaleb opened 1 year ago

machaleb commented 1 year ago

Link provided in download step tries to download openresty 1.21.1.4 which gives 404 error In this step we 1.21.4.1

current wiki points to:

Step 5: Download the source code
cd $SOURCE_ROOT/openresty
wget --no-check-certificate https://openresty.org/download/openresty-1.21.1.4.tar.gz
tar xvf openresty-1.21.1.4.tar.gz

which gives

[root@chomp1 openresty]# wget --no-check-certificate https://openresty.org/download/openresty-1.21.1.4.tar.gz
--2022-11-21 06:25:14--  https://openresty.org/download/openresty-1.21.1.4.tar.gz
Resolving openresty.org (openresty.org)... 3.131.85.84, 2600:1f1c:9b2:8000:f183:c67e:2c64:855f
Connecting to openresty.org (openresty.org)|3.131.85.84|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-11-21 06:25:15 ERROR 404: Not Found.

We need:

cd $SOURCE_ROOT/openresty
wget --no-check-certificate https://openresty.org/download/openresty-1.21.4.1.tar.gz
tar xvf openresty-1.21.1.4.tar.gz

same in case of cd $SOURCE_ROOT/openresty/openresty-1.21.1.4

aborkar-ibm commented 1 year ago

Thanks for pointing out the error. The version is 1.21.4.1. I have updated the build instructions.