Hope this is helpful: c++ -o nsInstall.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -D_IMPL_NS_DOM -I./../public -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/jar -I../../dist/include/chrome -I../../dist/include/necko -I../../dist/include/intl -I../../dist/include/locale -I../../dist/include/libreg -I../../dist/include/js -I../../dist/include/pref -I../../dist/include/widget -I../../dist/include/content -I../../dist/include/uriloader -I../../dist/include/xpconnect -I../../dist/include/docshell -I../../dist/include/dom -I../../dist/include/windowwatcher -I../../dist/include/xpinstall -I../../dist/include -I/var/tmp/portage/mozilla-0.9.9-r1/work/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -march=i686 -O3 -pipe -pthread -pipe -DNDEBUG -DTRIMMED -O3 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../config-defs.h -Wp,-MD,.deps/nsInstall.pp nsInstall.cpp nsInstallTrigger.cpp c++ -o nsInstallTrigger.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -D_IMPL_NS_DOM -I./../public -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/jar -I../../dist/include/chrome -I../../dist/include/necko -I../../dist/include/intl -I../../dist/include/locale -I../../dist/include/libreg -I../../dist/include/js -I../../dist/include/pref -I../../dist/include/widget -I../../dist/include/content -I../../dist/include/uriloader -I../../dist/include/xpconnect -I../../dist/include/ docshell -I../../dist/include/dom -I../../dist/include/windowwatcher -I../../dist/include/xpinstall -I../../dist/include -I/var/tmp/portage/mozilla-0.9.9-r1/work/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -march=i686 -O3 -pipe -pthread -pipe -DNDEBUG -DTRIMMED -O3 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../config-defs.h -Wp,-MD,.deps/nsInstallTrigger.pp nsInstallTrigger.cpp In file included from ../../dist/include/xpcom/nsrootidl.h:11, from ../../dist/include/xpcom/nsISupports.h:10, from ../public/nsISoftwareUpdate.h:29, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/xpcom/nscore.h:43: prtypes.h: No such file or directory In file included from ../../dist/include/xpcom/nsISupports.h:10, from ../public/nsISoftwareUpdate.h:29, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/xpcom/nsrootidl.h:12: prtime.h: No such file or directory In file included from ../../dist/include/xpcom/nsISupportsUtils.h:61, from ../../dist/include/xpcom/nsISupports.h:119, from ../public/nsISoftwareUpdate.h:29, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/xpcom/nsISupportsImpl.h:48: pratom.h: No such file or directory In file included from ../../dist/include/xpcom/nsISupportsUtils.h:65, from ../../dist/include/xpcom/nsISupports.h:119, from ../public/nsISoftwareUpdate.h:29, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/xpcom/nsISupportsObsolete.h:41: prcmon.h: No such file or directory In file included from ../../dist/include/string/nsString.h:61, from ../public/nsISoftwareUpdate.h:31, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/string/nsString2.h:62: prtypes.h: No such file or directory In file included from ../../dist/include/string/nsAString.h:32, from ../../dist/include/string/nsAReadableString.h:45, from ../../dist/include/string/nsAWritableString.h:45, from ../../dist/include/xpcom/nsIAtom.h:19, from ../../dist/include/string/nsString2.h:66, from ../../dist/include/string/nsString.h:61, from ../public/nsISoftwareUpdate.h:31, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/string/nsBufferHandle.h:34: prtypes.h: No such file or directory In file included from ../../dist/include/string/nsStringIterator.h:40, from ../../dist/include/string/nsAString.h:40, from ../../dist/include/string/nsAReadableString.h:45, from ../../dist/include/string/nsAWritableString.h:45, from ../../dist/include/xpcom/nsIAtom.h:19, from ../../dist/include/string/nsString2.h:66, from ../../dist/include/string/nsString.h:61, from ../public/nsISoftwareUpdate.h:31, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/string/nsAlgorithm.h:48: prtypes.h: No such file or directory In file included from ../../dist/include/string/nsString2.h:67, from ../../dist/include/string/nsString.h:61, from ../public/nsISoftwareUpdate.h:31, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/string/nsStr.h:215: plhash.h: No such file or directory In file included from ../../dist/include/string/nsString2.h:68, from ../../dist/include/string/nsString.h:61, from ../public/nsISoftwareUpdate.h:31, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/xpcom/nsCRT.h:42: plstr.h: No such file or directory ../../dist/include/xpcom/nsCRT.h:44: prtypes.h: No such file or directory In file included from ../public/nsISoftwareUpdate.h:31, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/string/nsString.h:62: prtypes.h: No such file or directory In file included from ../../dist/include/string/nsReadableUtils.h:39, from ../../dist/include/xpcom/nsFileSpec.h:149, from ../../dist/include/xpcom/nsIFileSpec.h:17, from ../public/nsISoftwareUpdate.h:32, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/string/nsAStringGenerator.h:35: prtypes.h: No such file or directory In file included from ../../dist/include/xpcom/nsIFileSpec.h:17, from ../public/nsISoftwareUpdate.h:32, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/xpcom/nsFileSpec.h:151: prtypes.h: No such file or directory In file included from ../../dist/include/xpcom/nsFileSpec.h:176, from ../../dist/include/xpcom/nsIFileSpec.h:17, from ../public/nsISoftwareUpdate.h:32, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/xpcom/nsILocalFile.h:17: prio.h: No such file or directory ../../dist/include/xpcom/nsILocalFile.h:18: prlink.h: No such file or directory In file included from nsInstallTrigger.cpp:38: nsSoftwareUpdate.h:13: prlock.h: No such file or directory In file included from nsSoftwareUpdate.h:24, from nsInstallTrigger.cpp:38: nsTopProgressNotifier.h:32: prlock.h: No such file or directory In file included from nsInstall.h:35, from nsXPInstallManager.h:28, from nsInstallTrigger.cpp:39: ../../dist/include/xpcom/plevent.h:168: prtypes.h: No such file or directory ../../dist/include/xpcom/plevent.h:169: prclist.h: No such file or directory ../../dist/include/xpcom/plevent.h:170: prthread.h: No such file or directory ../../dist/include/xpcom/plevent.h:171: prlock.h: No such file or directory ../../dist/include/xpcom/plevent.h:172: prcvar.h: No such file or directory ../../dist/include/xpcom/plevent.h:173: prmon.h: No such file or directory In file included from nsInstall.h:40, from nsXPInstallManager.h:28, from nsInstallTrigger.cpp:39: ../../dist/include/xpcom/nsHashtable.h:36: plhash.h: No such file or directory ../../dist/include/xpcom/nsHashtable.h:37: prlock.h: No such file or directory In file included from nsInstall.h:46, from nsXPInstallManager.h:28, from nsInstallTrigger.cpp:39: nsInstallObject.h:41: prtypes.h: No such file or directory In file included from nsInstall.h:47, from nsXPInstallManager.h:28, from nsInstallTrigger.cpp:39: nsInstallVersion.h:13: prtypes.h: No such file or directory In file included from nsInstall.h:48, from nsXPInstallManager.h:28, from nsInstallTrigger.cpp:39: nsInstallFolder.h:31: prtypes.h: No such file or directory In file included from ../../dist/include/xpcom/nsIEventQueueService.h:14, from nsInstall.h:55, from nsXPInstallManager.h:28, from nsInstallTrigger.cpp:39: ../../dist/include/xpcom/nsIEventQueue.h:17: prthread.h: No such file or directory In file included from nsInstall.h:55, from nsXPInstallManager.h:28, from nsInstallTrigger.cpp:39: ../../dist/include/xpcom/nsIEventQueueService.h:21: prthread.h: No such file or directoryIn file included from nsXPInstallManager.h:38, from nsInstallTrigger.cpp:39: nsXPITriggerInfo.h:37: prthread.h: No such file or directory In file included from ../../dist/include/xpconnect/nsIXPConnect.h:46, from nsXPITriggerInfo.h:39, from nsXPInstallManager.h:38, from nsInstallTrigger.cpp:39: ../../dist/include/xpcom/xptinfo.h:43: prtypes.h: No such file or directory In file included from ../../dist/include/xpcom/xpt_struct.h:46, from ../../dist/include/xpcom/xptinfo.h:44, from ../../dist/include/xpconnect/nsIXPConnect.h:46, from nsXPITriggerInfo.h:39, from nsXPInstallManager.h:38, from nsInstallTrigger.cpp:39: ../../dist/include/xpcom/xpt_arena.h:45: prtypes.h: No such file or directory In file included from nsInstallTrigger.cpp:40: nsInstallTrigger.h:10: prtypes.h: No such file or directory In file included from ../../dist/include/xpcom/nsrootidl.h:11, from ../../dist/include/xpcom/nsISupports.h:10, from ../public/nsISoftwareUpdate.h:29, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/xpcom/nscore.h:146: syntax error before `;' ../../dist/include/xpcom/nscore.h:222: syntax error before `;' In file included from ../../dist/include/xpcom/nsDebug.h:46, from ../../dist/include/xpcom/nsComObsolete.h:126, from ../../dist/include/xpcom/nscore.h:306, from ../../dist/include/xpcom/nsrootidl.h:11, from ../../dist/include/xpcom/nsISupports.h:10, from ../public/nsISoftwareUpdate.h:29, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/xpcom/nsError.h:291: syntax error before `(' In file included from ../../dist/include/xpcom/nsComObsolete.h:126, from ../../dist/include/xpcom/nscore.h:306, from ../../dist/include/xpcom/nsrootidl.h:11, from ../../dist/include/xpcom/nsISupports.h:10, from ../public/nsISoftwareUpdate.h:29, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/xpcom/nsDebug.h:71: type specifier omitted for parameter ../../dist/include/xpcom/nsDebug.h:71: parse error before `)' ../../dist/include/xpcom/nsDebug.h:81: type specifier omitted for parameter ../../dist/include/xpcom/nsDebug.h:81: parse error before `)' ../../dist/include/xpcom/nsDebug.h:98: `PRBool' was not declared in this scope ../../dist/include/xpcom/nsDebug.h:98: parse error before `)' ../../dist/include/xpcom/nsDebug.h:103: ANSI C++ forbids declaration `PRBool' with no type ../../dist/include/xpcom/nsDebug.h:103: parse error before `(' ../../dist/include/xpcom/nsDebug.h:116: type specifier omitted for parameter ../../dist/include/xpcom/nsDebug.h:116: parse error before `)' ../../dist/include/xpcom/nsDebug.h:121: type specifier omitted for parameter ../../dist/include/xpcom/nsDebug.h:121: parse error before `)' ../../dist/include/xpcom/nsDebug.h:127: type specifier omitted for parameter ../../dist/include/xpcom/nsDebug.h:127: parse error before `)' ../../dist/include/xpcom/nsDebug.h:133: type specifier omitted for parameter ../../dist/include/xpcom/nsDebug.h:133: parse error before `)' ../../dist/include/xpcom/nsDebug.h:139: type specifier omitted for parameter ../../dist/include/xpcom/nsDebug.h:139: parse error before `)' ../../dist/include/xpcom/nsDebug.h:145: type specifier omitted for parameter ../../dist/include/xpcom/nsDebug.h:145: parse error before `)' ../../dist/include/xpcom/nsDebug.h:151: type specifier omitted for parameter ../../dist/include/xpcom/nsDebug.h:151: parse error before `)' ../../dist/include/xpcom/nsDebug.h:157: type specifier omitted for parameter ../../dist/include/xpcom/nsDebug.h:157: parse error before `)' ../../dist/include/xpcom/nsDebug.h:163: type specifier omitted for parameter ../../dist/include/xpcom/nsDebug.h:163: parse error before `)' In file included from ../../dist/include/xpcom/nsISupportsBase.h:44, from ../../dist/include/xpcom/nsISupports.h:117, from ../public/nsISoftwareUpdate.h:29, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/xpcom/nsID.h:58: syntax error before `;' ../../dist/include/xpcom/nsID.h:59: syntax error before `;' ../../dist/include/xpcom/nsID.h:60: syntax error before `;' ../../dist/include/xpcom/nsID.h:61: syntax error before `[' ../../dist/include/xpcom/nsID.h:74: ANSI C++ forbids declaration `PRBool' with no type ../../dist/include/xpcom/nsID.h:74: `PRBool' declared as an `inline' field ../../dist/include/xpcom/nsID.h:74: parse error before `(' ../../dist/include/xpcom/nsID.h:86: syntax error before `(' ../../dist/include/xpcom/nsID.h:92: non-member function `ToString()' cannot have `const' method qualifier ../../dist/include/xpcom/nsID.h:94: parse error before `}' In file included from ../../dist/include/xpcom/nsISupports.h:117, from ../public/nsISoftwareUpdate.h:29, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/xpcom/nsISupportsBase.h:71: syntax error before `;' ../../dist/include/xpcom/nsISupportsBase.h:97: ANSI C++ forbids declaration `nsresult' with no type ../../dist/include/xpcom/nsISupportsBase.h:97: `nsresult' declared as a `virtual' field ../../dist/include/xpcom/nsISupportsBase.h:97: parse error before `(' ../../dist/include/xpcom/nsISupportsBase.h:105: ANSI C++ forbids declaration `nsrefcnt' with no type ../../dist/include/xpcom/nsISupportsBase.h:105: `nsrefcnt' declared as a `virtual' field ../../dist/include/xpcom/nsISupportsBase.h:105: parse error before `(' ../../dist/include/xpcom/nsISupportsBase.h:114: ANSI C++ forbids declaration `nsrefcnt' with no type ../../dist/include/xpcom/nsISupportsBase.h:114: `nsrefcnt' declared as a `virtual' field ../../dist/include/xpcom/nsISupportsBase.h:114: declaration of `int nsISupports::nsrefcnt' ../../dist/include/xpcom/nsISupportsBase.h:105: conflicts with previous declaration `int nsISupports::nsrefcnt' ../../dist/include/xpcom/nsISupportsBase.h:114: parse error before `(' ../../dist/include/xpcom/nsISupportsBase.h:114: duplicate member `nsISupports::nsrefcnt' In file included from ../../dist/include/xpcom/nsISupportsImpl.h:49, from ../../dist/include/xpcom/nsISupportsUtils.h:61, from ../../dist/include/xpcom/nsISupports.h:119, from ../public/nsISoftwareUpdate.h:29, from nsSoftwareUpdate.h:6, from nsInstallTrigger.cpp:38: ../../dist/include/xpcom/nsTraceRefcnt.h:149: syntax error before `;' ../../dist/include/xpcom/nsTraceRefcnt.h:150: syntax error before `;' ../../dist/include/xpcom/nsTraceRefcnt.h:151: syntax error before `;' ../../dist/include/xpcom/nsTraceRefcnt.h:152: syntax error before `;' ../../dist/include/xpcom/nsTraceRefcnt.h:167: `PR_CALLBACK' was not declared in this scope ../../dist/include/xpcom/nsTraceRefcnt.h:167: `nsTraceRefcntStatFunc' was not declared in this scope ../../dist/include/xpcom/nsTraceRefcnt.h:169: type specifier omitted for parameter ../../dist/include/xpcom/nsTraceRefcnt.h:169: parse error before `,' ../../dist/include/xpcom/nsTraceRefcnt.h:172: ANSI C++ forbids declaration `PRBool' with no type ../../dist/include/xpcom/nsTraceRefcnt.h:172: typedef declaration includes an initializer ../../dist/include/xpcom/nsTraceRefcnt.h:172: confused by earlier errors, bailing out cpp0: output pipe has been closed make[3]: *** [nsInstallTrigger.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/mozilla-0.9.9-r1/work/mozilla/xpinstall/src' make[2]: *** [libs] Error 2 make[2]: Leaving directory `/var/tmp/portage/mozilla-0.9.9-r1/work/mozilla/xpinstall' make[1]: *** [tier_9] Error 2 make[1]: Leaving directory `/var/tmp/portage/mozilla-0.9.9-r1/work/mozilla' make: *** [default] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 78, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/net-www/mozilla/mozilla-0.9.9-r1.ebuild .
appears to be fixed with the new autoconf and automake