I'm trying to start using Qt and I'm having problems setting up the environmental variables so I guess I'm off to a pretty bad start. Below is what I have included in my /etc/profile minus the defaults and the export commands. My export commands are fine as the rest of my variables work except for those going to the Qt directories.
When I login I get an error about the first line with $MANPATH and 'token' something. Any ideas? Thanks in advance ############ QTDIR=/usr/lib/qt-3.0.5 PATH=$QTDIR/bin:$PATH if[ $MANPATH ] ; then MANPATH=$QTDIR/doc:$MANPATH else MANPATH=$QTDIR/doc fi if[ $LD_LIBRARY_PATH ] ; then LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH else LD_LIBRARY_PATH=$QTDIR/lib fi if[ $CPLUS_INCLUDE_PATH ] ; then CPLUS_INCLUDE_PATH=$QTDIR/include:$CPLUS_INCLUDE_PATH else CPLUS_INCLUDE_PATH=$QTDIR/include fi ############ ~ Matthew -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list