按照要求 报错了 什么情况
engine_vars.lo ssl_engine_vars.c && touch ssl_engine_vars.slo
ssl_engine_vars.c:870:50: error: ../../modules/loggers/mod_log_config.h: No such file or directory
ssl_engine_vars.c: In function ‘ssl_var_log_config_register’:
ssl_engine_vars.c:881: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
ssl_engine_vars.c:881: error: ‘log_pfn_register’ undeclared (first use in this function)
ssl_engine_vars.c:881: error: (Each undeclared identifier is reported only once
ssl_engine_vars.c:881: error: for each function it appears in.)
ssl_engine_vars.c:883: error: ‘apr_OFN_ap_register_log_handler_t’ undeclared (first use in this function)
ssl_engine_vars.c:883: error: expected expression before ‘)’ token
apxs:Error: Command failed with rc=65536
.作者: curlmen 时间: 2018-8-4 10:19
loggers 忘记上传 上传上去 执行
/www/wdlinux/httpd-2.2.22/bin/apxs -i -a -D HAVE_OPENSSL=1 -I/usr/include/openssl/ -L/usr/lib/openssl/ -c *.c -lcrypto -lssl -ldl
报错
wdlinux/httpd-2.2.22/include -I/usr/include/openssl/ -DHAVE_OPENSSL=1 -c -o ssl_engine_vars.lo ssl_engine_vars.c && touch ssl_engine_vars.slo
ssl_engine_vars.c:870:50: error: ../../modules/loggers/mod_log_config.h: No such file or directory
ssl_engine_vars.c: In function ‘ssl_var_log_config_register’:
ssl_engine_vars.c:881: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
ssl_engine_vars.c:881: error: ‘log_pfn_register’ undeclared (first use in this function)
ssl_engine_vars.c:881: error: (Each undeclared identifier is reported only once
ssl_engine_vars.c:881: error: for each function it appears in.)
ssl_engine_vars.c:883: error: ‘apr_OFN_ap_register_log_handler_t’ undeclared (first use in this function)
ssl_engine_vars.c:883: error: expected expression before ‘)’ token
apxs:Error: Command failed with rc=65536作者: curlmen 时间: 2018-8-4 10:20
Libraries have been installed in:
/www/wdlinux/httpd-2.2.22/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
chmod 755 /www/wdlinux/httpd-2.2.22/modules/mod_ssl.so
[activating module `ssl' in /www/wdlinux/httpd-2.2.22/conf/httpd.conf]作者: curlmen 时间: 2018-8-6 12:00
还是没有配置好啊 请求帮助
[root@wdOS ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: /bin/bash: line 1: 2653 Segmentation fault /www/wdlinux/apache/bin/httpd
[FAILED]