KDevelop 1 build (and building KDE1 apps under KDE2)

John Birch John.Birch at xtra.co.nz
Tue Sep 26 15:01:50 BST 2000


On Tue, 26 Sep 2000, you wrote:
> On Tue, 26 Sep 2000, John Birch wrote:
> Yup,
> 	env states KDEDIR is /opt/kde2/
> 	and ./configure looks in /usr/include/kde
> 	every time.

that's why the kdevelop1 script overrides these values. You don't want them 
pointing to kde2 when you're running kdevelop 1.2.

jbb

>
> 	-ian reinhart geiser
>
> > On Tue, 26 Sep 2000, you wrote:
> > > On Tue, 26 Sep 2000, Gordon Tyler wrote:
> > > Dont worry i have been posting this for months and no-one can seem to
> > > figure out how to fix it.  i have just given up and am waiting for
> > > KDevelop 2.
> > >
> > > -ian reinhart geiser
> >
> > This can't be that hard, is it? It's very dependent on how you set your
> > system up though.
> >
> > A quick test shows this works for me.
> >
> > .bash_profile
> > ************cut***************
> > # User specific environment and startup programs
> > KDEDIR=/home/kde2/kde
> > QTDIR=/opt/qt-2.2.0
> > LD_LIBRARY_PATH=$KDEDIR/lib:$QTDIR/lib:$LD_LIBRARY_PATH
> > CPLUS_INCLUDE_PATH=$KDEDIR/include:$QTDIR/include:/usr/local/include:$CPL
> >US_INCLUDE_PATH
> >
> > export CPLUS_INCLUDE_PATH LD_LIBRARY_PATH QTDIR KDEDIR
> >
> > PATH=$KDEDIR/bin:$QTDIR/bin:$PATH:$HOME/bin
> > ************cut***************
> >
> > kdevelop1 script
> > ************cut***************
> > export KDEDIR=/opt/kde-qt1
> > export QTDIR=/opt/qt-1.44
> > LD_LIBRARY_PATH=/opt/kde-qt1/lib:/opt/qt-1.44/lib:$LD_LIBRARY_PATH \
> >     /opt/kde-qt1/bin/kdevelop
> > ************cut***************
> >
> > Note that kde1 is installed in /opt/kde-qt1. kde2 is installed in my home
> > dir (~/kde). Both systems are compiled from source, rather than using the
> > distributed rpms. I have no idea where the rpms put stuff, but it's bound
> > to be in the wrong place :-)
> >
> > > > I'm running KDE2 RC2 (version as 1.94 I believe) on a Mandrake 7.1
> > > > system and I have managed to get KDevelop to run using the
> > > > kde1-compat RPMs that come with the KDE2 Mandrake beta RPMs. But
> > > > there's a wee problem when it comes to compiling KDE1 applications in
> > > > that they always see the KDE2 headers and I can never get any KDE1
> > > > application to compile. I've fiddled with the configure script to
> > > > modify the way it searches for include directories but the test
> > > > compile for that configure item always fails. The config.log says
> > > > that gcc can't find the definitions for
> > > > KApplication::geticondir() and all the other associated static
> > > > methods in Kapplication which this little test app uses.
> > > >
> > > > Have the KDK RPMs been updated at all since KDevelop 1.2 was
> > > > released?
> > > >
> > > > And could someone give me some advice on developing for KDE1 on a
> > > > (primarily) KDE2 system?
> >
> > Are you sure you want to do this? kde2 is just around the corner... If
> > you're running kde2, I'd start developing for kde2.
> >
> > jbb
>
> ..---------------------------------------------------.
>
> | Ian Reinhart Geiser - Computer Engineering Student|
> | HOME: <geiseri at msoe.edu>                          |
> | WORK: <geiseri at linuxppc.com>                      |
> | WEB:  http://www.msoe.edu/~geiseri                |
>
> `---------------------------------------------------'




More information about the KDevelop mailing list