I am trying to compile https://github.com/apache/httpd on Linux.
- It does not have
./configure
script in the repo. - It does not have
./autoconf
script in the repo. - Nor does it have a
Makefile
(default) for make.
I couldn’t information in the README or INSTALL file in the repo to compile from source.
How do I compile https://github.com/apache/httpd on Linux?
2
Answers
I was running into an error, APR not installed when I tried
./buildconf
The following steps worked.
First:
As Senthil Kumaran answered his question, you can add
--with-apr=/path/to/apr --with-apr-util=/path/to/apr-util
Then do the rest.
See https://httpd.apache.org/docs/2.4/programs/configure.html
A little tutorial to do the rest:
Usually needs libssl, libnghttp2, libexpat, libpcre, apr, apr-util
Then:
From next time, to use the same configuration: