.profile

Jesse Tie Ten Quee highos at highos.com
Sat Nov 18 13:22:47 PST 2000


Yo,

On Mon, Nov 06, 2000 at 12:05:45AM -0000, andru sprott wrote:
> i'm  tryn to install the qt library and hence kde. before i can run
> ./configure for qt, i have to create a QTDIR environment variable
> i added lines to add the qtdir to the PATH, MANPATH and
> LD_LIBRARY_PATH, variables to /root/.profile but they
> don't seem to be gettin created. i tried loggin out and in and
> even rebootin. i appended
> 
> QTDIR=/usr/local/qt; export QTDIR
> PATH=$PATH::/usr/X11/bin:$QTDIR/bin; export PATH
> MANPATH=$MANPATH:$QTDIR/doc/man; export MANPATH
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib; export LD_LIBRARY_PATH
> 
> phew, that was a lot of typin. anyway, when i relog in and try
> set, i nothin changes, and when i configure qt it says that $QTDIR
> is blank.

Are you doing this from a console terminal or from an xterm? if the
shell isn't a login it doesn't read ~/.profile, ~/.bash_login,
~/.bash_profile, but it will read ~/.bashrc

What i would suggest is making a symbolic link from all of those into
one, less problems in the long run.

btw, you don't really have to worry about LD_LIBRARY_PATH, just make
sure that it is in /etc/ld.so.conf and rerun ldconfig.

-
Jesse Tie Ten Quee - highos at highos dot com

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list