bashrc : setting path
Hello everybody..
I am using Fedora10 as my desktop environment for developing Qt programs. I have made the installation of Qt4 in my Fedora/macBookPro. It also got a first compiling and running a simple program. The point is the compiler still needs to be informed every time where the bin is located, such as that: $ /home/threader/kinetic/bin/qmake -project That would be nice instead simply to type 'qmake - project' directly to compile every time. So, any hints on how to address the path automatically to bashrc? I have tried the following, but it still didn't work: # script #-----------------------------------------------------------# # included in # !/etc/bashrc or /home/threader/.bash_profile # config to Qt compiler # LD_LIBRARY_PATH para o diretorio 'lib' onde vc instalou LD_LIBRARY_PATH="$PATH:/home/threader/kinetic/bin" # it is PKG_CONFIG_PATH to lib/pkgconfig PKG_CONFIG_PATH="$PATH:/home/threader/kinetic/lib/pkgconfig" export PKG_CONFIG_PATH #-----------------------------------------------------------# # also included in # !/etc/ld.so.conf include ld.so.conf.d/*.conf /home/threader/kinetic/lib #-----------------------------------------------------------# # also included # !/usr/local/lib/pkgconfig PKG_CONFIG_PATH="$PATH:/home/threader/kinetic/lib/pkgconfig" export PKG_CONFIG_PATH #-----------------------------------------------------------# What can be still wrong or missing here? Any suggestions that work would be mostly appreciated. Cheers.. |
In the ~/.bash_profile add
Code:
PATH=~/kinetic/bin:$PATH |
Thnx a lot! you saved my day. It worked.
|
In the future please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. If you do post a thread in a wrong forum just ask a mod to move it.
|
All times are GMT -5. The time now is 07:24 PM. |