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.
Looks like you've built QT from source, so you should be OK (I was thinking you might have used a binary package, such as an RPM, in which case, the libraries tend to be distributed separately).
Where is QT installed? It's possible it isn't in your PATH, so can't be found. You can check your PATH variable by issuing -
Code:
echo $PATH
Then have a look and see where the QT libraries are installed. If they're not in one of the locations shown in your PATH, try adding the location to your PATH variable -
How did you build qt? did you enable thread support? where did you install it? did you set up your environment correctly after installation per the instructions? have the libraries been updated in the system cache?
Sorry for the delay in response, work's kept me busy.
I built QT using the configure script, then running make, then make install. I do not know how to configure it for thread support, I'm a linux newbie trying to hack my way through the foreign world as best as I can. I downloaded the Qt-Devel 3.3.3-8 RPM from the Web but was told a new version of the package was already installed. Where do I go from here?
* Before you do anything below, note that you will have to remove the two qt installations on your system. Unless you know how to manipulate the environment, two qt installations in parallel will not work. The first thing you should try before the instructions below is to remove the qt's from your system and reinstall the rpm's from your install cd's ( both qt-xxx and qt-devel-xxx).
*
I mean how did you configure it ( exaclty what did you pass to configure). Some packages ( qt being one of the notorious ones) need to be built with certain options, they will still compile and install without these options but will be more or less worthless. Here is how I build my qt builds ( note that this is just how I do it, others may have differing opinions):
note that if you plan on using qt to program with, you will want to do "make" instead of "make sub-tools". make sub-tools builds just the library ( which will shorten the build time, since all of the examples will not be built).
Finally, you need to add the qt lib directory (/opt/qt3/lib in the above example) to /etc/ld.so.conf and run ( as root ) ldconfig. The last thing, which is required, is to set the environmental variable QTDIR to point to the root of the qt installation ( /opt/qt3 in the above example). you can put this in your .bashrc in your home directory, or for system-wide put it in /etc/profile ( just add the line "export QTDIR=/opt/qt3" in the file). when you are done, either log out and back in or "source /etc/profile" to use the new changes. the command "echo $QTDIR" should output the line /opt/qt3 in the console.
The above sounds like something good to try, when I said I ran the configre script, I mean i only did ./configure with no options.
But before I do the above...I want to make sure that qt is completly purged from the system first. I ran a yum remove qt command which got rid of some stuff, but I don't know enough about it to ensure it is completly gone, esp since you say there are 2 installations of it on this system. Is there a way to list all packages installed on a system? I personally don't like the Add/Remove Program control panel because I can never find what I'm looking for in it. What's the best way to approach removing qt completly? I did not install it from CD -- anything I did with it was from the web.
the reason I said you had two installations is because you installed one from source, and when you tried to install an rpm later it told you a newer version was already installed ( rpm does not know about source installs, and has no way of knowing that you indeed did install qt-3.3.4 from source so you must have had another rpm installed).
for rpm's:
Code:
rpm -qa <package name>
will search for and list a package if it is there. "rpm -e <package name>" will remove an rpm package.
for you source qt installation, that one definitely must be removed ( it has no thread support ( see the ./configure line in the above post), without thread support kde or any kde application cannot use it). If you still have the source directory around, cd back into it and do "make uninstall" to uninstall it.
If you still have your install cd's/dvd laying around I'd recommend installing the qt and qt-devel off of those before compiling it yourself ( either way is fine, it'll just save you alot of time), or use yum to get and install it, just make sure the rpms are FC3 rpms.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.