diff options
author | Caleb Tennis <caleb@gentoo.org> | 2004-01-26 01:38:51 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2004-01-26 01:38:51 +0000 |
commit | e97d3f6849cb811b357b83501d836518ec901f38 (patch) | |
tree | 38fc91ec40536ecf4972c8aba8f800127166faad /eclass/kde.eclass | |
parent | old (diff) | |
download | gentoo-2-e97d3f6849cb811b357b83501d836518ec901f38.tar.gz gentoo-2-e97d3f6849cb811b357b83501d836518ec901f38.tar.bz2 gentoo-2-e97d3f6849cb811b357b83501d836518ec901f38.zip |
yet more verbosity, and smarter failure
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r-- | eclass/kde.eclass | 44 |
1 files changed, 33 insertions, 11 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass index a22ed36af84f..1a712f5d5d2e 100644 --- a/eclass/kde.eclass +++ b/eclass/kde.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.90 2004/01/26 00:44:21 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.91 2004/01/26 01:38:51 caleb Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -143,19 +143,41 @@ kde_src_compile() { configure_die() { echo $@ + eerror eerror "Your KDE program installation died while running the configure script" eerror - eerror "If the error was related to not finding the STL, you have a gcc error" - eerror "that is easily fixed by re-emerging the latest version of gcc" - eerror "See http://forums.gentoo.org/viewtopic.php?p=790048#790048" - eerror "or http://bugs.gentoo.org/show_bug.cgi?id=38634" - eerror - eerror - eerror "If the error died during the check for Qt, and you have Qt installed, the problem" - eerror "is most likely due to your nvidia drivers being configured improperly. See the - eerror "forums, or try reconfiguring using: opengl-update xfree" - eerror + + if [ -f /etc/env.d/09opengl ] + then + source /etc/env.d/09opengl + if [ -n "${LDPATH}" ] + then + GL_IMPLEM="${LDPATH/\/usr\/lib\/opengl\/}" + GL_IMPLEM="${GL_IMPLEM/\/lib}" + unset LDPATH + fi + fi + + + if [ ${GL_IMPLEM} = "nvidia" ] + then + eerror "You're using the nvidia drivers. The problem is most likely fixed by " + eerror "running: 'opengl-update xfree' to change your opengl back to xfree " + eerror "(which is what Qt was most likely compiled against)" + fi + + if [ -f /usr/lib/gcc-lib/${CHOST}/3.2.3/include/stdio.h ] + then + + eerror + eerror "If the error was related to not finding the STL, you have a gcc error" + eerror "that is easily fixed by re-emerging the latest version of gcc" + eerror "See http://forums.gentoo.org/viewtopic.php?p=790048#790048" + eerror "or http://bugs.gentoo.org/show_bug.cgi?id=38634" + eerror + fi + die } |