I had generated the make file with the contrib module domain. When we enable the domain module, we just want to append the following code to the settings.php file.
When i try to install this profile, i get an error
Fatal error: Undefined function domain_get_primary_table()
this happends because when we install a profile the settings.php file overwrites the include settings.inc. So when it try to install the domain module it gives the above error and stops installation. Anyone gave idea that how can we install the profile along with the domain module without this issue.