apache 源码安装make install 出错

发布于 2022-10-15 05:29:04 字数 2620 浏览 17 评论 0

#./configure --prefix=/home/sunfan/apache22 --with-ssl=/home/sunfan/openssl --enable-ssl --enable-so --enable-rewrite --enable-mime-magic --enable-mem-cache
#make
#make install

Making install in ssl
make[2]: Entering directory `/home/sunfan/soft/httpd-2.2.4/modules/ssl'
make[3]: Entering directory `/home/sunfan/soft/httpd-2.2.4/modules/ssl'
/home/sunfan/soft/httpd-2.2.4/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread    -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE    -I/home/sunfan/soft/httpd-2.2.4/srclib/pcre -I. -I/home/sunfan/soft/httpd-2.2.4/os/unix -I/home/sunfan/soft/httpd-2.2.4/server/mpm/prefork -I/home/sunfan/soft/httpd-2.2.4/modules/http -I/home/sunfan/soft/httpd-2.2.4/modules/filters -I/home/sunfan/soft/httpd-2.2.4/modules/proxy -I/home/sunfan/soft/httpd-2.2.4/include -I/home/sunfan/soft/httpd-2.2.4/modules/generators -I/home/sunfan/soft/httpd-2.2.4/modules/mappers -I/home/sunfan/soft/httpd-2.2.4/modules/database -I/home/sunfan/soft/httpd-2.2.4/srclib/apr/include -I/home/sunfan/soft/httpd-2.2.4/srclib/apr-util/include -I/home/sunfan/soft/httpd-2.2.4/modules/proxy/../generators -I/home/sunfan/openssl/include -I/usr/kerberos/include -I/home/sunfan/soft/httpd-2.2.4/modules/ssl -I/home/sunfan/soft/httpd-2.2.4/modules/dav/main  -prefer-non-pic -static -c ssl_engine_init.c && touch ssl_engine_init.lo
ssl_engine_init.c: In function 'ssl_init_ctx_protocol':
ssl_engine_init.c:411: warning: assignment discards qualifiers from pointer target type
ssl_engine_init.c:417: warning: assignment discards qualifiers from pointer target type
ssl_engine_init.c: In function 'ssl_init_ctx_verify':
ssl_engine_init.c:567: error: 'STACK' undeclared (first use in this function)
ssl_engine_init.c:567: error: (Each undeclared identifier is reported only once
ssl_engine_init.c:567: error: for each function it appears in.)
ssl_engine_init.c:567: error: expected expression before ')' token
ssl_engine_init.c: In function 'ssl_init_FindCAList':
ssl_engine_init.c:1147: warning: pointer type mismatch in conditional expression
make[3]: *** [ssl_engine_init.lo] Error 1
make[3]: Leaving directory `/home/sunfan/soft/httpd-2.2.4/modules/ssl'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/sunfan/soft/httpd-2.2.4/modules/ssl'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/sunfan/soft/httpd-2.2.4/modules'
make: *** [install-recursive] Error 1

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文