LinuxQuestions.org
Visit Jeremy's Blog.
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 02-29-2008, 07:20 AM   #1
Tahir Saleh
LQ Newbie
 
Registered: Apr 2007
Posts: 19

Rep: Reputation: 0
how to know whether a software from source is compiled or not


how to know whether a software which is compiled from source is compiled properly or not .What the problem is that iam using RHEL4 which has qtdesigner-3.x.x .i have a source qt4 (couldnt find the source of qtdesigner-4) .i reckoned that qtdesigner-4 is packaged with qt4. I compiled the source but could not get any icon or anything to use qt4 and qtdesigner-3 still persist. i read somewhere that qt3 and qt4 are not compatible thats why i believe that qtdesigner-3 is still there.
B/c of the above reason i am trying to find out whether the qt4 is compiled or not.any direction will be apreciated.
regards
 
Old 02-29-2008, 08:32 AM   #2
teddyt
Member
 
Registered: Dec 2007
Location: US
Distribution: Slackware 12.1
Posts: 119

Rep: Reputation: 15
I didn't understand fully the specifics of your post, but as for the question of whether it is compiled properly, the easiest way to know is to install and run it. You should check the trolltech website for instructions on compiling and installing this software. Did you do something along the lines of the standard procedure?

./configure
make
make install

Many programs have their own specific instructions so you should follow the documentation closely.
 
Old 02-29-2008, 08:53 AM   #3
Tahir Saleh
LQ Newbie
 
Registered: Apr 2007
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by teddyt View Post
Did you do something along the lines of the standard procedure?

./configure
make
make install
yes i have read the INSTALL file and did as it said i.e
./configure
make
su -c "make install"

and setup the PATH variable
"PATH=/usr/local/Trolltech/Qt-4.2.3/bin:$PATH"
"export PATH"

along the way after "su -c "make install" it was suppose to ask for root password but it didnt asked could that be a problem as "su" command is used for switching user and iam using root as a user.

Last edited by Tahir Saleh; 02-29-2008 at 09:12 AM. Reason: it needed to add something
 
Old 02-29-2008, 10:22 AM   #4
teddyt
Member
 
Registered: Dec 2007
Location: US
Distribution: Slackware 12.1
Posts: 119

Rep: Reputation: 15
I will throw out a couple of suggestions. Do the ./configure and make steps while logged in as a user rather than root. Try removing qt3 first and then use qt4.

You would probably get responses from experts if this thread were moved to the programming forum and had "qt4 installation problem" as the subject.
 
Old 02-29-2008, 10:38 AM   #5
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 35
If you don't really need qtdesigner 4 it's definitely better to stick to 3 for now. Qt3 and 4 don't live together well if at all as far as I know. As KDE 3 is based on Qt3 and KDE 4 is based on Qt4, removing qt3 will not be the best thing to do if you don't want to remove KDE 3 as well. And, as can be heard almost everywhere, KDE 4 is not yet ready for the "end user".

For trying out Qt4 and qtdesigner 4 you could use one of the KDE 4 Live CDs.
 
Old 02-29-2008, 11:54 PM   #6
Tahir Saleh
LQ Newbie
 
Registered: Apr 2007
Posts: 19

Original Poster
Rep: Reputation: 0
Thankyou teddyt and General Failure for the help i really dont want to install KDE4 for qt4-designer. if it is true that KDE4 is needed for qt4-designer i better stick to qt3-designer. Thanks once again both os u people.
Regards
 
Old 03-01-2008, 12:01 AM   #7
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by General Failure View Post
If you don't really need qtdesigner 4 it's definitely better to stick to 3 for now. Qt3 and 4 don't live together well if at all as far as I know. As KDE 3 is based on Qt3 and KDE 4 is based on Qt4, removing qt3 will not be the best thing to do if you don't want to remove KDE 3 as well. And, as can be heard almost everywhere, KDE 4 is not yet ready for the "end user".

For trying out Qt4 and qtdesigner 4 you could use one of the KDE 4 Live CDs.
I have qt 4 and qt 3 together and they work very well
 
Old 03-01-2008, 03:25 AM   #8
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 35
Well then why don't you tell Tahir how you did it
 
Old 03-01-2008, 08:24 AM   #9
teddyt
Member
 
Registered: Dec 2007
Location: US
Distribution: Slackware 12.1
Posts: 119

Rep: Reputation: 15
Actually I just did a search for "qt4 on rhel 4" and the first result led to this site:

http://www.pramberger.at/peter/servi...ository/rhel4/

You should not need to compile it yourself.
 
Old 03-01-2008, 02:05 PM   #10
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by General Failure View Post
Well then why don't you tell Tahir how you did it
I used a slackbuild to compile qt 4, which are not usable on RHEL AFAIK
 
  


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
Compiled Apache2 from source... emptystrings Linux - Software 1 11-17-2004 03:44 PM
RPM vs compiled source Yell0w_c0w Linux - Software 2 03-09-2004 01:15 PM
source compiled debian ruwach Debian 4 02-24-2004 01:51 AM
delete compiled source killi Slackware 8 05-15-2003 10:21 AM
Uninstalling software thats been compiled from source burt Linux - Software 5 10-17-2002 04:18 PM


All times are GMT -5. The time now is 10:52 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