LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-20-2004, 11:09 PM   #1
AMD64
LQ Newbie
 
Registered: Feb 2004
Location: Long Beach, CA
Distribution: Slackware 9.1 Mandrake 10
Posts: 22

Rep: Reputation: 15
update qt 3.3 in mandrake... how to?


To be able to display my language (khmer) under KDE, i need qt 3.3... have anyone install qt 3.3 in mandrake? How u did it?

Last edited by AMD64; 03-21-2004 at 02:43 AM.
 
Old 03-21-2004, 05:13 AM   #2
paehler
LQ Newbie
 
Registered: Mar 2004
Location: Japan
Distribution: Mandrake
Posts: 11

Rep: Reputation: 0
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.
 
Old 03-21-2004, 05:26 PM   #3
AMD64
LQ Newbie
 
Registered: Feb 2004
Location: Long Beach, CA
Distribution: Slackware 9.1 Mandrake 10
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by paehler
I took the spec file for qt3 3.2.x from Mandrake's distribution...
is the file on one of the mandrake cds? which one?

thanks
 
Old 03-22-2004, 03:06 AM   #4
paehler
LQ Newbie
 
Registered: Mar 2004
Location: Japan
Distribution: Mandrake
Posts: 11

Rep: Reputation: 0
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).
 
Old 03-22-2004, 10:19 AM   #5
AMD64
LQ Newbie
 
Registered: Feb 2004
Location: Long Beach, CA
Distribution: Slackware 9.1 Mandrake 10
Posts: 22

Original Poster
Rep: Reputation: 15
paehler, could you email me the file, please. Thanks. here's my email: rrrith at yahoo.com
 
Old 03-23-2004, 10:13 AM   #6
AMD64
LQ Newbie
 
Registered: Feb 2004
Location: Long Beach, CA
Distribution: Slackware 9.1 Mandrake 10
Posts: 22

Original Poster
Rep: Reputation: 15
thanks, paehler. I got the files. but i dont know how to do it...(i'm a newbie).

I put the extraSource.sh in /usr/src/RPM/SOURCES, then i sh it.
then what do i do what from?
 
Old 03-23-2004, 07:23 PM   #7
paehler
LQ Newbie
 
Registered: Mar 2004
Location: Japan
Distribution: Mandrake
Posts: 11

Rep: Reputation: 0
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.
 
Old 03-23-2004, 09:50 PM   #8
AMD64
LQ Newbie
 
Registered: Feb 2004
Location: Long Beach, CA
Distribution: Slackware 9.1 Mandrake 10
Posts: 22

Original Poster
Rep: Reputation: 15
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)
 
Old 03-23-2004, 10:54 PM   #9
paehler
LQ Newbie
 
Registered: Mar 2004
Location: Japan
Distribution: Mandrake
Posts: 11

Rep: Reputation: 0
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.
 
Old 03-24-2004, 04:34 AM   #10
stuppie
LQ Newbie
 
Registered: Feb 2004
Location: netherlands
Distribution: Mandrake 9.2.1
Posts: 2

Rep: Reputation: 0
qt3

get the most recent GPL version from www.trolltech.com

In the install file you get all the info you need to install
 
Old 03-25-2004, 04:29 AM   #11
Cybers19
Member
 
Registered: May 2003
Location: Germany - Zöbingen
Distribution: Suse 9.3 & Win XP SP2
Posts: 69

Rep: Reputation: 15
Hi!

paehler can you send me thies files to? i need qt 3.3.1 to. email: cybers19 at gmx.net

THX
 
Old 03-25-2004, 08:45 AM   #12
stuppie
LQ Newbie
 
Registered: Feb 2004
Location: netherlands
Distribution: Mandrake 9.2.1
Posts: 2

Rep: Reputation: 0
Like I stated before:

you can make the effort yourself by downloading them from trolltech
 
Old 03-25-2004, 09:12 AM   #13
paehler
LQ Newbie
 
Registered: Mar 2004
Location: Japan
Distribution: Mandrake
Posts: 11

Rep: Reputation: 0
to stuppie:

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.
 
Old 03-30-2004, 11:25 AM   #14
Cybers19
Member
 
Registered: May 2003
Location: Germany - Zöbingen
Distribution: Suse 9.3 & Win XP SP2
Posts: 69

Rep: Reputation: 15
hi paehler

thx for the files! the compilation finished successfully.
 
Old 04-18-2004, 02:12 PM   #15
manux
LQ Newbie
 
Registered: Apr 2004
Location: Kraków, Poland
Distribution: Mandrake
Posts: 1

Rep: Reputation: 0
Hi,

May ask for qt3.3 spec file. Could you please send it to me through email mar_10 (at) interia.pl . Thenks in advance.


cheers
Marcin
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake 9.2b2: Unable to find / launch Mandrake Control Center blafield Mandriva 2 06-12-2009 03:38 AM
dual booting fedora core 2 and mandrake: can't boot mandrake any more mgyamada Fedora 1 10-04-2004 07:39 AM
Completely new to Linux, Downloaded Mandrake 10 and want to run both XP and Mandrake Scandal Mandriva 4 06-28-2004 10:03 PM
Upgrading Mandrake 9.1RC2 to Mandrake 9.2 final Without ISOs johnleemk Mandriva 1 12-27-2003 12:17 AM
Uninstalled Mandrake, Installed Slackware, still getting mandrake boot screen powerismine Slackware 4 11-22-2002 06:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration