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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-12-2003, 02:38 AM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 14
Rep:
|
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
|
|
|
08-12-2003, 03:47 AM
|
#2
|
Member
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799
Rep:
|
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
|
|
|
08-12-2003, 11:23 AM
|
#3
|
LQ Newbie
Registered: Aug 2003
Posts: 14
Original Poster
Rep:
|
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
|
|
|
08-13-2003, 04:26 AM
|
#4
|
Member
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799
Rep:
|
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
|
|
|
08-14-2003, 01:29 AM
|
#5
|
LQ Newbie
Registered: Aug 2003
Posts: 14
Original Poster
Rep:
|
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..
|
|
|
08-14-2003, 01:36 AM
|
#6
|
LQ Newbie
Registered: Aug 2003
Posts: 14
Original Poster
Rep:
|
and one more thing wherever it is written QTDIR should i type the location where qt is installed ?
|
|
|
08-14-2003, 02:32 AM
|
#7
|
Member
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 10:13 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|