Pam Roberts (Re: compiling kde3)
Keith Antoine
kantoine
Mon May 17 11:28:41 PDT 2004
On Wednesday 20 March 2002 04:54 am, you wrote:
> I guess that QTDIR hasn't been set correctly (is still pointing to
> /usr/lib/qt2) when you are doing the kde compiles. I don't know how you are
> doing the compiles but I find it easiest to use a bash script so that I
> don't have to type the commands in by hand and forget something when I am
> doing it. It also means that you can run the script from within kde 2
> without any problems...
Thanks again, but in actual fact I have such a script but only call it once.
It is probably non effective after the first one or two configures. So that
would account for the problem. Being higorant I thought it lasted all day,
<grin>, so thats fixed now. I will be collating all this for future reference
and making a hard copy, no trusty memory these days.
> ------------------------snip----------------------
> #!/bin/bash
> # buildkde3
>
> srcdir=/mnt/bkup/CVSKDE3 #Where the source code is,
> #Change it to suit your setup
> QTDIR=/usr/lib/qt3
> KDEDIR=/opt/kde3
> PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
> LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
> export QTDIR KDEDIR PATH LD_LIBRARY_PATH
>
> # uncomment one of the following to compile just that module
> pkgs="kdesupport"
> #pkgs="arts"
> #pkgs="kdelibs"
> #pkgs="kdebase"
> #pkgs="kdeutils"
> #pkgs="kdegraphics"
> #pkgs="kdenetwork"
> #pkgs="kdeadmin"
> #pkgs="kdemultimedia"
> #pkgs="kdeartwork"
> #pkgs="kdeaddons"
>
> # or to compile more than one module do something like
> #pkgs="kdesupport arts kdelibs kdebase"
>
> cfgopts="--disable-debug --with-qt-dir=$QTDIR \
> --with-qt-headers=$QTDIR/include\
> --with-qt-libraries=$QTDIR/lib --prefix=$KDEDIR \
> --with-ssl-dir=/usr/include/openssl"
>
> mk="-k" #so it keeps on compiling other stuff after a problem
>
> for i in $pkgs; do
> cd $srcdir/$i
> echo -e "Doing $i ....."
> echo -e "Doing make -f Makefile.cvs for $i"
> make -f Makefile.cvs
> echo "Doing configure $cfgopts $i"
> ./configure $cfgopts
> echo -e "make $mk $i"
> make $mk
> echo -e "Doing make $mk install $i"
> make $mk install
> echo -e "$i done"
> done
> ------------------------snip----------------------
>
> HTH
>
> Pam
--
Keith Antoine (GANDALF) aka 'skippy'
18 Arkana St, The Gap, Queensland 4061 Australia PH:61733002161
Retired Geriatric, Sometime Electronics Engineer, Knowall, Brain in storage
More information about the Linux-users
mailing list