Finally!

Steven T. Hatton hattons at globalsymmetry.com
Tue Jun 1 14:19:25 UTC 2004


This will most likely beat my previous message to the server.  That one seems
to be having trouble finding its way. The following should speak for itself:

******************* Important *********************

KDevelop 3.0.90 has been installed.

***************************************************


export SOURCE_HOME=/download/org/kdevelop/repository/kdevelop
export BUILD_HOME=/download/org/kdevelop/repository/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 PREFIX=$HOME/opt/org/kdevelop

export KDEV_OPTS=" --prefix=$PREFIX \
"
#  --disable-ada\
#  --disable-fortran\
#  --disable-haskell\
#  --disable-java\
#  --disable-pascal\
#  --disable-php\
#  --disable-ruby\
#  --disable-sql\
#  --disable-antproject\
#  --disable-clearcase\
#  --disable-perforce\
#  --disable-subversion"

export CXXFLAGS="-g3 -O0"
#export CXXFLAGS=" -O3 "
export LDFLAGS=$(libify $LIBRARY_PATH)
export CPPFLAGS=$(includify $INCLUDE_PATH)

cd $SOURCE_HOME
gcc --version
echo "--------- CONFIGURATION ----------"
echo -e "\$SOURCE_HOME=$SOURCE_HOME"
echo -e "\$BUILD_HOME=$BUILD_HOME"
echo -e "\$KDEDIR=$KDEDIR"
echo -e "\$QTDIR=$QTDIR"
echo -e "\$KDEV_OPTS=$KDEV_OPTS"
echo -e "\$CXXFLAGS=$CXXFLAGS"
echo "----------------------------------"

function kdevelop-fail() {
    badsound && exit 1;
}

test -z "$KDEVELOP_UPDATE" && echo -e "To run cvs update enter 'y'." && read \
KDEVELOP_UPDATE
################## NOTE THE USE OF -C #######################
test "$KDEVELOP_UPDATE" != "y" || cvs update -dPC || kdevelop-fail

make -f admin/Makefile.common cvs-clean && make -f Makefile.cvs || \
kdevelop-fail

cd $BUILD_HOME || kdevelop-fail

$SOURCE_HOME/configure $KDEV_OPTS || kdevelop-fail

make -k -j7 || kdevelop-fail
make install && goodsound || kdevelop-fail

--
Regards,
Steven




More information about the KDevelop-devel mailing list