Open katzsimon opened 8 years ago
Same issue here
I have already created a pull request to update the installation instruction. In the meantime you can try this.
Installing ea-apache24-mod_pagespeed-latest-stable.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8D0JIi
/root/rpmbuild/BUILDROOT/ea-apache24-mod_pagespeed-latest-stable.x86_64': No such file or directory find:
/root/rpmbuild/BUILDROOT/ea-apache24-mod_pagespeed-latest-stable.x86_64': No such file or directory
Can't list /root/rpmbuild/BUILDROOT/ea-apache24-mod_pagespeed-latest-stable.x86_64RPM build errors: File must begin with "/": %{_httpdmoddir}/.so File must begin with "/": %{_httpdmodconfdir}/.conf
throws an error
Could you please check whether the files ./rpm/macros.apache2 and /etc/cpanel/ea4/is_ea4 exists or not?
/rpm/macros.apache2 does not exist is_ea4 exist.
there is not even rpm directory
sorry the correct file path is /etc/rpm/macros.apache2. If the file is exists, please post the content here.
Hi the only files I have at this level are,
/etc/rpm/macros.dist /etc/rpm/macros.ghc-srpm /etc/rpm/macros.perl /etc/rpm/macros.scl
okay, do one thing, create a file called '/etc/rpm/macros.apache2' and paste the below content into that.
%_httpd_mmn 20120211x8664
%_httpd_apxs /usr/bin/apxs
%_httpd_dir /etc/apache2
%_httpd_bindir %{_httpd_dir}/bin
%_httpd_modconfdir %{_httpd_dir}/conf.modules.d
%_httpd_confdir %{_httpd_dir}/conf.d
%_httpd_contentdir /usr/share/apache2
%_httpd_moddir /usr/lib64/apache2/modules
Then check again.
All works thank man
I owe you a beer tell me where can I send you at least £5gbp?
Thank you acidgod :)
We had the same issue "acidgod" ran into when trying to install this. The same missing package at https://github.com/Prajithp/cpanel/raw/master/EA4/ea-apache24-mod_pagespeed-1.9-32.11.src.rpm.
Getting it from https://github.com/pagespeed/cpanel/raw/master/EA4/ea-apache24-mod_pagespeed-latest-stable.src.rpm and running the -ivh flags threw up RPM build errrors.
Please does this workaround (creating a file '/etc/rpm/macros.apache2') still valid for production systems running EasyApache 4 with cPanel 54?
Thank you!
Hello Prajith i got the following installation error. Cannot proceed. please help.
rpmbuild --rebuild ea-apache24-mod_pagespeed-latest-stable.src.rpm Installing ea-apache24-mod_pagespeed-latest-stable.src.rpm error: ea-apache24-mod_pagespeed-latest-stable.src.rpm cannot be installed
I'm just succeed to install mod_pagespeed on EA4 , but when i try to edit the pagespeed.conf , the file doesnt exists
cat: /usr/local/apache/conf/pagespeed.conf: No such file or directory
Is there anyone here facing the same issue as i am ?
rpmbuild --rebuild ea-apache24-mod_pagespeed-latest-stable.src.rpm Installing ea-apache24-mod_pagespeed-latest-stable.src.rpm error: ea-apache24-mod_pagespeed-latest-stable.src.rpm cannot be installed
same thing here
#rpmbuild --rebuild ea-apache24-mod_pagespeed-latest-stable.src.rpm
Installing ea-apache24-mod_pagespeed-latest-stable.src.rpm.
error: ea-apache24-mod_pagespeed-latest-stable.src.rpm. cannot be installed
same problem error: ea-apache24-mod_pagespeed-latest-stable.src.rpm. cannot be installed
Same problem.
Hi there, I had a problem with installing mod_pagespeed too.
Regards Thorsten
thanks this work
okay, do one thing, create a file called '/etc/rpm/macros.apache2' and paste the below content into that.
%_httpd_mmn 20120211x8664 %_httpd_apxs /usr/bin/apxs %_httpd_dir /etc/apache2 %_httpd_bindir %{_httpd_dir}/bin %_httpd_modconfdir %{_httpd_dir}/conf.modules.d %_httpd_confdir %{_httpd_dir}/conf.d %_httpd_contentdir /usr/share/apache2 %_httpd_moddir /usr/lib64/apache2/modules Then check again.
Ive tried this fix as well and its no longer working... same error:
error: ea-apache24-mod_pagespeed-latest-stable.src.rpm cannot be installed
Look like most of people face this issue , just look at your screen , go 1 step back and check the downloaded file name in some case may be different most of people just run " rpmbuild --rebuild ea-apache24-mod_pagespeed-latest-stable.src.rpm" command but sometimes file name can be different for example may be file saved as ea-apache24-mod_pagespeed-latest-stable.src.rpm.9 or ea-apache24-mod_pagespeed-latest-stable.src.rpm.x so in this case you should change file name in command before running that for above example command should be rpmbuild --rebuild ea-apache24-mod_pagespeed-latest-stable.src.rpm.9 for more information check following links: http://smartechtips.blogspot.com/2017/02/how-install-google-pagespeed-on.html
https://features.cpanel.net/topic/add-support-for-mod_pagespeed-to-easyapache4
cPanel just released there experimental branch for easy apache 4
Regards,
Founder of Zenith Media Canada
1-514-316-1366 1-647-848-1366 1-855-ZENITH-0
Extension: 1337
@JonTheWong www.zenithmedia.ca
I am trying to setup pagespeed on EasyApache4, how ever...
"https://github.com/Prajithp/cpanel/raw/master/EA4/ea-apache24-mod_pagespeed-1.9-32.11.src.rpm" Does not seem to exist and "error: ea-apache24-mod_pagespeed-latest-stable.src.rpm cannot be installed"