Reputation: 56951
I am trying to compile https://github.com/apache/httpd on Linux.
./configure
script in the repo../autoconf
script in the repo.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?
Upvotes: 1
Views: 726
Reputation: 3346
First:
./buildconf
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
Usually needs libssl, libnghttp2, libexpat, libpcre, apr, apr-util
./configure --prefix=/path/to/install/apache --enable-mpms-shared=all --enable-mods-shared=reallyall
Then:
make && make install
From next time, to use the same configuration:
make clean && ./config.nice && make && make install
Upvotes: 1
Reputation: 56951
I was running into an error, APR not installed when I tried ./buildconf
The following steps worked.
./buildconf --with-apr=/home/senthil/Downloads/apr-1.7.0/ --with-apr-util=/home/senthil/Downloads/apr-util-1.6.1
./configure
make
Upvotes: 0