incubator-pagespeed-cpanel icon indicating copy to clipboard operation
incubator-pagespeed-cpanel copied to clipboard

Stuck from many days or how create the file

Open muhammad-adnan opened this issue 9 years ago • 1 comments

Hi

I am fresh and beginer using SSH command and from many days me stuck on this below error. I see the solution make the file and update but me not know how make the file using ssh command line and i tried pico and other things but not able to found proper guide on this topic. Anyone can help me in this regard how create file /etc/rpm/macros.apache2 and put the content inside. what is extension of this file. Thanks in advance, then i will able to proceed next step Also attach screenshot attach for review

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

screenshot Thanks

muhammad-adnan avatar Sep 25 '16 08:09 muhammad-adnan

Create a file named "macros.apache2" on the directory "/etc/rpm/".

Insert into the file:

%_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, try to install again.

ntorga avatar Nov 18 '16 22:11 ntorga