[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-user
Subject:    Re: Cannot get kdelibs 2.1.2 to compile...
From:       John Gluck <john.gluck () sympatico ! ca>
Date:       2001-05-13 23:35:45
[Download RAW message or body]

Hi Jon

Yes, to the best of my knowlwdge, KDE was originally designed around Qt. An older
version of KDE means an older version of Qt is on your system. AFAIK, Qt is
compatible with older versions of itself (but I could be wrong).

Anyway, it's likely that you are pointing to an old version of Qt when you do your
compile. The first thing to check is your QTDIR environment variable, Just enter
"env $QTDIR" that should give you the directory it's using. Do an "ls -l" command
on that and see what the versions are on the files. You should see things like
"libqt.so.2.3" (I'm using Qt 2.3.0). If you're not seeing what you expect, then
you're probably trying to compile against an old version of Qt.

I use softlinks to different versions of Qt. That way I can keep old versions of
Qt around I case I need to go back for some reason. That's mainly for devlopment
purposes. For example it worked with an old version and suddenly doesn't.

For linux the things to do to fix this, would be to update the /etc/ld.so.conf
file to use the correct directories and to change the QTDIR environment variable.
After that you need to remove the config.cache file in the Qt source dir, do a
make clean, and run ./configure again before trying to do a make.

John

Jon 'Jeh' MacLellan wrote:

> Hi John,
>
> I'm using QT 2.2.3 which, as far as I know, is the ONLY copy of QT on the
> system. I say "as far as I know" as it's the only copy which I've installed
> personally. I do have an old version of KDE running which was installed as
> part of the FreeBSD 4.1 CD install, so I'm not sure if that would have put
> an older copy of QT anywhere. Do you know if pre-KDE2 KDE setups needed QT
> as well?
>
> Tagging the -I parameter didn't help (same error), and I couldn't find
> anywhere in the gmake options to add in a Library path, it wouldn't accept
> the -L parameter at all. My $QTDIR is set correctly, as is the
> $LD_LIBRARY_PATH, $KDEDIR and as far as I know, all the paths which should
> be in the $PATH variable are linked.
>
> I'm stuck and am fairly new at this so any help would be appreciated.
>
> FYI, I was able to compile and install kdesupport perfectly with no problems.
>
> - Jeh
>
> At 02:25 AM 5/12/01 +0000, you wrote:
> >Hi
> >
> >The errors seem to indicate that your Qt directory path is not set correctly.
> >
> >Looking at the compile command, This is where the compiler wants the Qt
> >includes:  -I/usr/src/kde/qt-copy/include
> >
> >At the link phase this is where the libs should be: -L/usr/src/kde/qt-copy/lib
> >
> >Are you sure that this is the path to the correct versions of Qt??? It's
> >croaking on some pretty basic Qt stuff...
> >
> >John
> >
> >Jon 'Jeh' MacLellan wrote:
> >
> > > Hi,
> > >
> > > I'm ripping my hair out there. I've tried compiling both kdelibs 2.1.1 and
> > > 2.1.2 and neither will compile. I get the same error message each time. See
> > > attached .txt file.
> > >
> > > System:
> > > FreeBSD 4.1-STABLE
> > > Latest versions of Automake, Autoconf installed.
> > > QT 2.2.3 installed and configured with No-G++-Exceptions, Gif Support and
> > > No-OpenGL parameters.
> > >
> > > Any help would be very much appreciated.
> > >
> > > Jon
> > > ========================================
> > >    Jon MacLellan   |  jeh@planetjeh.com
> > >    ---=[ http://www.planetjeh.com ]=---
> > > ========================================
> > >             BobTheBuilderSucks.com:
> > >   [ http://www.bobthebuildersucks.com/ ]
> > > ========================================
> > > "Ignorance breeds fear. The generation that
> > > is afraid of what games may be doing to their
> > > kids is the generation that does not
> > > understand, and therefore fears, games and
> > > technology."
> > > - Mike Wilson on Violence in Video Games.
> > > =============================================
> > >
> > >   ------------------------------------------------------------------------
> > >
> > >    kdelibs_error.txtName: kdelibs_error.txt
> > >                     Type: Plain Text (text/plain)
> >
> >--
> >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/>
>
> Jon
> ========================================
>    Jon MacLellan   |  jeh@planetjeh.com
>    ---=[ http://www.planetjeh.com ]=---
> ========================================
>             BobTheBuilderSucks.com:
>   [ http://www.bobthebuildersucks.com/ ]
> ========================================
> "Ignorance breeds fear. The generation that
> is afraid of what games may be doing to their
> kids is the generation that does not
> understand, and therefore fears, games and
> technology."
> - Mike Wilson on Violence in Video Games.
> =============================================
>
> --
>
> 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/>

-- 
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