Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Trouble updating pagespeed to support SSL #2103

Open
ckajinam opened this issue Sep 17, 2022 · 2 comments
Open

Trouble updating pagespeed to support SSL #2103

ckajinam opened this issue Sep 17, 2022 · 2 comments

Comments

@ckajinam
Copy link

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

@eilandert
Copy link

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.

@ckajinam
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants