LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2005, 03:19 PM   #1
bogdanf25
LQ Newbie
 
Registered: Mar 2005
Location: Romania
Distribution: Fedora Core 3
Posts: 9

Rep: Reputation: 0
error: Qt (>= Qt 3.0.2) (library qt-mt) not found


When trying to install SuperKaramba, at ./configure, i got this error:

checking for Qt... configure: error: Qt (>= Qt 3.0.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!

I tried also
./configure --with-qt-dir=/usr/lib/qt-3.3 --with-qt-includes=/usr/lib/qt-3.3/include/ --with-qt-libraries=/usr/lib/qt-3.3/lib/
but the result is the same.

What should i do?
 
Old 03-30-2005, 03:29 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
what is the output of:

Code:
echo $QTDIR
 
Old 03-30-2005, 03:32 PM   #3
bogdanf25
LQ Newbie
 
Registered: Mar 2005
Location: Romania
Distribution: Fedora Core 3
Posts: 9

Original Poster
Rep: Reputation: 0
This is the output:
/usr/lib/qt-3.3
 
Old 03-30-2005, 03:45 PM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
check the config.log and see what it's trying to do. usually with qt, the most important thing is making sure QTDIR is set and the libraries have been cached ( entered in /etc/ld.so.conf and ldconfig ). is this the qt that came with your system? If you built it yourself did you enable thread support?
 
Old 03-30-2005, 03:58 PM   #5
bogdanf25
LQ Newbie
 
Registered: Mar 2005
Location: Romania
Distribution: Fedora Core 3
Posts: 9

Original Poster
Rep: Reputation: 0
this is the qt that came with the system.
i checked the config.log but it didn't helped me much...the last line was:
configure: exit 1
and above where some includes...no clue about what i might do to make it work.

/etc/ld.so.conf contains these 3 lines:
include ld.so.conf.d/*.conf
/usr/X11R6/lib
/usr/lib/qt-3.3/lib
 
Old 04-01-2005, 04:54 PM   #6
p0z3r
Member
 
Registered: Apr 2004
Posts: 88

Rep: Reputation: 15
Do you have the Qt devel package installed? (ie the development headers)
 
Old 04-02-2005, 04:00 AM   #7
bogdanf25
LQ Newbie
 
Registered: Mar 2005
Location: Romania
Distribution: Fedora Core 3
Posts: 9

Original Poster
Rep: Reputation: 0
yes i have qt-devel-3.3.3-8
 
Old 04-02-2005, 05:58 AM   #8
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
post the config.log from about 20 lines or so above the error line you indicated in your previous post down to the error line itself.
 
Old 04-02-2005, 06:18 AM   #9
bogdanf25
LQ Newbie
 
Registered: Mar 2005
Location: Romania
Distribution: Fedora Core 3
Posts: 9

Original Poster
Rep: Reputation: 0
configure:9424: result: no
configure:9427: checking for libjpeg
configure:9470: gcc -o conftest -O2 -I/usr/X11R6/include -D_REENTRANT conftest.c -L/usr/X11R6/lib -ljpeg -lm >&5
configure:9473: $? = 0
configure:9476: test -s conftest
configure:9479: $? = 0
configure:9495: result: -ljpeg
configure: 9514: /usr/include/jpeglib.h
taking that
configure:9667: checking for Qt
configure: 9729: /usr/lib/qt-3.3/include//qstyle.h
taking that
configure:9834: rm -rf SunWS_cache; g++ -o conftest -O2 -fno-exceptions -fno-check-new -I/usr/lib/qt-3.3/include/ -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib/qt-3.3/lib/ -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lresolv -lpthread 1>&5
/usr/lib/libfontconfig.so.1: undefined reference to `FT_Get_BDF_Property'
collect2: ld returned 1 exit status
configure:9837: $? = 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 >= 302)
#error 1
#endif

int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
configure:9876: error: Qt (>= Qt 3.0.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!

## ----------------- ##
## Cache variables. ##
## ----------------- ##
//there is a list of variables but i think only a line is related with the error

ac_cv_have_qt=have_qt=no

//shouldn't this be "ac_cv_have_qt=have_qt=yes" ?


## ------------ ##
## confdefs.h. ##
## ------------ ##

#define PACKAGE "qnx"
#define VERSION "0.2"
#ifdef __cplusplus
#include <stdlib.h>
#endif
#define HAVE_TEMPLATE_REPOSITORY 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CRYPT 1
#define ksize_t socklen_t
#define HAVE_RES_INIT 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define SIZEOF_CHAR_P 4
#define SIZEOF_CHAR 1
#define HAVE_LIBZ 1
#define HAVE_LIBPNG 1
#define HAVE_LIBJPEG 1
#define HAVE_LIBPTHREAD 1


configure: exit 1
 
Old 04-02-2005, 06:25 AM   #10
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Quote:
Originally posted by bogdanf25

/usr/lib/libfontconfig.so.1: undefined reference to `FT_Get_BDF_Property'





configure: exit 1
looks like you have a freetype problem, make sure you have it
 
Old 04-02-2005, 06:29 AM   #11
bogdanf25
LQ Newbie
 
Registered: Mar 2005
Location: Romania
Distribution: Fedora Core 3
Posts: 9

Original Poster
Rep: Reputation: 0
i have freetype-2.1.9-1
 
Old 04-02-2005, 06:49 AM   #12
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
there is a problem with your freetype, looks like fontconfig was compiled against a different version than the one you have installed.

by the way, can't you get superkaramba through yum?
 
Old 04-02-2005, 06:56 AM   #13
bogdanf25
LQ Newbie
 
Registered: Mar 2005
Location: Romania
Distribution: Fedora Core 3
Posts: 9

Original Poster
Rep: Reputation: 0
i've just installed superkaramba from a rpm package and didn't get any error
 
Old 04-02-2005, 07:04 AM   #14
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
so it's working?
 
Old 04-02-2005, 07:08 AM   #15
bogdanf25
LQ Newbie
 
Registered: Mar 2005
Location: Romania
Distribution: Fedora Core 3
Posts: 9

Original Poster
Rep: Reputation: 0
yes now its working. 10x
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Make-Error: Vorbis Tools 1.0.1 - Library not found froedi Linux - Software 7 11-02-2009 03:04 AM
Webalizer: configure: error: png library not found... please install png. mikeshn Linux - Software 5 01-10-2005 03:28 PM
Getting erro - Library files for "libkcm_k3bsetup2.la" not found in paths error. rsreeni Linux - Newbie 0 08-22-2004 08:07 PM
knoda configure error re: qt-mt library not found tr6boy Linux - Software 0 07-12-2004 11:21 PM
configure: error: Qt (>= Qt 3.1 (20021021)) (library qt-mt) not found Mugatu Linux - Software 14 12-15-2003 05:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration