All pastes #626153 Raw Edit

bpat1434

public text v1 · immutable
·published 2007-07-19 13:04 UTC
rendered paste body
[root@bpat suphp-0.6.2]# ./configure --prefix=/usr --with-apxs=/usr/local/apache/bin/apxs --with-apache-user=nobody --with-php=/usr/local/php5/bin/php --with-logfile=/usr/local/apache/logs/suphp_log --with-setid-mode=owner





[root@bpat suphp-0.6.2]# make
Making all in src
make[1]: Entering directory `/usr/local/src/suphp-0.6.2/src'
make  all-recursive
make[2]: Entering directory `/usr/local/src/suphp-0.6.2/src'
Making all in apache
make[3]: Entering directory `/usr/local/src/suphp-0.6.2/src/apache'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../src    -I -DSUPHP_PATH_TO_SUPHP=\"/usr/sbin/suphp\"  -g -O2 -MT mod_suphp.lo -MD -MP -MF ".deps/mod_suphp.Tpo" -c -o mod_suphp.lo mod_suphp.c; \
        then mv -f ".deps/mod_suphp.Tpo" ".deps/mod_suphp.Plo"; else rm -f ".deps/mod_suphp.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I -DSUPHP_PATH_TO_SUPHP=\"/usr/sbin/suphp\" -g -O2 -MT mod_suphp.lo -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
mod_suphp.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'MODULE_VAR_EXPORT'
mod_suphp.c:59: error: expected specifier-qualifier-list before 'table'
mod_suphp.c:65: error: expected ')' before '*' token
mod_suphp.c:83: error: expected ')' before '*' token
mod_suphp.c:124: error: expected ')' before '*' token
mod_suphp.c:139: error: expected ')' before '*' token
mod_suphp.c:171: error: expected ')' before '*' token
mod_suphp.c:190: error: expected ')' before '*' token
mod_suphp.c:219: error: expected ')' before '*' token
mod_suphp.c:229: error: expected ')' before '*' token
mod_suphp.c:243: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'suphp_cmds'
mod_suphp.c:262: error: expected declaration specifiers or '...' before 'child_info'
mod_suphp.c: In function 'suphp_child':
mod_suphp.c:263: error: 'request_rec' undeclared (first use in this function)
mod_suphp.c:263: error: (Each undeclared identifier is reported only once
mod_suphp.c:263: error: for each function it appears in.)
mod_suphp.c:263: error: 'r' undeclared (first use in this function)
mod_suphp.c:263: error: expected expression before ')' token
mod_suphp.c:264: error: 'core_dir_config' undeclared (first use in this function)
mod_suphp.c:264: error: 'core_conf' undeclared (first use in this function)
mod_suphp.c:265: error: 'pool' undeclared (first use in this function)
mod_suphp.c:265: error: 'p' undeclared (first use in this function)
mod_suphp.c:269: error: expected expression before ')' token
mod_suphp.c:277: warning: assignment makes pointer from integer without a cast
mod_suphp.c:279: error: 'NULL' undeclared (first use in this function)
mod_suphp.c:283: warning: assignment makes pointer from integer without a cast
mod_suphp.c:337: error: 'APLOG_MARK' undeclared (first use in this function)
mod_suphp.c:337: error: 'APLOG_ERR' undeclared (first use in this function)
mod_suphp.c:339: warning: incompatible implicit declaration of built-in function 'exit'
mod_suphp.c: At top level:
mod_suphp.c:347: error: expected ')' before '*' token
mod_suphp.c:619: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'suphp_handlers'
mod_suphp.c:626: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'MODULE_VAR_EXPORT'
make[3]: *** [mod_suphp.lo] Error 1
make[3]: Leaving directory `/usr/local/src/suphp-0.6.2/src/apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/suphp-0.6.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/suphp-0.6.2/src'
make: *** [all-recursive] Error 1