S
Shambhavi
Guest
Hi,
I am trying to install Qt3.3.6 on my system. This requires a few variables to be set.
Now the install manual instructs to create a .profile file (since my
shell is bash) and set the environment variables there.
I created the .profile in /Users/xyz as follows:
QTDIR=/Developer/qt
PATH=$QTDIR/binPATH
DYLD_LIBRARY_PATH=$QTDIR/libDYLD_LIBRARY_PATH
export QTDIR PATH DYLD_LIBRARY_PATH
I saved the .profile file and did a reboot. But the env variables have
not been set?
What is going wrong?
In the terminal $QTDIR is empty and the env command gives the following output:
TERM_PROGRAM=Apple_Terminal
TERM=xterm-color
SHELL=/bin/bash
TERM_PROGRAM_VERSION=133
USER=xyz
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PATH=/bin:/sbin:/usr/bin:/usr/sbin
PWD=/Users/xyz
SHLVL=1
HOME=/Users/xyz
LOGNAME=xyz
SECURITYSESSIONID=584bf0
_=/usr/bin/env
Why are the variables $QTDIR and $PATH not updated?
How do I set these variables?
Please help I am newbie to Mac!
Thanks in advance.
I am trying to install Qt3.3.6 on my system. This requires a few variables to be set.
Now the install manual instructs to create a .profile file (since my
shell is bash) and set the environment variables there.
I created the .profile in /Users/xyz as follows:
QTDIR=/Developer/qt
PATH=$QTDIR/binPATH
DYLD_LIBRARY_PATH=$QTDIR/libDYLD_LIBRARY_PATH
export QTDIR PATH DYLD_LIBRARY_PATH
I saved the .profile file and did a reboot. But the env variables have
not been set?
What is going wrong?
In the terminal $QTDIR is empty and the env command gives the following output:
TERM_PROGRAM=Apple_Terminal
TERM=xterm-color
SHELL=/bin/bash
TERM_PROGRAM_VERSION=133
USER=xyz
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PATH=/bin:/sbin:/usr/bin:/usr/sbin
PWD=/Users/xyz
SHLVL=1
HOME=/Users/xyz
LOGNAME=xyz
SECURITYSESSIONID=584bf0
_=/usr/bin/env
Why are the variables $QTDIR and $PATH not updated?
How do I set these variables?
Please help I am newbie to Mac!
Thanks in advance.