VPS侦探论坛

 找回密码
 注册
查看: 2822|回复: 3

编译ngx_pagespeed 模块出现错误

[复制链接]
发表于 2020-9-10 21:06:07 | 显示全部楼层 |阅读模式

build_from_source=false
checking for psol ... not found
./configure: error: module ngx_pagespeed requires the pagespeed optimization library.
Look in objs/autoconf.err for more details.
make: *** No rule to make target 'build', needed by 'default'.  Stop.
make: *** No rule to make target 'build', needed by 'default'.  Stop.
mv: cannot stat '/usr/local/nginx/sbin/nginx': No such file or directory
cp: cannot stat 'objs/nginx': No such file or directory
Test nginx configure file...
include/upgrade_nginx.sh: line 73: /usr/local/nginx/sbin/nginx: No such file or directory
upgrade...
make: *** No rule to make target 'upgrade'.  Stop.
Checking ...
Error: Nginx upgrade failed.

大侠们,要怎么解决?


美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-9-11 10:09:24 | 显示全部楼层


checking for psol ... not found
./configure: error: module ngx_pagespeed requires the pagespeed optimization library.

psol你没加上
在ngx_pagespeed源码目录下:
wget https://dl.google.com/dl/page-speed/psol/1.13.35.2-x64.tar.gz
tar zxf 1.13.35.2-x64.tar.gz

另外
你提供的日志不全,还需要确认uuid是否安装上
centos系统的话:yum install libuuid-devel
debian/ubuntu系统的话:apt-get install uuid-dev
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-9-11 11:01:39 | 显示全部楼层

libuuid-devel 已经装上了, psol 文件也明明已经加上了,为什么找不到呢?
安装的https://dl.google.com/dl/page-speed/psol/1.9.32.10.tar.gz

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-9-11 19:28:21 | 显示全部楼层



janestone 发表于 2020-9-11 11:01
libuuid-devel 已经装上了, psol 文件也明明已经加上了,为什么找不到呢?
安装的https://dl.google.com/d ...

不清楚现在报什么错误没法说

你下载的这是多少年前的ngx_pagespeed版本了,虽然ngx_pagespeed也很长时间不更新了,也得选个最新的版本吧
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-21 10:59 , Processed in 0.026679 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表