incubator-pagespeed-cpanel
incubator-pagespeed-cpanel copied to clipboard
RPM Build error on centos 7.2 (WHM 11.58.20)(EA4)
Hi
i'm trying to install mod pagespeed on centos7 for Cpanel (EA4), i see the following error. how i can resolved this issue ?
`root@server [~]# rpmbuild --rebuild ea-apache24-mod_pagespeed-latest-stable.src.rpm Installing ea-apache24-mod_pagespeed-latest-stable.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AeXLU1
- umask 022
- cd /root/rpmbuild/BUILD
- wget -q -N -O mod-pagespeed-stable.rpm https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm
- exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mvORuq
- umask 022
- cd /root/rpmbuild/BUILD
- rpm2cpio mod-pagespeed-stable.rpm
- cpio -idmv argument is not an RPM package cpio: premature end of archive error: Bad exit status from /var/tmp/rpm-tmp.mvORuq (%build)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.mvORuq (%build)`
https://i.imgsafe.org/5a0776fc53.png
Problem solved with https://github.com/pagespeed/cpanel/issues/50#issuecomment-244112084