oschaaf commented on issue #1524: build instructions no longer working for all 
versions
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1524#issuecomment-356526816
 
 
   I suspect the line with `unzip -d` isn't working as expected. The automated 
install had a similar problem, and was solved as follows: 
https://github.com/apache/incubator-pagespeed-ngx/pull/1523/commits/7e5cd72b7f4af4e850e89d6de6ce6b9739395501
   
   This works for me:
   ```
   NPS_VERSION=1.13.35.1-beta
   cd
   wget https://github.com/pagespeed/ngx_pagespeed/archive/v${NPS_VERSION}.zip
   unzip v${NPS_VERSION}.zip
   cd *pagespeed-ngx-${NPS_VERSION}/                                            
                                                                                
                                       
   NPS_RELEASE_NUMBER=${NPS_VERSION/beta/}
   NPS_RELEASE_NUMBER=${NPS_VERSION/stable/}
   
psol_url=https://dl.google.com/dl/page-speed/psol/${NPS_RELEASE_NUMBER}.tar.gz
   [ -e scripts/format_binary_url.sh ] && 
psol_url=$(scripts/format_binary_url.sh PSOL_BINARY_URL)
   wget ${psol_url}
   tar -xzvf $(basename ${psol_url})  # extracts to psol/
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to