LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-12-2003, 03:38 AM   #1
networkdevo
LQ Newbie
 
Registered: Aug 2003
Posts: 14

Rep: Reputation: 0
Unhappy Profile Creation pl help i need it very urgently !!!


Hi,
I recently compiled qt 3.2 on my Red Hat 8.0 with thread support i did everything according to instructions it also said that qt is installed but i dont know how to create a profile (which is given in the instruction manual) anybody there to help?????????

P.S It tells me to create a .profile file in root
 
Old 08-12-2003, 04:47 AM   #2
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
I'm afraid I don't have any suggestions about your problem. But I would suggest that you not start a second thread with the same question, especially after less than two hours. If someone can help you, they will. If your question goes unanswered, you can post a reply to your original thread to move it up the list. It's called bumping the thread, but even then you should wait a bit longer.

Just my two cents worth.

Enjoy!
--- Cerbere
 
Old 08-12-2003, 12:23 PM   #3
networkdevo
LQ Newbie
 
Registered: Aug 2003
Posts: 14

Original Poster
Rep: Reputation: 0
Hi,
Lemme explain my problem in detail i compiled qt which i downloaded from trolltech the free version of it downloaded it and compiled it, it compiled successfully and said it was installed then it told me to create a .profile file in root which some lines were given to be written as follows:


QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
thn the library path
then export
i dunno wat is the use of this it says qt is not compiled properly
when i try to update my kde library any one know of any precompiled version of qt so that i can install

thanks...
Raj
P.S. I run RH 8.0
 
Old 08-13-2003, 05:26 AM   #4
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
That means that you need to create a file in the directory /root named .profile. Chances are good that the file is already there, but files that begin with a period are 'hidden'.

Since it is asking you to creat this file in /root, I'm assuming that you are logged in as root. What you need to do is open a console or terminal window, then type:

cd

which will take you to your home directory (and if you're logged in as root, this will be /root). Then type

ls -a

The -a option means that you will get a listing of all the files in that directory (including those hidden because they start with a period). Look to see if you have a file named .profile, if you don't see this file then type:

touch .profile

This will create the .profile file, but it will be empty. So you must edit it.

If the listing does show a .profile file, you still must edit it to add the lines that qt needs. To edit it, you should type:

vi .profile

This will launch the basic file editor. If .profile already existed, then you will see whatever is already in it, so use the arrow keys to move to the bottom of the file (which may fill more than one screenful) and hit the 'i' key. If you just created the file, it will be empty, so just hit the 'i' key. This will put you in 'insert' mode so you can start to type in the lines that the instructions say you need. So type:

QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
export QTDIR
export PATH
export MANPATH

After you type these lines, hit the 'escape' key to get out of insert mode. (If you made any mistakes while typing, you can use the arrow keys to move the cursor to the mistake and hit the 'x' key to delete the character. you can use 'i' and 'escape' keys to enter and escape 'insert' mode.) When you are finished, hit ':wq' then 'enter' to 'w'rite the file and 'q'uit the editor.

I'm not sure what is meant by 'then the library path', perhaps you could give some more info?

Hope this helps.

Enjoy!
--- Cerbere
 
Old 08-14-2003, 02:29 AM   #5
networkdevo
LQ Newbie
 
Registered: Aug 2003
Posts: 14

Original Poster
Rep: Reputation: 0
IT IS SAID LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH

i typed all this and qt still doesnt work!!! version is still 3.0.0 or 0.1 i need qt 3.2.0 it says it is not compiled hv any idea where i can get the precompiled version?.

Thanks..
 
Old 08-14-2003, 02:36 AM   #6
networkdevo
LQ Newbie
 
Registered: Aug 2003
Posts: 14

Original Poster
Rep: Reputation: 0
and one more thing wherever it is written QTDIR should i type the location where qt is installed ?
 
Old 08-14-2003, 03:32 AM   #7
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Quote:
Originally posted by networkdevo
i need qt 3.2.0 it says it is not compiled hv any idea where i can get the precompiled version?.
Not sure, but you can try http://www.rpmfind.com (I think that's the url, but I don't use redhat, so you may have to search) or try the site where you got whatever program it is that you need qt for. I would guess that's KDE. Even if it isn't, you might try the KDE site http://www.kde.org since it relies on the qt libs. If that doesn't work, try google!

Quote:
Originally posted by networkdevo
and one more thing wherever it is written QTDIR should i type the location where qt is installed ?
No, the first line you added to .profile will tell it that

QTDIR=/usr/local/qt

If this isn't where it is installed, then correct it. But everywhere after that, when it says $QTDIR, linux will interpret this as /usr/local/qt (or whatever you may correct it as)

Enjoy!
--- Cerbere
 
  


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
Help me Urgently cherukumilli Linux - General 3 12-29-2004 01:17 PM
Somebody urgently help me !!! apache *BSD 2 07-21-2004 08:01 AM
Help urgently PLEASE???? timmy_laf Linux - General 5 01-08-2004 05:55 AM
Need Help Urgently andrewt Linux - Software 4 08-07-2003 03:57 PM
Need help urgently Thomas.P Linux - Newbie 2 05-30-2001 02:43 PM


All times are GMT -5. The time now is 02:21 AM.

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