LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-01-2011, 05:03 AM   #16
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408

divya s
If you installed one version ( assuming Qt4.7) from the source then YOU MUST use the code in the source folder to remove it
you ran
Code:
su 
make install
in the build folder so NOW you need to uninstall it
Code:
su
make uninstall
in the SAME folder you ran
------
configure
make
make install
------

THEN
use yum to find it
Code:
su -
yum search qt 
----there will be two of the about 20 that you will want to install ---

yum install qt qt-devel
and that will install qt-4.7.1-17
 
Old 04-01-2011, 08:05 AM   #17
divya s
Member
 
Registered: Mar 2011
Posts: 40

Original Poster
Rep: Reputation: 0
thank you

thank you so much
 
Old 04-01-2011, 08:10 AM   #18
divya s
Member
 
Registered: Mar 2011
Posts: 40

Original Poster
Rep: Reputation: 0
thank you

thank you so much

---------- Post added 04-01-11 at 05:41 PM ----------

thank you
 
Old 04-03-2011, 05:25 PM   #19
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
You really shouldn't install software yourself if there's a package in the repository.

Just run yum install qt.
 
Old 04-04-2011, 02:23 AM   #20
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Divya s -

A couple of tips:
Code:
1. To remove a package you've installed from scratch:
   a) "cd" to build directory
   b) (as "root"): make uninstall

2. To remove a package you've installed with Yum:
   yum remove PACKAGE-NAME

3. To see what packages are installed:
   rm -qa|grep -i PACKAGE-NAME

4. To (re)install a package
   yum install PACKAGE-NAME
Here's a good "yum cheat sheet" listing all commands, and example usage:
http://yum.baseurl.org/wiki/YumCommands


'Hope that helps .. PSM
 
1 members found this post helpful.
Old 04-05-2011, 12:40 AM   #21
divya s
Member
 
Registered: Mar 2011
Posts: 40

Original Poster
Rep: Reputation: 0
installing qt

I was installing qt. While doing ./configure i interrupted it and closed. Now if i try to do configure it gives me a error saying ./configure: line 75: .qmake.vars: Permission denied. What should i do know.
 
Old 04-05-2011, 02:05 AM   #22
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
continued from the fedoraforun thread
http://forums.fedoraforum.org/showthread.php?p=1458438

there is mostlikely a file that needs to be overwrote
and you do not have permission to write to the folder

also why build QT4 ?
you will NEED to make a rpm out of the source to tell yum NOT to install the fedora qt rpm as a dependancy to some program
for that you will need to install "rpm-build " from the repos and / or blacklist qt from instilling with yum

it is normally very very unwise to build system files unless one has a lot of experience
there are a mess /a tone/a lot/ a bunch of fedora programs that need the VERSION of qt in the fedora repos
it is strongly advised that you use THAT rpm .
 
Old 04-05-2011, 03:22 AM   #23
divya s
Member
 
Registered: Mar 2011
Posts: 40

Original Poster
Rep: Reputation: 0
build problem

I configured qt using ./configure and then it asked me to type gmake i did it. At the end it showed me two errors.
/usr/bin/ld: cannot find -lXrender
collect2: ld returned 1 exit status
gmake[1]: *** [../../../../lib/libQtWebKit.so.4.7.2] Error 1
gmake[1]: Leaving directory `/home/user/software/qt-everywhere-opensource-src-4.7.2/src/3rdparty/webkit/WebCore'
gmake: *** [sub-webkit-make_default-ordered] Error 2


then i installed libXrender-devel.i386

now what should i do?
if i give gmake it shows target not specified nothing to do should i start from configure again... please help me....


thanks in advance.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Open Office will not install on factory install of Ubuntu 8.04 LTS on Dell Mini 10 trekgirl Linux - Laptop and Netbook 6 08-02-2009 12:37 AM
Uncertain how to configure/install packages & compiler before install VMware on FC8. Azazwa Linux - Newbie 1 03-28-2009 08:27 PM
Ubuntu as frugal install, iso install, img install? impossible? nooby Ubuntu 15 08-22-2008 06:49 AM
apt-get install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 06:16 PM


All times are GMT -5. The time now is 02:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration