Lofesa commented on issue #1733:
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1733#issuecomment-846809995


   @CHN-STUDENT 
   No. I have the same OS and it work.
   The path  
`/incubator-pagespeed-ngx/psol/lib/Release/linux/x64/pagespeed_automatic.a` is 
not and absolute path, it is relative to the folder you have decompresed the 
pagespeed module.
   You are running this:
   
   `./configure --prefix=/usr/local/nginx --user=www --group=www 
--with-http_stub_status_module --with-http_sub_module --with-http_v2_module 
--with-http_ssl_module --with-http_gzip_static_module --with-http_realip_module 
--with-http_flv_module --with-http_mp4_module --with-openssl=../openssl-1.1.1k 
--with-pcre=../pcre-8.44 --with-pcre-jit --with-ld-opt=-ljemalloc 
--add-module=./ngx_brotli --add-module=./incubator-pagespeed-ngx`
   
   `--add-module=./incubator-pagespeed-ngx`  This tell the compiler to found 
this module in a folder (incubator-pagespeed-ngx) in the same directory where 
you are running the configure command. 
   The incubator-pagespeed-ngx folder must be at the same level that ngx_brotli 
(`--add-module=./ngx_brotli` ) . Note that both modules have `./`
   
   `/absolute-path/to-downloads/nginx-1.20.0` (you are running the configure 
comand here)
   `/absolute-path/to-downloads/nginx-1.20.0/ngx_brotli` (this module is found)
   `/absolute-path/to-downloads/nginx-1.20.0/incubator-pagespeed-ngx` (this not)
   `/absolute-path/to-downloads/openssl-1.1.1k `
   `/absolute-path/to-downloads/pcre-8.44`
   
   
   
   
   
   


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to