1. configure: error: xml2-config not found. Please check your libxml2 installation.
# sudo apt-get install libxml2-dev
2. configure: error: Could not find pcre.h in /usr
# sudo apt-get install libpcre3-dev
3. configure: error: Please reinstall the BZip2 distribution
#sudo apt-get install libbz2-dev
4. configure: error: Please reinstall the libcurl distribution
# sudo apt-get install libcurl4-openssl-dev
5. configure: error: DBA: Could not find necessary header file(s). checking for db4 major version… configure: error: Header contains different version
# sudo apt-get install libdb4.8-dev
6. configure: error: libjpeg.(a|so) not found.
# sudo apt-get install libjpeg-dev
7. configure: error: libpng.(a|so) not found.
# sudo apt-get install libpng12-dev
8. configure: error: libXpm.(a|so) not found.
# sudo apt-get install libxpm-dev
9. configure: error: freetype.h not found.
# sudo apt-get install libfreetype6-dev
10. configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
# sudo apt-get install postgresql-server-dev-9.1
11. configure: error: Your t1lib distribution is not installed correctly. Please reinstall it.
# sudo apt-get install libt1-dev
12. configure: error: Unable to find gd.h anywhere under /usr
# sudo apt-get install libgd2-xpm-dev
13. configure: error: Unable to locate gmp.h
# sudo apt-get install libgmp-dev
14. configure: error: Cannot find MySQL header files under /usr.
# sudo apt-get install libmysqlclient-dev
15. configure: error: sasl.h not found!
# sudo apt-get install libsasl2-dev
16. configure: error: Please reinstall libmhash – I cannot find mhash.h
# sudo apt-get install libmhash-dev
17. checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h’ not found!
# sudo apt-get install unixodbc-dev
18. configure: error: Directory /usr is not a FreeTDS installation directory
# sudo apt-get install freetds-dev
19. configure: error: Cannot find pspell
# sudo apt-get install libpspell-dev
20. configure: error: SNMP sanity check failed. Please check config.log for more information.
#sudo apt-get install libsnmp-dev
21. configure: error: Cannot find libtidy
# sudo apt-get install libtidy-dev
22. configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
# sudo apt-get install libxslt1-dev
23. configure: error: mcrypt.h not found. Please reinstall libmcrypt.
# sudo apt-get install libmcrypt-dev
24# configure: error: Cannot find OpenSSL’s libraries
# ./configure –with-libdir=/lib/x86_64-linux-gnu
25. configure: error: You’ve configured extension pdo_sqlite to build statically, but it depends on extension pdo, which you’ve configured to build shared. You either need to build pdo_sqlite shared or build pdo statically for the build to be successful.
# ./configure –with-pdo-sqlite=shared –with-sqlite=shared