apache / incubator-pagespeed-cpanel

mod_pagespeed module for CPanel WHM
Other
144 stars 50 forks source link

RPM build errors: #40

Closed hosamalzagh closed 8 years ago

hosamalzagh commented 8 years ago

i tre this https://github.com/Prajithp/cpanel/blob/master/README.md

1> yum install rpm-build cpio ea-apache24-mod_version 2> wget https://github.com/pagespeed/cpanel/raw/master/EA4/ea-apache24-mod_pagespeed-latest-stable.src.rpm 3> rpmbuild --rebuild ea-apache24-mod_pagespeed-latest-stable.src.rpm ---------------------------------------------------------------------------------- error 4> rpm -ivh /root/rpmbuild/RPMS/x86_64/ea-apache24-mod_pagespeed*.rpm 5> /etc/init.d/httpd restart

i have error in line 3

moot@host [~]# rpmbuild --rebuild ea-apache24-mod_pagespeed-latest-stable.src.rp Installing ea-apache24-mod_pagespeed-latest-stable.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hxJaur

RPM build errors: File must begin with "/": %{_httpdmoddir}/.so File must begin with "/": %{_httpdmodconfdir}/.conf

i used httpd 2.4.18 with EA4

EdwardIII commented 8 years ago

+1

EdwardIII commented 8 years ago

@hosamalzagh This solution fixed --rebuild for me: https://github.com/pagespeed/cpanel/issues/38#issuecomment-166267521

@Prajithp Is it worth adding this to the README too?

hosamalzagh commented 8 years ago

thanks work

Prajithp commented 8 years ago

@EdwardIII Yes, I will add that too in README.