Page 1 of 1

Cannot compile modSUPHP

PostPosted: 23. May 2010 09:53
by webhtb
Hi all, i need help, i use ver 1.7.1 because i need php5.2 not 5.3 and mod_suphp and zend optimizer.
all ok until when y want to compile suphp, thi is ar ./configure :

checking for dynamic Apache module support (via APXS)... cannot open /opt/lampp/build/config_vars.mk: No such file or directory at /opt/lampp/bin/apxs line 218.
cannot open /opt/lampp/build/config_vars.mk: No such file or directory at /opt/lampp/bin/apxs line 218.
./configure: line 19991: /: is a directory
cannot open /opt/lampp/build/config_vars.mk: No such file or directory at /opt/lampp/bin/apxs line 218.
cannot open /opt/lampp/build/config_vars.mk: No such file or directory at /opt/lampp/bin/apxs line 218.
cannot open /opt/lampp/build/config_vars.mk: No such file or directory at /opt/lampp/bin/apxs line 218.

AND on make :

-MD -MP -MF .deps/mod_suphp.Tpo -c mod_suphp.c -fPIC -DPIC -o .libs/mod_suphp.o
mod_suphp.c:24:19: error: httpd.h: No such file or directory
mod_suphp.c:25:25: error: http_config.h: No such file or directory
mod_suphp.c:26:26: error: http_request.h: No such file or directory
mod_suphp.c:27:23: error: http_core.h: No such file or directory
mod_suphp.c:28:27: error: http_protocol.h: No such file or directory
mod_suphp.c:29:23: error: http_main.h: No such file or directory
mod_suphp.c:30:22: error: http_log.h: No such file or directory
mod_suphp.c:31:25: error: util_script.h: No such file or directory

configure options are:

./configure --prefix=/opt/lampp --sysconfdir=/opt/lampp/etc --with-apache-user=nobody --with-min-uid=0 --with-min-gid=0 --with-logfile=/opt/lampp/logs/suphp_log --with-apxs=/opt/lampp/bin/apxs -with-php=/opt/lampp/bin/php --with-setid-mode=owner --with-apr=/opt/lampp/bin

so i know the problem are apache source and have problems with apxs

please help, is very important from my project (WebHTB) to have a packet just to click

Re: Cannot compile modSUPHP

PostPosted: 24. May 2010 10:18
by Nobbie
Did you download and install the "Xampp Development Package" for Linux?