Results 1 to 13 of 13

Thread: Cannot Install KDEdevel packages on linux

  1. #1

    Default Cannot Install KDEdevel packages on linux

    Hi
    I am using mandrake 10.1 with KDE3.2, I am trying to install the KDE development packages, I managed to install kdecore and kedcore-devel,but I have been unable to install packages such as kdeui.
    I have been using urpmi package manager to install these packages (The data base is updated with a full set of on-line resources from easy urpmi). I cannot find these packages any where here is what I tried doing.

    1)Searched urpmi package names for kdeui and kdelibs no luck

    2) Searched urpmi package file names (ie specific files that will ultimately be installed) ktmainwindow.h (this file is supposed to be in the package kdeui) could not find no luck
    3.Itried installing RPMs that contain these libraries they are ,kdelibs and kdelibs-devel packages. There seems to be file name conflict with existing kdecore package. I used force option to install kdelibs but when I try to install kdelibs-devel it complains that it cannot find kdelibs here is the shell output

    [root@x1-6-00-09-6b-40-03-e7 kdelibs]# rpm -iv kdelibs-devel-3.1-58mdk.i586.rpm
    error: Failed dependencies:
    kdelibs = 3.1-58mdk is needed by kdelibs-devel-3.1-58mdk

    [root@x1-6-00-09-6b-40-03-e7 kdelibs]# rpm -qa |grep "kdelibs*"
    kdelibs-common-3.2.3-106.2.101mdk
    kdelibs-3.1-58mdk

    I did a lot of work before I came here which I tried to summarise above hope its clear please I really need some help which will be appreciated thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Athens - Greece
    Posts
    219
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Cannot Install KDEdevel packages on linux

    Quote Originally Posted by wirajr
    Hi
    I am using mandrake 10.1 with KDE3.2
    ...
    error: Failed dependencies:
    kdelibs = 3.1-58mdk is needed by kdelibs-devel-3.1-58mdk
    You are trying to install the dev packages for an older version than the one you have on your system. If you are sure that this is exactly what you want then
    Qt Code:
    1. rpm -Uhv --force --nodeps [your_package_name].rpm
    To copy to clipboard, switch view to plain text mode 

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Cannot Install KDEdevel packages on linux

    Quote Originally Posted by wirajr
    I used force option to install kdelibs
    You shouldn't do that.

    kdelibs-common-3.2.3-106.2.101mdk
    kdelibs-3.1-58mdk
    It looks like you have installed kdelibs from KDE 3.1 on system that uses KDE 3.2 --- this might lead to serious problems.

    Try looking for libkde* packages.

  4. #4

    Default Re: Cannot Install KDEdevel packages on linux

    Hi
    I cant find kdelibs for 3.2. Can you tell me which packages I should install before I start development using KDE. I have been going through a lot of things trying to figure it out. Additionally I have the kdeui.so library installed its just that I cant find the header files needed for programming.
    Qt Code:
    1. [root@x1-6-00-09-6b-40-03-e7 lib]# pwd
    2. /usr/lib
    3. [root@x1-6-00-09-6b-40-03-e7 lib]# ls -l libkdeui.so
    4. lrwxrwxrwx 1 root root 17 Feb 4 13:51 libkdeui.so -> libkdeui.so.4.2.0*
    To copy to clipboard, switch view to plain text mode 


    Another thing worth mentioning is that I cannot find any packages in my urpmi database that contain headers for kdeui library. I did a search “in file names” for ktmainwindow.h with no luck. I would really appreciate if you could clarify this matter as well and thanks for your help so far.
    Last edited by wirajr; 4th February 2006 at 15:27.

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Cannot Install KDEdevel packages on linux

    Try installing libkdecore4-devel package.

  6. #6

    Default Re: Cannot Install KDEdevel packages on linux

    Quote Originally Posted by jacek
    Try installing libkdecore4-devel package.
    Hi
    I have this package installed. As I said before it contained kdeui.so library but It does not install header files for linking against the library. (I believe you do need the header files in order to have a #include statement compile in your C++ source). here it is
    Qt Code:
    1. [root@x1-6-00-09-6b-40-03-e7 lib]# rpm -qa | grep "kdecore*"
    2. libkdecore4-3.2.3-93mdk
    3. libkdecore4-devel-3.2.3-93mdk
    To copy to clipboard, switch view to plain text mode 
    and thanks for the quick reply appreciate it.

  7. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Cannot Install KDEdevel packages on linux

    I don't use Mandrake/Mandriva so I can't help you much, but check other libkde*-devel packages.

    Try:
    sh Code:
    1. rpm -qf /usr/lib/libkdeui.so.4.2.0
    To copy to clipboard, switch view to plain text mode 
    It should tell you which package owns it and then install the apropriate -devel package.

  8. #8

    Default Re: Cannot Install KDEdevel packages on linux

    Quote Originally Posted by jacek
    I don't use Mandrake/Mandriva so I can't help you much, but check other libkde*-devel packages.

    Try:
    sh Code:
    1. rpm -qf /usr/lib/libkdeui.so.4.2.0
    To copy to clipboard, switch view to plain text mode 
    It should tell you which package owns it and then install the apropriate -devel package.
    Hi
    libkdeui is already installed I am looking for the package with the necessary header files in order to link against the library (or is it not necessary). For example it has not installed ktmainwindow.h header although the library libkdeui is installed, thanks

  9. #9
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Cannot Install KDEdevel packages on linux

    Quote Originally Posted by wirajr
    Hi
    libkdeui is already installed I am looking for the package with the necessary header files in order to link against the library (or is it not necessary). For example it has not installed ktmainwindow.h header although the library libkdeui is installed, thanks
    Please, read my post again:
    Quote Originally Posted by jacek
    It should tell you which package owns it and then install the apropriate -devel package.
    If rpm -qf tells you that libkdeui.so is owned by package named xyz-123 then just install xyz-devel-123.

  10. #10
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Cannot Install KDEdevel packages on linux

    KDE development package in Mandriva is libkdecore4-devel. Issue "urpmi libkdecore4-devel" and it should get installed. If urpmi complains it can't find it, try reconfiguring your rpm sources (http://easyurpmi.zarb.org/ is a good place to help you do this).

    BTW. KDE headers will end up in /usr/include (I have 394 files starting with "k" and ending with ".h" there -- they all look like kde header files (version 3.4.2)).

    BTW2. There is no file "ktmainwindow.h" in KDE headers, only "kmainwindow.h".
    Last edited by wysota; 5th February 2006 at 21:23.

  11. #11

    Default Re: Cannot Install KDEdevel packages on linux

    Quote Originally Posted by jacek
    Please, read my post again:

    If rpm -qf tells you that libkdeui.so is owned by package named xyz-123 then just install xyz-devel-123.
    Hi
    I ran the command you gave me. The corresponding devel packages has been installed
    my problem is that the headers are not installed here is the shell output.
    Qt Code:
    1. [root@x1-6-00-09-6b-40-03-e7 root]# rpm -qf /usr/lib/libkdeui.so.4.2.0
    2. libkdecore4-3.2.3-93mdk
    3. [root@x1-6-00-09-6b-40-03-e7 root]# rpm -qa |grep "ibkdecore*"
    4. libkdecore4-3.2.3-93mdk
    5. libkdecore4-devel-3.2.3-93mdk
    6. [root@x1-6-00-09-6b-40-03-e7 root]# find / -name "ktmainwindow.h" -print
    7.  
    8. [root@x1-6-00-09-6b-40-03-e7 root]#
    To copy to clipboard, switch view to plain text mode 

    And thanks for your input
    wiraj

  12. #12
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Cannot Install KDEdevel packages on linux

    Again -- there is no such thing as ktmainwindow.h. It was present in KDE2 to help port applications from KDE 1. You won't find it in KDE3. What do you need it for, anyway?

  13. #13

    Default Re: Cannot Install KDEdevel packages on linux

    I got this book here that imports a header called ktmainwindow.h (I just double checked it), I could find other headers in this book except this particular one is it part of some depreciated API?

    Well its all sorted out, and many thanks to all of you for your time and patients.
    Wiraj

Similar Threads

  1. Replies: 3
    Last Post: 13th December 2008, 11:33
  2. How to install Qt/Qtopia on embeded linux?
    By atil in forum Qt for Embedded and Mobile
    Replies: 7
    Last Post: 13th December 2007, 23:03
  3. Error install at linux red hat
    By Colx007 in forum Installation and Deployment
    Replies: 2
    Last Post: 8th October 2007, 17:47
  4. Qt 4.1 install failing on Linux
    By Maxilys in forum Installation and Deployment
    Replies: 11
    Last Post: 14th January 2006, 16:39

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.