setting path for new KDEDIR
I'm attempting to install kde 3.1 rc2 and qt3.1 on my SuSE 8.1 system. I did the following command for both qt and kde respectively:
export QTDIR PATH MANPATH LD_LIBRARY_PATH
as per the QT install file.
I am midway through my KDE installation without hitch. However, I've noticed that if I open up another shell and attempt to compile part of KDE that it doesn't find the new QT. Is the command that I entered above only for the current shell? I looked at my /etc/profile, but it doesn't seem to have either a QTDIR or KDEDIR variable. /etc/profile also has a comment not to edit it directly, or changes might be overwritten while upgrading.
Again, my installation is proceeding better than planned, but how can I be sure that my path has been configured right?