[ale] Building KDE in Linux
Mike Lockhart
backpacker at hikers.net
Thu Aug 15 11:28:01 EDT 2002
For anyone who uses Slackware, Debian, etc and would like to build KDE,
I built a script to compile KDE in the proper order. You'll have to
pardon the shoddy bash scripting, I really haven't done to much of it.
:) Hope it helps somebody. If someone has some suggestions on how to
make this script better, please let me know.
-- mike
----------------------- START --------------------------------------
#!/bin/sh
## TEMP_DIR is where the tar.bz2 files are located
## STORE_DIR is the dir. that the .tar files will be saved in, so if
## you need them later they're available.
TEMP_DIR=/root/KDE
STORE_DIR=/root/KDE_TARS
cd $TEMP_DIR
for I in `ls`;
do `bunzip2 $I`;
done;
for T in `ls`;
do `tar -xvf $T`;
done;
`mv *.tar $STORE_DIR`
for L in `ls`;
do `echo $L`;
## Replace 3.x.x with the proper version number, works for 3.0.2 and
## 3.1 ;)
##
## The below parts rename kdelibs to Bkdelibs, kdeaddons to
## zkdeaddons, and arts to Aarts. This makes sure that they are
## compiled in the proper order, which is arts 1st, libs 2nd, and
## addons last.
if [ "$L" = "kdelibs-3.x.x" ]; then
mv $L "B$L";
fi
if [ "$L" = "kdeaddons-3.x.x" ]; then
mv $L "z$L";
fi
if [ "$L" = "arts-1.x.x" ]; then
mv $L "A$L";
fi
done;
for J in `ls`;
do ``;
cd $J
## By default configure sets the PREFIX to /usr/local/kde
## ./configure --prefix=/opt/kde is another popular location
./configure
make
make install
cd ..
ldconfig
rm -rf $TEMP_DIR/$J
done;
----------------------- END ----------------------------------------
--
================================
Michael Lockhart - PHP Developer
Intercosmos Media Group
mailto:mlockhart at intercosmos.com
http://orbital.intercosmos.net
================================
This is a digitally signed message part
More information about the Ale
mailing list