You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by "skygunner (via GitHub)" <gi...@apache.org> on 2023/03/13 03:14:51 UTC
[GitHub] [incubator-pagespeed-ngx] skygunner commented on issue #1764: Eror compiling with nginx 1.23.1
skygunner commented on issue #1764:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1764#issuecomment-1465449432
git master tree is the main git repository branch.
To build from the source code in the master branch for the newer nginx version, you can use something like this:
`sudo apt install git wget -y
NPS_BRANCH=master
PSOL_VER=1.14.36.1
BUILDING_HOME=/tmp
echo "Downloading ngx_pagespeed src from git and PSOL src from apache ..."
cd $BUILDING_HOME
git clone -b $NPS_BRANCH https://github.com/apache/incubator-pagespeed-ngx.git ngx_pagespeed-${NPS_BRANCH}
cd ngx_pagespeed-${NPS_BRANCH}
wget -v https://downloads.apache.org/incubator/pagespeed/${PSOL_VER}/x64/psol-${PSOL_VER}-apache-incubating-x64.tar.gz
tar -xzvf psol-${PSOL_VER}-apache-incubating-x64.tar.gz
cd /your-nginx-source-code-path
./auto/configure --add-dynamic-module=${BUILDING_HOME}/ngx_pagespeed-${NPS_BRANCH} --with-compat
make modules`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@pagespeed.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org