如何在Linux上编译apache/httpd?
我正在尝试在Linux上编译如何在Linux上编译apache/httpd?,apache,compilation,Apache,Compilation,我正在尝试在Linux上编译 它在repo中没有脚本/configure 它在repo中没有脚本 它也没有make的Makefile(默认值) 我无法从源代码处编译自述文件中的信息或repo中的安装文件 如何在Linux上编译?首先: ./buildconf 正如Senthil Kumaran回答他的问题一样,您可以添加——使用apr=/path/to/apr——使用apr-util=/path/to/apr-util 然后做剩下的 看 一个小教程来完成剩下的: 通常需要libssl、libn
/configure
Makefile
(默认值)./buildconf
正如Senthil Kumaran回答他的问题一样,您可以添加——使用apr=/path/to/apr——使用apr-util=/path/to/apr-util
然后做剩下的 看 一个小教程来完成剩下的:
通常需要libssl、libnghttp2、libexpat、libpcre、apr、apr util
./configure --prefix=/path/to/install/apache --enable-mpms-shared=all --enable-mods-shared=reallyall
然后:
从下一次开始,要使用相同的配置:
make clean && ./config.nice && make && make install
当我尝试
/buildconf
以下步骤奏效了
我必须将./buildconf指向apr和ap util源。
make clean && ./config.nice && make && make install