incubator-pagespeed-mod
incubator-pagespeed-mod copied to clipboard
Trouble updating pagespeed to support SSL
I have a Bitnami Ubuntu server currently running apache and modpagespeed but need to upgrade. I tried installing the latest mod-pagespeed-stable_current_amd64.deb but got an error apache isn't installed and was missing a library. Upgraded to Ubuntu 14.04.6 and that resolved the library issue but recognizing apache still caused me a problem. dpkg doesn't see apache. It's installed in /opt/binami/apache.
So, I tried following https://www.modpagespeed.com/doc/build_mod_pagespeed_from_source instructions, but it won't compile. It complains of a missing file. Any chance you might have that file? I searched your source and didn't see it. APR_Pools.h
This is the error. pagespeed/system/apr_mem_cache.cc:25:34: fatal error: apr_pools.h: No such file or directory #include "apr_pools.h" // NOLINT ^ compilation terminated. make: *** [out/Release/obj.target/instaweb_system/pagespeed/system/apr_mem_cache.o] Error 1
You can probably do:
ar x mod-pagespeed-stable_current_amd64.deb
it will give you a data.tar.gz, you can extract the apache module from there and put it in the right place.
Thanks for the response. I was able to extract the binaries from a beta deb package and put those in place of the existing ones.