installing QT how?
Hi everybody, and thank you for your previous answers, now i'm trying to install QT, but there is a part in the INSTALL file i can't undestand is the next part:
------------- In .profile (if your shell is bash, ksh, zsh or sh), add the following lines: QTDIR=/usr/local/qt PATH=$QTDIR/bin:$PATH MANPATH=$QTDIR/doc/man:$MANPATH LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH export QTDIR PATH MANPATH LD_LIBRARY_PATH In .login (in case your shell is csh or tcsh), add the following lines: setenv QTDIR /usr/local/qt setenv PATH $QTDIR/bin:$PATH setenv MANPATH $QTDIR/doc/man:$MANPATH setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH After you have done this, you will need to login again, or re-source the profile before continuing, so that at least $QTDIR and $PATH are set. Without these the installation will halt with an error message. ------------- how can i know what is my shell????,which file i must modify??? it's the same csh.login that .login??, well in the next csh.login i "tryied" to modify it but im not sure if it's right.......... anyway i wold like to know what i need to do to make it works, 'cos when i run "kde-config --version" it says 3.1.2 but i want the 3.3.3 (it's which im trying to intall!) i'll thank you in advance for all the help you can give me... i'm newbie so pls explain it in the smplest way you can. thanks _________________________________ # /etc/csh.login # System wide environment and startup programs, for login setup if ($?PATH) then setenv PATH "${PATH}:/usr/X11R6/bin" setenv QTDIR /usr/local/qt setenv PATH $QTDIR/bin:$PATH setenv MANPATH $QTDIR/doc/man:$MANPATH setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH else setenv PATH "/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin" endif limit coredumpsize unlimited setenv HOSTNAME `/bin/hostname` set history=1000 if ( -f $HOME/.inputrc ) then setenv INPUTRC /etc/inputrc endif if ( $?tcsh ) then bindkey "^[[3~" delete-char endif _________________________________ ___________________________________ # /etc/profile # System wide environment and startup programs, for login setup # Functions and aliases go in /etc/bashrc pathmunge () { if ! echo $PATH | /bin/egrep -q "(^|$1($|" ; then if [ "$2" = "after" ] ; then PATH=$PATH:$1 else PATH=$1:$PATH fi fi } # Path manipulation if [ `id -u` = 0 ]; then pathmunge /sbin pathmunge /usr/sbin pathmunge /usr/local/sbin fi pathmunge /usr/X11R6/bin after unset pathmunge # No core files by default ulimit -S -c 0 > /dev/null 2>&1 USER="`id -un`" LOGNAME=$USER MAIL="/var/spool/mail/$USER" HOSTNAME=`/bin/hostname` HISTSIZE=1000 if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then INPUTRC=/etc/inputrc fi export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC for i in /etc/profile.d/*.sh ; do if [ -r "$i" ]; then . $i fi done unset i ___________________________________ __________________ ---------------------------------- Have a nice day! Newbie |
Your shell is almost CERTAINLY bash or sh. Usually bash.
type Code:
ps ax | grep |
All times are GMT -5. The time now is 02:22 AM. |