Why isnt my PATH variable working?

Associate
Joined
26 Jun 2003
Posts
1,140
Location
North West
I have just installed a program here:

/usr/local/Trolltech/Qt-4.1.0/

and I need to set the environment variables in the /usr/local/Trolltech/Qt-4.1.0/bin directory which containts "qmake". I want to run this from any location on the computer.

I set the variable by:

PATH=/usr/local/Trolltech/Qt-4.1.1/bin:$PATH
export PATH

Then I type in qmake and it comes up with

bash: qmake: command not found

Anyone know why this isnt working???

(It was working the other day tho!)

Thx
 
We spotted ikapod. Ill see if thats right when I boot into linux

qmake is in the directory and if i type "qmake" in the directory. It works fine...
 
Which file/files do I have to edit to export PATH's automatically on boot/login?

I can never remember....

Thx

btw Ikapod was right! Thx a lot.
 
Last edited:
Back
Top Bottom