KDevelop crashes on code completion
Steven T. Hatton
hattons at globalsymmetry.com
Wed Aug 24 05:09:14 UTC 2005
On Tuesday 23 August 2005 18:03, Steven T. Hatton wrote:
[...]
> helpless ./configure
>
> --with-db-includedir=DIR
> where the DB3 headers are installed
> --with-db-libdir=DIR where the DB3 libraries are installed
> --with-db-lib=LIB library name for the DB3 library
>
> A progress report will be forthcoming. I just wanted to get this much
> posted in case others might benefit from it. I will make the assumption
> that I can also use bdb <= db4.1.
The code completion is not working for the Qt PCS, and KDevelop has locked up
a few times since the most recent (successful) build according to what's
below. I have all the latest stuff from SuSE's supplementary for KDE.
Everything else is pretty much stock.
db41-4.1.25-76
db-4.3.27-3
db-devel-4.3.27-3
db41-devel-4.1.25-76
db1-1.85-89
db-utils-4.3.27-3
Here's how I am currently building: (Yes, I know I should be using the KDE
from a kdesvn-build in my user space, but I can't get it (kdebase) to build.)
#!/bin/bash
# svn://anonsvn.kde.org/home/kde/trunk/KDE/kdevelop
export SOURCE_HOME=/download/org/kdevelop/repository/root/kdevelop
export BUILD_HOME=/download/org/kdevelop/repository/root/build
. ~/bin/functions.sh # gives me goodsound() and badsound()
export KDEDIR=/opt/kde3
export QTDIR=/usr/lib/qt3
export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
export LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LIBRARY_PATH
export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
export KDELIBS_DOCS=$KDEDIR/share/doc/HTML/en/kdelibs-apidocs
#######################
### IMPORTANT STUFF ###
#######################
export KDEV_OPTS="
--enable-debug=full\
--disable-pascal\
--disable-ada\
--disable-perl\
--disable-fortran\
--disable-haskell\
--disable-java\
--disable-php\
--disable-ruby\
--disable-sql\
--disable-antproject\
--disable-clearcase\
--disable-perforce\
--with-db-includedir=/usr/include/db41\
--with-db-libdir=/usr/lib\
--with-db-lib=db-4.1\
"
#####################################
### notice the last three options ###
#####################################
# --enable-new-ldflags\
# --disable-subversion\
# --disable-cvs\
#"
export CXXFLAGS=" -g3 -O3"
#export CXXFLAGS=" -O3 "
pushd $SOURCE_HOME
gcc --version
echo "--------- CONFIGURATION ----------"
echo -e "\$SOURCE_HOME=$SOURCE_HOME"
echo -e "\$KDEDIR=$KDEDIR"
echo -e "\$QTDIR=$QTDIR"
echo -e "\$KDEV_OPTS=$KDEV_OPTS"
echo -e "\$CXXFLAGS=$CXXFLAGS"
echo -e "\$CPLUS_INCLUDE_PATH=${CPLUS_INCLUDE_PATH//:/'\\''\n':}"
echo "----------------------------------"
function kdevelop-fail() {
badsound && exit 1;
}
echo -e "To run svn update enter 'y'." && read KDEVELOP_UPDATE
test "$KDEVELOP_UPDATE" != "y" || svn up || kdevelop-fail
echo -e "To make Makefile.cvs enter 'y'." && read KDEVELOP_MAKECVS
test "$KDEVELOP_MAKECVS" != "y" ||\
unsermake -f Makefile.cvs && waitsound || kdevelop-fail
pushd $BUILD_HOME
echo -e "To configure enter 'y'." && read KDEVELOP_CONFIGURE
test "$KDEVELOP_CONFIGURE" != "y" ||\
$SOURCE_HOME/configure $KDEV_OPTS && waitsound || kdevelop-fail
unsermake -k -j16 && waitsound || kdevelop-fail
su -c'unsermake install'
--
Regards,
Steven
More information about the KDevelop-devel
mailing list