LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-29-2003, 07:10 PM   #1
ciphercam
LQ Newbie
 
Registered: Jun 2003
Posts: 9

Rep: Reputation: 0
Angry qt header problems... PLEASE HELP


Ok here's the deal... Whenever I try to run ./configure with a program that requires QT, in this case kdegiFT, I get all these parse errors in the config.log file and the configure script tells me:

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!


I've got v. 3.12 of pacakges qt, libqt3, libqt3-devel, and libqt3-common installed on my mandrake 9.1 system. I don't know what the deal is... I've included the relevant part from the kdegiFT config.log file:

tried NO
configure:22387: rm -rf SunWS_cache; g++ -o conftest -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -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
<command line>: warning: "system" re-asserted
<command line>: warning: "cpu" re-asserted
<command line>: warning: "machine" re-asserted
In file included from /usr/lib/qt3/include/bits/stl_list.h:64,
from /usr/lib/qt3/include/list:71,
from /usr/lib/qt3/include/qvaluelist.h:49,
from /usr/lib/qt3/include/qmap.h:46,
from /usr/lib/qt3/include/qmime.h:43,
from /usr/lib/qt3/include/qevent.h:45,
from /usr/lib/qt3/include/qobject.h:45,
from /usr/lib/qt3/include/qwidget.h:43,
from /usr/lib/qt3/include/qdesktopwidget.h:40,
from /usr/lib/qt3/include/qapplication.h:42,
from conftest.cc:3:
/usr/lib/qt3/include/bits/concept_check.h:64:1: warning: multi-line comment
In file included from /usr/lib/qt3/include/bits/stl_multimap.h:64,
from /usr/lib/qt3/include/map:68,
from /usr/lib/qt3/include/qmap.h:51,
from /usr/lib/qt3/include/qmime.h:43,
from /usr/lib/qt3/include/qevent.h:45,
from /usr/lib/qt3/include/qobject.h:45,
from /usr/lib/qt3/include/qwidget.h:43,
from /usr/lib/qt3/include/qdesktopwidget.h:40,
from /usr/lib/qt3/include/qapplication.h:42,
from conftest.cc:3:
/usr/lib/qt3/include/bits/concept_check.h:64:1: warning: multi-line comment
cpp0: -lang-c++: linker input file unused since linking not done
In file included from conftest.cc:2:
/usr/lib/qt3/include/qglobal.h:591: parse error before `FALSE'
/usr/lib/qt3/include/qglobal.h:591: warning: type defaults to `int' in declaration of `FALSE'
/usr/lib/qt3/include/qglobal.h:591: ISO C forbids data definition with no type or storage class
/usr/lib/qt3/include/qglobal.h:592: parse error before `TRUE'
/usr/lib/qt3/include/qglobal.h:592: warning: type defaults to `int' in declaration of `TRUE'
/usr/lib/qt3/include/qglobal.h:592: ISO C forbids data definition with no type or storage class
/usr/lib/qt3/include/qglobal.h:634: syntax error before `int'
/usr/lib/qt3/include/qglobal.h:635: warning: no previous prototype for `qRound'
/usr/lib/qt3/include/qglobal.h: In function `qRound':
/usr/lib/qt3/include/qglobal.h:636: parse error before `int'
/usr/lib/qt3/include/qglobal.h:637: warning: control reaches end of non-void function
/usr/lib/qt3/include/qglobal.h: At top level:
/usr/lib/qt3/include/qglobal.h:690: parse error before `QDataStream'
/usr/lib/qt3/include/qglobal.h:690: warning: type defaults to `int' in declaration of `QDataStream'
/usr/lib/qt3/include/qglobal.h:690: ISO C forbids data definition with no type or storage class
In file included from conftest.cc:2:
/usr/lib/qt3/include/qglobal.h:845: parse error before `qSysInfo'
/usr/lib/qt3/include/qglobal.h:845: parse error before `bool'
/usr/lib/qt3/include/qglobal.h:845: warning: type defaults to `int' in declaration of `qSysInfo'
/usr/lib/qt3/include/qglobal.h:845: ISO C forbids data definition with no type or storage class
/usr/lib/qt3/include/qglobal.h:923: parse error before `='
/usr/lib/qt3/include/qglobal.h:969: parse error before `qt_check_pointer'
/usr/lib/qt3/include/qglobal.h:969: parse error before `c'
/usr/lib/qt3/include/qglobal.h:969: warning: type defaults to `int' in declaration of `qt_check_pointer'
/usr/lib/qt3/include/qglobal.h:969: ISO C forbids data definition with no type or storage class
/usr/lib/qt3/include/qglobal.h:985: parse error before `const'
/usr/lib/qt3/include/qglobal.h:992: parse error before `='
/usr/lib/qt3/include/qglobal.h:996: conflicting types for `qObsolete'
/usr/lib/qt3/include/qglobal.h:995: previous declaration of `qObsolete'
/usr/lib/qt3/include/qglobal.h:997: conflicting types for `qObsolete'
/usr/lib/qt3/include/qglobal.h:996: previous declaration of `qObsolete'
In file included from /usr/lib/qt3/include/qwindowdefs.h:43,
from /usr/lib/qt3/include/qwidget.h:42,
from /usr/lib/qt3/include/qdesktopwidget.h:40,
from /usr/lib/qt3/include/qapplication.h:42,
from conftest.cc:3:
/usr/lib/qt3/include/qobjectdefs.h:152: parse error before `QObject'
/usr/lib/qt3/include/qobjectdefs.h:152: warning: type defaults to `int' in declaration of `QObject'
/usr/lib/qt3/include/qobjectdefs.h:152: ISO C forbids data definition with no type or storage class
/usr/lib/qt3/include/qobjectdefs.h:153: parse error before `QMetaObject'
/usr/lib/qt3/include/qobjectdefs.h:153: warning: type defaults to `int' in declaration of `QMetaObject'
/usr/lib/qt3/include/qobjectdefs.h:153: ISO C forbids data definition with no type or storage class
/usr/lib/qt3/include/qobjectdefs.h:154: parse error before `QSignal'
/usr/lib/qt3/include/qobjectdefs.h:154: warning: type defaults to `int' in declaration of `QSignal'
/usr/lib/qt3/include/qobjectdefs.h:154: ISO C forbids data definition with no type or storage class
/usr/lib/qt3/include/qobjectdefs.h:155: parse error before `QConnection'
/usr/lib/qt3/include/qobjectdefs.h:155: warning: type defaults to `int' in declaration of `QConnection'
/usr/lib/qt3/include/qobjectdefs.h:155: ISO C forbids data definition with no type or storage class
/usr/lib/qt3/include/qobjectdefs.h:156: parse error before `QEvent'
/usr/lib/qt3/include/qobjectdefs.h:156: warning: type defaults to `int' in declaration of `QEvent'
/usr/lib/qt3/include/qobjectdefs.h:156: ISO C forbids data definition with no type or storage class
/usr/lib/qt3/include/qobjectdefs.h:158: parse error before `QConnectionList'
/usr/lib/qt3/include/qobjectdefs.h:158: warning: type defaults to `int' in declaration of `QConnectionList'
/usr/lib/qt3/include/qobjectdefs.h:158: ISO C forbids data definition with no type or storage class

It goes on like that... with the parse error's and such... if you need more to help let me know and I'll forward it to you... Thanks for your help
 
Old 06-29-2003, 07:17 PM   #2
stony
Member
 
Registered: Jun 2003
Location: Europe / Germany / Saarland / Neunkirchen
Distribution: Debian (SID), Gentoo
Posts: 131

Rep: Reputation: 15
Hi,

looks like you haven't installed the header files of qt-mt ...

cu
 
Old 06-29-2003, 08:28 PM   #3
ciphercam
LQ Newbie
 
Registered: Jun 2003
Posts: 9

Original Poster
Rep: Reputation: 0
ok I'm pretty sure these are the qt-mt headers because I have libqt-mt.so listed in my /usr/lib/qt3/lib directory... Could it be my c++ compiler. I currently am using gcc 2.96... but I think mandrake 9.1 comes standard with 3.2.2
thanks
 
Old 06-30-2003, 11:15 AM   #4
stony
Member
 
Registered: Jun 2003
Location: Europe / Germany / Saarland / Neunkirchen
Distribution: Debian (SID), Gentoo
Posts: 131

Rep: Reputation: 15
Hi,

you need the header (.h) files to compile an application

cu
 
Old 06-30-2003, 01:44 PM   #5
ciphercam
LQ Newbie
 
Registered: Jun 2003
Posts: 9

Original Poster
Rep: Reputation: 0
yeah, I know. The .h files are where they should be in /usr/lib/qt3/include/... I just mentioned the .so file to make sure you knew I had qt-mt installed vs. the single threaded version... anymore help you could provide would be appreciated. Thanks
 
Old 06-30-2003, 04:47 PM   #6
ciphercam
LQ Newbie
 
Registered: Jun 2003
Posts: 9

Original Poster
Rep: Reputation: 0
also just wanted to clarify. The configure script finds the .h files ok... I can't find any point where it says file not found... it used to but I made some changes to get it to find the files before I made the original post. The problems seems to be in compiling them. I get multiple parse errors and the such which suggest a compiler problem to me, but I've tried gcc 2.96, 3.2.2, and 3.3 and all return the same errors. Once again thanks for the help.
 
Old 06-30-2003, 05:05 PM   #7
stony
Member
 
Registered: Jun 2003
Location: Europe / Germany / Saarland / Neunkirchen
Distribution: Debian (SID), Gentoo
Posts: 131

Rep: Reputation: 15
Hi,

paste the errors here

cu
 
Old 06-30-2003, 06:01 PM   #8
ciphercam
LQ Newbie
 
Registered: Jun 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Read my first post... that's an excerpt from a really long list of errors in config.log. As you can see thought if finds the header files it just can't compile them without errors... I am slowly beginning to think qt was created just to bother me.
 
  


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
header file problems in g++ crash_override_me Programming 5 10-07-2005 01:28 AM
Conectiva Header psycho_death Linux - Hardware 1 07-20-2004 12:39 AM
kernel header and ./configure problems lenseboy Linux - Wireless Networking 5 06-23-2004 12:13 PM
c header files in linux in place of header files in windows? harun_acs Programming 1 03-17-2004 02:24 AM
installing via ftp problems ..missing header.list? julianr12000 Linux - Networking 0 08-18-2003 01:26 AM


All times are GMT -5. The time now is 12:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration