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

List:       kde-linux
Subject:    Re: [kde-linux] QT3 error compiling Kile 1.8b1
From:       Richard Pace <rpace () sbcglobal ! net>
Date:       2005-04-09 5:18:05
Message-ID: 200504082218.05780.rpace () sbcglobal ! net
[Download RAW message or body]

On Friday 08 April 2005 20:54, Richard Pace wrote:
> Hi:
> Let me say up front that I found some references to this error from a
> Goggle Search, but I could not find or decipher any solution.
>
> Also, this is the first "package" that I've tried to install by compiling.
> Usually I use RPMs.  However, this version of KILE is only available in
> source at the moment.   So be gentle.
>
> I'm trying to compile Kile (LaTeX/TeX editor) and the ./configure process
> (./configure --prefix=/opt/kde)  terminates with:
>
> [start of error message]
> configure:29788: error: Qt (>= Qt 3.2) (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!
> [end of error message]
>
> Here is the QT3 library installed:
> richard@linux:/usr/lib/qt3/lib> ls
> libqt-mt.la   libqt-mt.so.3      libqui.prl   libqui.so.1.0
> libqt-mt.prl  libqt-mt.so.3.3    libqui.so    libqui.so.1.0.0
> libqt-mt.so   libqt-mt.so.3.3.2  libqui.so.1
>
> Here is more of the config.log that preceeds the above error:
>
> [more log]
> configure:29562: checking for Qt
> configure: 29630: /usr/lib/qt3/include/qstyle.h
> taking that
> tried NO
> configure:29745: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor
> -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
> -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2
> -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
> -fno-common -I/usr/lib/qt3/include -I/usr/X11R6/include 
> -DQT_THREAD_SUPPORT -D_REENTRANT  -L/usr/lib/qt3/lib -L/usr/X11R6/lib    
> conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE 
> -lpthread 1>&5
> /usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
> cannot find -lqt-mt
> collect2: ld returned 1 exit status
> configure:29748: $? = 1
> configure: failed program was:
> #include "confdefs.h"
> #include <qglobal.h>
> #include <qapplication.h>
> #include <qcursor.h>
> #include <qstylefactory.h>
> #include <private/qucomextra_p.h>
> #if ! (QT_VERSION >= 0x030200 && QT_VERSION < 0x040000)
> #error 1
> #endif
>
> int main() {
>     (void)QStyleFactory::create(QString::null);
>     QCursor c(Qt::WhatsThisCursor);
>     return 0;
> }
> configure:29788: error: Qt (>= Qt 3.2) (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!
> [end of log]
>
> Seems like I need to somehow tell it to look for "libqt-mt" rather than
> "qt-mt'.  But I'm not familiar with ./configure process.
I'm replying to my own query.

I have since modified the ./configure script so that the $LIBQT variable gets 
set with "libqt-mt" .  That didn't help, but at least I'm understanding more 
of what's going on.  

conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE....

This line from the error log is what I'm focusing on now.  With the changed 
variable.  the "-lqt-mt" is now "-libqt-mt". 

Does anyone know what "conftest.cc" does?   
Richard
> -lpthread 1>&5
>
> Your suggestions are welcome!  SuSE 9.1, KDE 3.2.3
>
> Regards,
> Richard Pace
>
> ___________________________________________________
> This message is from the kde-linux mailing list.
> Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic