Hi,everyone,I wanted to install KDE4 and meet a problem like this
:
 emerge kde

Linking CXX shared module ../../../../lib/kcm_kwinoptions.so
[ 45%] Built target kcm_kwinoptions
make: *** [all] Error 2
 *
 * ERROR: kde-base/kdebase-4.0.0 failed.
 * Call stack:
 *              ebuild.sh, line 1701:  Called dyn_compile
 *              ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *              ebuild.sh, line   44:  Called src_compile
 *   kdebase-4.0.0.ebuild, line  212:  Called kde4-base_src_compile
 *       kde4-base.eclass, line  298:  Called kde4-base_src_make
 *       kde4-base.eclass, line  345:  Called cmake-utils_src_make
 *     cmake-utils.eclass, line  146:  Called die
 * The specific snippet of code:
 *              emake "$@" || die "Make failed!"
 *  The die message:
 *   Make failed!
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at '/var/tmp/portage/kde-base/kdebase-
4.0.0/temp/build.log'.

and I searched for a while and try emerge -D kde,but when emerging
kdenetwork:

/var/tmp/portage/kde-base/kdenetwork-4.0.0/work/kdenetwork-4.0.0/filesharing/advanced/kcm_sambaconf/sharedlgimpl.h:52:
error: expected class-name before '{' token
/var/tmp/portage/kde-base/kdenetwork-4.0.0/work/kdenetwork-4.0.0/filesharing/advanced/kcm_sambaconf/sharedlgimpl.h:52:
warning: 'class ShareDlgImpl' has virtual functions but non-virtual
destructor
/var/tmp/portage/kde-base/kdenetwork-4.0.0/work/kdenetwork-4.0.0/filesharing/advanced/kcm_sambaconf/kcmsambaconf.h:157:
error: ISO C++ forbids declaration of 'KcmInterface' with no type
/var/tmp/portage/kde-base/kdenetwork-4.0.0/work/kdenetwork-4.0.0/filesharing/advanced/kcm_sambaconf/kcmsambaconf.h:157:
error: expected ';' before '*' token
/usr/kde/4.0/include/kcmodule.h:214: warning: 'virtual void
KCModule::load()' was hidden
/var/tmp/portage/kde-base/kdenetwork-4.0.0/work/kdenetwork-4.0.0/filesharing/advanced/kcm_sambaconf/kcmsambaconf.h:75:
warning:   by 'void KcmSambaConf::load(const QString&)'
/var/tmp/portage/kde-base/kdenetwork-4.0.0/work/kdenetwork-4.0.0/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp:
In constructor 'KcmSambaConf::KcmSambaConf(const KComponentData&, QWidget*,
const char*)':



 * ERROR: kde-base/kdenetwork-4.0.0 failed.
 * Call stack:
 *                 ebuild.sh, line 1701:  Called dyn_compile
 *                 ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                 ebuild.sh, line   44:  Called src_compile
 *   kdenetwork-4.0.0.ebuild, line  113:  Called kde4-base_src_compile
 *          kde4-base.eclass, line  298:  Called kde4-base_src_make
 *          kde4-base.eclass, line  345:  Called cmake-utils_src_make
 *        cmake-utils.eclass, line  146:  Called die
 * The specific snippet of code:
 *              emake "$@" || die "Make failed!"
 *  The die message:
 *   Make failed!
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at '/var/tmp/portage/kde-base/kdenetwork-
4.0.0/temp/build.log'

Did anyone  meet problems like me?

Reply via email to