MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
I took the spec file for qt3 3.2.x from Mandrake's distribution,
downloaded the qt3 3.3.1 tar package from a Qt mirror,
edited the spec file accordingly, in the process throwing out
all patches that Mandrake applies, built all the subpackages
and installed them. No problems arose, I am now running
on qt3 3.3.1.
Not sure - should be on one of the Mandrake CDs - if you are a member I guess -
I mirror the Mandrake cooker at home (including SRPMS) and got it from there -
if you cannot find it I may be able to cut-and-paste it here (I don't want to put my
e-mail address here - I get enough spam already).
the extraSource.sh was created with a program called shar
(as in "sh ell ar chive", try "man shar" if you want to know more,
but you don't need to)
Under mandrake you have a directory /usr/src/RPM with
several subdirectories (/usr/src/RPM/SPECS etc).
1. copy extraSources.sh to the directory /usr/src/RPM/SOURCES
2. cd to /usr/src/RPM/SOURCES
3. sh ./extraSources.sh
4. get the source for Qt and put it into the same directory
- a possible source would be:
ftp.kddlabs.co.jp/X11/QT/qt/source/qt-x11-free-3.3.1.tar.bz2
5. copy the spec file that I sent you to /usr/src/RPM/SPECS
6. cd to /usr/src/RPM/SPECS
7. rpmbuild -ba name_of_specfile
and you should be done (after an hour or so depending on your
system performance - on my AthlonXP 2100+ with 1.5 GB memory
it takes about an hour to compile.
You may get error messages that required files are missing, like MySQL
or so. Install those (you could edit the specfile to omit building database
support etc, but that would be more messy for a newbie and your final
Qt version would be less complete).
Once done you should have a bunch of *qt3*.i586.rpm files in the directory
/usr/src/RPM/RPMS/i586.
Install those with rpm -Uvh. If you get error messages about missing dependencies
install the packages for those. If you really want to force it, try
rpm -Uvh --force --nodeps *qt3* and see whether you can get away with it.
Post or mail me if you have any trouble or further questions.
paehler, I successfully upgraded it. It took me about 45 minutes. (I have Athlon64 3200+ and 1 gig of memory). Thanks a lot, I really appreciate it. I can view Khmer now, thanks to you.
Now, i just have to figure out how to create a keyboard input for Khmer... could you tell where to start?
(btw, i'm just a computer science student... but i only had two semester of c++... so that should help me a bit)
I am glad to hear that it worked out well, but I cannot help you much with the input method.
What you need is an input method, like kinput2 or uim for Asian languages.
are you refering to qt-x11-free-3.3.1.tar.bz2 or the spec file for building an rpm package?
the files discussed here are the (modified) Mandrake spec file to build an rpm package
and some additional (non-standard) files dsitributed with Mandrake.
the qt...bz2 file that I have does not contain those -keep in mind the very first post was:
update qt 3.3 in mandrake... how to? - not how to build qt3 in general.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.