Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.