Professional Web Applications Themes

Unable to compile Qt / KDE apps - Linux Setup, Configuration & Administration

PM wrote: > Hi all, I am trying to add a plugin to kate (cppsymbolviewer) but I > always have a the following configure error (whatever the options, > e.g. --with-qt-dir=/usr/lib/qt3 --with-qt-includes..., or by setting > QTDIR..., or by setting PATH, LD_LIBRARY_PATH...), I'd like to mention > that is not specific to this program (same error for various apps): > > "checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) > (library qt-mt) not found. Please check your installation! > For more details about this problem, look at the end of config.log. > Make sure that you have compiled ...

  1. #1

    Default Re: Unable to compile Qt / KDE apps

    PM wrote:
    > Hi all, I am trying to add a plugin to kate (cppsymbolviewer) but I
    > always have a the following configure error (whatever the options,
    > e.g. --with-qt-dir=/usr/lib/qt3 --with-qt-includes..., or by setting
    > QTDIR..., or by setting PATH, LD_LIBRARY_PATH...), I'd like to mention
    > that is not specific to this program (same error for various apps):
    >
    > "checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021))
    > (library qt-mt) not found. Please check your installation!
    > For more details about this problem, look at the end of config.log.
    > Make sure that you have compiled Qt with thread support!"
    >
    maybe this helps
    [url]http://www.linux-community.de/Neues/story?storyid=4627[/url]

    cu
    Dennis Jarog Guest

  2. #2

    Default Re: Unable to compile Qt / KDE apps

    PM wrote:
    > "checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) (library
    > Does anybody have (at least) a guess on this problem?
    > # rpm -qa | grep qt
    > libqt3-common-3.1.1-13.1mdk
    > libqt3-devel-3.1.1-13.1mdk
    > libqt3-3.1.1-13.1mdk
    Easy afterthought: if you're building with prefix == /usr/local or some
    such, then it's tricky to build against a KDE/QT in /usr

    Yes, it can be done, but maybe your --with-QTDIR whatever stuff wasn't
    clever enough to resolve all the problems. Try it with prefix=/usr and see
    if that takes care of it.

    If that last minute silly idea fails, move on to the original message I
    wrote:

    In spite of your showing how it appears to all be installed, it isn't all
    installed. The error you're getting usually means you don't have the
    correct headers available.

    Something like this is going to come down to a Mandrake-specific remedy, and
    I really can't offer one. On Debian, the -mt headers are in a separate
    -dev package that can't be installed at the same time as the non-mt -dev
    package. You're not running Debian, so you're going to have to dig in and
    figure out what's missing. See if there isn't some additional,
    supplemental -devel package you don't have installed.

    If you've ascertained that you've installed every conceivable libqt3
    package, and the installation *can't* be broken (unless the packages
    themselves are, which is probably pretty unlikely), then try hacking the
    configure script to remove this failing test. (Search for the error
    string. You'll find the right bit of the script to comment out.)

    That will let you get through the configure and on to an attempt to build
    the program. It may well work. I've actually had legitmate cause to do
    this before, and everything compiled perfectly. If it does work, then it
    probably indicates an autoconf problem with Kate or whatever it was you
    said you were compiling.

    If it doesn't work, then your QT installation is broken, and if you've done
    both of the above, it's time to start ing at Mandrake I guess.

    --
    Michael McIntyre USDA zone 6b in SW VA, USA
    Silvan <dmmcintyrusers.sourceforge.net> Linux Druid
    ----------[ registered Linux user #243621 ]---------
    [url]http://www.geocities.com/Paris/Rue/5407/index.html[/url]
    Silvan Guest

  3. #3

    Default Re: Unable to compile Qt / KDE apps

    Yes, I see it all the time on my Mandrake 9.1 distribution.
    In my case, QT with threads is quite installed. The error message
    is incorrect (unless you really are missing libqt-mt).

    Much finger-pointing is being done, mostly at the distro, and also
    at the build tools.

    It appears that some of the build tools are incompatible. I have tried
    to fix that problem, with no luck.

    Here is a work-around.

    To check for qt, the configure script calls the linker by executing a
    line like
    ck-new -I/usr/lib/qt3/include -I/usr/X11R6/include ... (libraries...)
    You'll find this toward the bottom of your config.log file.
    This command is failing because some X libraries haven't been linked in.
    The trick is to figure out which libraries, and add them. You can make the
    experimenting process easier by ripping the above line out of the
    config.log file and replacing ck-new with gcc.

    Find a line in the configure script that echo's "checking for Qt".
    This is where it happens. For example, in a recent build of NoteEdit,
    before the "checking for QT", I added:
    LIBQT="$LIBQT -lfreetype -L /usr/X11R6/lib -lXft -lGL -lXt -lXi
    -lXrender -lXrandr -lXcursor -lXft -lXmu -lXext -lX11 -lSM -lICE"
    (mind you, I wasn't building Kate.)

    Good luck!


    On Thu, 03 Jul 2003 14:09:12 -0400, PM wrote:
    >
    > Hi all, I am trying to add a plugin to kate (cppsymbolviewer) but I
    > always have a the following configure error (whatever the options, e.g.
    > --with-qt-dir=/usr/lib/qt3 --with-qt-includes..., or by setting
    > QTDIR..., or by setting PATH, LD_LIBRARY_PATH...), I'd like to mention
    > that is not specific to this program (same error for various apps):
    >
    > "checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) (library
    > qt-mt) not found. Please check your installation!
    > For more details about this problem, look at the end of config.log.
    > Make sure that you have compiled Qt with thread support!"
    >
    > Does anybody have (at least) a guess on this problem?
    >
    > Regards,
    >
    > Pierre
    >
    > INFO :
    >
    > # rpm -qa | grep qt
    > libqt3-common-3.1.1-13.1mdk
    > libqt3-devel-3.1.1-13.1mdk
    > libqt3-3.1.1-13.1mdk
    >
    > # ldconfig -p | grep qt-mt
    > libqt-mt.so.3.1 (libc6) => /usr/lib/qt3/lib/libqt-mt.so.3.1
    > libqt-mt.so.3 (libc6) => /usr/lib/qt3/lib/libqt-mt.so.3
    > libqt-mt.so (libc6) => /usr/lib/qt3/lib/libqt-mt.so
    >
    > # g++ -v
    > Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/specs
    > gcc version 2.96 20000731 (Mandrake Linux 8.1 2.96-0.63.1mdk)
    --
    To reply by e-mail, remove 'nospam' from the e-mail address.

    Steve White Guest

Similar Threads

  1. [FLEX 2.0 SDK] error compile: Unable to resolve a class for factoryClass
    By Luca[M] in forum Macromedia Flex General Discussion
    Replies: 3
    Last Post: August 26th, 04:34 PM
  2. Unable to print to Win2003 shared printer from some apps
    By Simon Begin in forum Windows Server
    Replies: 1
    Last Post: June 16th, 07:00 PM
  3. Replies: 0
    Last Post: October 28th, 10:38 PM
  4. #26022 [NEW]: Unable compile "dns.c", unable to link "libphp4.so"
    By dieter at fiebelkorn dot net in forum PHP Development
    Replies: 0
    Last Post: October 28th, 10:21 PM
  5. #24606 [Opn]: Compile Error- Unable to install OpenLink IODBC Support
    By kalowsky@php.net in forum PHP Development
    Replies: 1
    Last Post: July 11th, 04:05 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139