You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2018/11/23 20:10:20 UTC
[GitHub] dibyendu opened a new issue #1606: Build instruction is wrong
dibyendu opened a new issue #1606: Build instruction is wrong
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1606
**Similar issue:** #1524
The instructions provided here: [https://www.modpagespeed.com/doc/build_ngx_pagespeed_from_source](https://www.modpagespeed.com/doc/build_ngx_pagespeed_from_source) is giving wrong url error
### Build instructions
#### First download ngx_pagespeed:
```bash
#[check the release notes for the latest version]
NPS_VERSION=1.13.35.1-beta
cd
wget https://github.com/apache/incubator-pagespeed-ngx/archive/v${NPS_VERSION}.zip
unzip v${NPS_VERSION}.zip
nps_dir=$(find . -name "*pagespeed-ngx-${NPS_VERSION}" -type d)
cd "$nps_dir"
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} # this line is causing ERROR
tar -xzvf $(basename ${psol_url}) # extracts to psol/
```
#### Output
```
ABC@XYZ:~/incubator-pagespeed-ngx-1.13.35.1-beta$ wget ${psol_url}
--2018-11-23 15:00:20-- https://dl.google.com/dl/page-speed/psol/1.13.35.1-$BIT_SIZE_NAME.tar.gz
Resolving dl.google.com (dl.google.com)... 172.217.12.174
Connecting to dl.google.com (dl.google.com)|172.217.12.174|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-11-23 15:00:20 ERROR 404: Not Found.
```
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services