Dear Friends, while emerge the php with imap USE flage, it will give error message,
emerge log generating as bellow, " * Determining SAPI(s) to build * Enabled SAPI: cli * Enabled SAPI: cgi * Enabled SAPI: apache2 * * If this package fails with a fatal error about Apache2 not having * been compiled with a compatible MPM, this is normally because you * need to toggle the 'threads' USE flag. * * If 'threads' is off, try switching it on. * If 'threads' is on, try switching it off. * * * ERROR: dev-lang/php-5.2.4_p20070914-r2 failed. * Call stack: * ebuild.sh, line 1670: Called dyn_setup * ebuild.sh, line 719: Called qa_call 'pkg_setup' * ebuild.sh, line 44: Called pkg_setup * php-5.2.4_p20070914-r2.ebuild, line 112: Called php5_2-sapi_pkg_setup * php5_2-sapi.eclass, line 318: Called php5_2-sapi_check_use_flags * php5_2-sapi.eclass, line 214: Called php_check_imap * php-common-r1.eclass, line 47: Called built_with_use 'virtual/imap-c-client' 'ssl' * eutils.eclass, line 1689: Called die * * Unable to resolve virtual/imap-c-client to an installed package * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/dev-lang: php-5.2.4_p20070914-r2:20070925-061242.log'. " Please advice me, regarding this Thanks & regards, Suranga