configure: Configuring Apache Portable Runtime library...
configure: checking for APR... no
configure: error: APR not found. Please read the documentation.
$ sudo apt-get install libapr1 libapr1-dev libaprutil1 libaprutil1-dev
configure:
configure: Configuring Apache Portable Runtime Utility library...
configure:
checking for APR-util... no
configure: error: APR-util not found. Please read the documentation.
$ sudo apt-get install libapr1 libapr1-dev libaprutil1 libaprutil1-dev
configure: error: xml2-config not found. Please check your libxml2 installation.
$ sudo apt-get install libxml2 libxml2-dev
configure: error: Cannot find OpenSSL's libraries
$ sudo apt-get install libcurl4-openssl-dev
configure: error: DBA: Could not find necessary header file(s).
$ sudo apt-get install libdb-dev libgdbm-dev
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... yes
If configure fails try --with-vpx-dir=<DIR>
If configure fails try --with-jpeg-dir=<DIR>
configure: error: png.h not found.
$ sudo apt-get install libpng-dev libjpeg-dev
checking for mcrypt support... yes
configure: error: mcrypt.h not found. Please reinstall libmcrypt.
$ sudo apt-get install libmcrypt-dev