Please have a look at the perfect setup guide for your linux distribution and install and configure your server according to that guide and ISPConfig will compile flawlessly.
See the part down the page: Howtos: ISPConfig installation
http://www.ispconfig.org/documentation.htm