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.
hi everyone,
linux n00bie here and really need your help.
i have redhat 8 running, and am trying to install kile (http://soliton.science.uva.nl/~wijnhout/Kite/). I can't find any rh8 rpm's that work so i thought i would give the src a go.
so, the INSTALL file tells me to type:
./configure --prefix=path to KDE3 (/usr or /opt/kde3 generally) --with-qt-dir=path to the QT3 library (/usr/lib/qt3 generally)
which i think translates to:
./configure --prefix=/usr --with-qt-dir=/usr/lib/qt3
I get the following error message:
configure: error: Qt (>= Qt 3.0.3) (headers and libraries) not found.
so i navigated to /usr/lib/ and i find that i have qt-3.0.5.
so what is the go with that?? how can i fix this issue?
PS. i have had this same problem with other programs (which i still cannot get to work) except that needed qt-2.2.1
i have tried tacking the /lib part on but its still fails!!
so infuriating. it also tells me to looking in config.log for further details, which contains this at the bottom (sorry, large dump - i have placed ********* in front of the lines i think might be causing the issue):
configure:21147: checking for Qt
configure: 21214: /usr/lib/qt3/lib/include/qstyle.h
configure: 21214: /usr/lib/qt3/include/qstyle.h
configure: 21214: /usr/lib/qt3/qstyle.h
configure: 21214: /usr/lib/qt/include/qstyle.h
configure: 21214: /usr/lib/qt/qstyle.h
configure: 21214: /usr/local/qt/include/qstyle.h
configure: 21214: /usr/include/qt/qstyle.h
configure: 21214: /usr/include/qstyle.h
configure: 21214: /usr/X11R6/include/X11/qt/qstyle.h
configure: 21214: /usr/X11R6/include/qt/qstyle.h
configure: 21214: /usr/X11R6/include/qt2/qstyle.h
configure: 21214: /usr/X11R6/include/qstyle.h
configure:21324: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -INO -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib/qt3/lib/lib -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lresolv -lpthread 1>&5
conftest.cc:2:21: qglobal.h: No such file or directory
conftest.cc:3:26: qapplication.h: No such file or directory
conftest.cc:4:21: qcursor.h: No such file or directory
conftest.cc:5:27: qstylefactory.h: No such file or directory
conftest.cc:6:34: private/qucomextra_p.h: No such file or directory
***************conftest.cc:7:8: warning: "QT_VERSION" is not defined
conftest.cc:8:2: #error 1
conftest.cc: In function `int main()':
conftest.cc:12: `QStyleFactory' undeclared (first use this function)
conftest.cc:12: (Each undeclared identifier is reported only once for each
function it appears in.)
conftest.cc:12: parse error before `::' token
conftest.cc:13: `QCursor' undeclared (first use this function)
configure:21327: $? = 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 >= 303)
#error 1
what do you make of this???
can i simply set a variable called QT_VERSION to something like 305 to match my version number??
how do i do this??
You have 5 different versions of qt installed? Or are some symlinks? It seems to be confusing the ./configure script, because it's finding multiple copies of the same file. I would remove all the older versions of qt. It also appears that you don't have the headers (there is no /include subdirectory in qt-3.05)
try /usr/lib/qt-3.0.5/lib if you haven't already
try QTDIR=/usr/lib/qt-3.0.5/ ; export $QTDIR
try QT_VERSION=305; export $QT_VERSION
May do nothing, who knows? Other than that, I don't know what to tell you.
try /usr/lib/qt-3.0.5/lib if you haven't already
try QTDIR=/usr/lib/qt-3.0.5/ ; export $QTDIR
try QT_VERSION=305; export $QT_VERSION
/usr/lib/qt-3.0.5/lib --- tried that already, but thanks
ok so i assume that i am typing that QTDIR and export stuff in the shell. i also noticed (after i typed 'export' on its own) that you need a " " around the number, for it to be recognised.
anyways, thanks for you help but that still did not work.
perhaps if you can't provide further help on this problem, what about this:
do you know of any other LaTeX editors for linux that can output PDF from LaTeX?? (or editors that recognise the syntax and provide highlight and coloring)
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
i don't like the way compiling of compiling qt. you have
to have environment variables and crap. then when you
want to install it, it's a little hard to know what all files
you need to put in your qtdir, or if you installed it in place,
what stuff you can delete. it's not that hard, i just don't like
it. if i did it more than once a couple of years, i would have
a script for it. oh well, just nagging.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.