[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-user
Subject: Re: problem with a compile kde 2.2 alpha
From: Pam R <pam.roberts () btinternet ! com>
Date: 2001-04-25 18:47:42
[Download RAW message or body]
On Wednesday 25 April 2001 18:39, akar 'th 'orrible wrote:
> On Wednesday 25 April 2001 20:06, Keith Antoine wrote:
> > On Wednesday 25 April 2001 12:07, David E. Fox wrote:
> > > > I just made a ./configure and a make. It stuffed on make, so if I
> > > > copy this across it should be ok. Thanks for that.
> > >
> > > Actually, you do need to 'make install' in both kdesupport and
> > > kdelibs before proceeding further.
> >
> > Did that this aftrenoon and it made no difference same error and
> > stopped.
>
> Keith, Do you already have kde 2.1x installed on that machine and if
> so in what directory. If you are installing on a machine that already
> has kde2.1 installed on it you must
> a)Do it from a console or at least NOT in kde
> b) Explicitly set the NEW KDEDIR before running the first configure and
> use prefix= to set the location of the new kde directory. Otherwise
> when you try to make kdebase it may fail because configure may have
> set it to look in your old kde2.1x directory for include files that it
> should be getting from the include dir of the kdelibs that you did the
> make install on.
>
> This only applies if you have another version (2.1.x on there)
AFAIK Keith is upgrading an existing kde 2.1.1 installation on a machine
running Sybil (new Caldera beta), and doesn't want to put everything into a
_new_ KDEDIR but is happy to overwrite the old. This is similar to masochists
like me who often recompile the latest offering from CVS to overwrite the
old. Sometimes I make a copy of the old KDEDIR first as a fallback, mostly I
take the risk.
To make sure that all the enviroment variables have been set up correctly, I
find it easiest to use a script to compile, such as the following which has
the correct paths for Sybil
-----snip here----
#!/bin/bash
# My source code is in /mnt/bkup/src/kde2.1
srcdir=/mnt/bkup/src/kde2.1
QTDIR=/usr/lib/qt2
KDEDIRS=/opt/kde2
PATH=$QTDIR/bin:$KDEDIRS/bin:$PATH
LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIRS/lib:$LD_LIBRARY_PATH
export QTDIR KDEDIRS PATH LD_LIBRARY_PATH
# feel free to add more to the pkgs line
pkgs="kdesupport kdelibs kdebase"
# cfgopts should all be on one line
cfgopts="--with-qt-dir=$QTDIR --with-qt-headers=$QTDIR/include
--with-qt-libraries=$QTDIR/lib --prefix=$KDEDIRS
--with-ssl-dir=/usr/lib/openssl"
mk=""
# uncomment the following if you want gcc to try to keep going after a
problem
#mk="-k"
for i in $pkgs; do
cd $srcdir/$i
ln -s ../kde-common/admin .
# make -f Makefile.cvs # only for compilation from CVS
./configure $cfgopts
make $mk
make $mk install
echo -e "$i done"
done
---- and here ----
And, as you say, _don't_ run this from kde2 :-)
BTW, akar, I'm looking forward to seeing your tutorials.
Pam
--
UK Linux Step by Step mirror: http://www.pam.roberts.btinternet.co.uk/sxs/
--
Send posts to: kde-user@lists.netcentral.net
Send all commands to: kde-user-request@lists.netcentral.net
Put your command in the SUBJECT of the message:
"subscribe", "unsubscribe", "set digest on", or "set digest off"
All kde mailing lists are archived at http://lists.kde.org
**********************************************************************
This list is from your pals at NetCentral <http://www.netcentral.com/>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic