LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   QT install problem (https://www.linuxquestions.org/questions/mandriva-30/qt-install-problem-257994/)

totti10 11-22-2004 12:00 PM

QT install problem
 
Whenever I compile from source,I get error message said libqt-mt is missing.
But I have qt3.3 installed.
Where can I get libqt-mt? Isnt it contained in qt?
Help me with this anoying thing plz.

CragStar 11-22-2004 04:31 PM

You may have QT installed but will probably find that you will need the development libraries if you are compiling from source. Have a look in package manager for the rpm with libqt as it's name ans install that if you haven't already. Other than that you may find that the QT configure script isn't looking in the right place.

Are you using Mandrake?

jailbait 11-22-2004 04:39 PM

"Whenever I compile from source,I get error message said libqt-mt is missing.
But I have qt3.3 installed."

You are probably missing libqt3-mt-dev.

"Where can I get libqt-mt? Isnt it contained in qt?"

You should check Mandrake for a package containing libqt3-mt-dev. I am uncertain what Mandrake calls the package. It may be called qt3-devel by Mandrake.


---------------------------
Steve Stites

totti10 11-22-2004 06:28 PM

yes, i'm using MDK. I've tried to find package "libqt3-mt-dev" from lots of rpm download website but cant find. I am gona try to find qt3-devel package.

CragStar 11-22-2004 07:20 PM

Here is the output from my Package Manager for the file libqt3-3.3.3-26mdk
Code:

Name: libqt3
Version: 3.3.3-26mdk
Size: 14807 KB
Medium: main
Currently installed version: 3.3.3-23mdk

Summary: Qt3 - Shared libraries

Files:
‎/usr/lib/qt3
‎/usr/lib/qt3/lib
‎/usr/lib/qt3/lib/libdesignercore.a
‎/usr/lib/qt3/lib/libdesignercore.prl
‎/usr/lib/qt3/lib/libeditor.a
‎/usr/lib/qt3/lib/libeditor.prl
‎/usr/lib/qt3/lib/libqassistantclient.a
‎/usr/lib/qt3/lib/libqassistantclient.prl
‎/usr/lib/qt3/lib/libqt-mt.la
‎/usr/lib/qt3/lib/libqt-mt.prl
‎/usr/lib/qt3/lib/libqt-mt.so.3
‎/usr/lib/qt3/lib/libqt-mt.so.3.3
‎/usr/lib/qt3/lib/libqt-mt.so.3.3.3
‎/usr/lib/qt3/lib/libqui.prl
‎/usr/lib/qt3/lib/libqui.so.1
‎/usr/lib/qt3/lib/libqui.so.1.0
‎/usr/lib/qt3/lib/libqui.so.1.0.0
‎/usr/lib/qt3/plugins/lib/styles
‎/usr/lib/qt3/plugins/lib/styles/libqcdestyle.so
‎/usr/lib/qt3/plugins/lib/styles/libqcompactstyle.so
‎/usr/lib/qt3/plugins/lib/styles/libqmotifplusstyle.so
‎/usr/lib/qt3/plugins/lib/styles/libqmotifstyle.so
‎/usr/lib/qt3/plugins/lib/styles/libqplatinumstyle.so
‎/usr/lib/qt3/plugins/lib/styles/libqsgistyle.so

If you look, libqt-mt.so.3 is included, in the following location: /usr/lib/qt3/lib. If you have that file then I guess you have installed the correct RPM.

CragStar 11-22-2004 07:25 PM

My apologies, it looks like you will need to install libqt3-devel-3.3.3-26mdk.rpm as well. This one includes a symlink (I presume) to the libqt-mt.so file which is probably what you need. Looks like a another user is having a similar problem in this thread :o

opjose 11-22-2004 08:34 PM

Doing things the hard way...


The easy way....

Set your URPMI sources:

See: http://www.zebulon.org.uk/urpmi_en.html

Then once done... merely

urpmi libqt-dev (or whatever)

and let urpmi work it's magic.

totti10 11-22-2004 11:12 PM

thx for replies. I just checked what I installed for qt:
qtc-3.2.3-10mdk
libqt3-devel-3.3.3-26mdk
qt-ODBC-3.3.3-0.2
qt-PostgreSQL-3.3.3-0.2
libqt3-3.3.3-26mdk
qt3-common-3.3.3-26mdk
qt-3.3.3-0.2
libqtc1-3.2.3-10mdk
I do have libqt3-devel installed but the problem still happens.
Help, I have almost installed all qt packages lol.:(

opjose 11-23-2004 03:31 AM

urpmi the original src.rpm file.

urpmi will look for and install whatever is missing.

totti10 11-23-2004 05:13 PM

Quote:

Originally posted by opjose
urpmi the original src.rpm file.

urpmi will look for and install whatever is missing.

]
I hate urpmi bc I have to configure everything in console so I am using rpmdrake. Every those packages I installed was using rpmdrake. Arg,may be it is time to get urpmi to work...but I thought they are doing the exactly same thing but how can my rpmdrake installed a rpm of which something is missing?

CragStar 11-23-2004 07:20 PM

What is the exact ./configure error message you get with regards to the libqt-mt library? And can you confirm that the library files exist by using your favourite file manager (konqueror, konsole, nautilus)? If you definately have the packages installed then the ./configure script can't locate them and you may have to set it the path to them manually.

I personally don't like urpmi, but it really isn't that hard to use from the command line. It's a few commands and that's all, but at the end of the day it's up to you. :)

opjose 11-24-2004 12:10 AM

Quote:

Originally posted by totti10
]
I hate urpmi bc I have to configure everything in console so I am using rpmdrake. Every those packages I installed was using rpmdrake. Arg,may be it is time to get urpmi to work...but I thought they are doing the exactly same thing but how can my rpmdrake installed a rpm of which something is missing?

rpmdrake will not install missing modules until you set up your urpmi sources.

See: http://www.zebulon.org.uk/urpmi_en.html

4 minutes to set up! What's the problem doing so?

rpmdrake does not use the src.rpm files directly, so it's easier to use the command line

urpmi nameofpackage.src.rpm to automatically pick up any required developement libs.

CragStar 11-24-2004 08:38 AM

Quote:

Originally posted by opjose
rpmdrake will not install missing modules until you set up your urpmi sources.
He should already have one source as I thought that when installing Mandy it automatically chooses your installation media as an urpmi source? I agree that if your using an installation CD/DVD then you probably wont have all the relevent rpms (as oposed to the online data stores), but I'm almost certain that the ones needed here are on CD1 or the DVD.


All times are GMT -5. The time now is 08:22 PM.