Unable to build suPHP in CentOS-7
Hi
I'm getting the following error while building suphp-0.7.2 under CentOS-7 and have no idea how to fix it I was using recommendations provided at http://www.openlogic.com/wazi/bid/32...sts-with-suPHP # cd suphp-0.7.2 # libtoolize --force # aclocal # autoheader # automake --force-missing --add-missing # autoconf # ./configure --prefix=/usr --with-apxs=/usr/bin/apxs --with-apr=/usr/bin/apr-1-config # make ... In file included from /usr/include/httpd/ap_config.h:25:0, from /usr/include/httpd/httpd.h:44, from mod_suphp.c:24: /usr/include/httpd/ap_hooks.h:39:17: fatal error: apr.h: No such file or directory #include "apr.h" ^ compilation terminated. ... Please advice what I'm doing wrong Thanks in advance |
Do you have the httpd-devel installed? I'm not sure that the file it's looking for is included, but it'd make sense.
|
httpd-devel already installed
[root@localhost /]# yum install httpd-devel apr-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.colocall.net * epel: mirror.omnilance.com * extras: ftp.colocall.net * updates: centos.hitme.net.pl Package httpd-devel-2.4.6-18.el7.centos.x86_64 already installed and latest version Package apr-devel-1.4.8-3.el7.x86_64 already installed and latest version Nothing to do The file apr.h is located in /usr/include/apr-1 [root@localhost /]# ll /usr/include/apr-1/apr.h -rw-r--r--. 1 root root 636 Jun 10 05:05 /usr/include/apr-1/apr.h [root@localhost /]# uname -a Linux localhost.localdomain 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
Quote:
google unmanarc centos repo |
Quote:
it really works ;) |
All times are GMT -5. The time now is 09:40 AM. |