* Neil Bothwick <[EMAIL PROTECTED]> [05-08-17 09:59]:
> On Wed, 17 Aug 2005 02:21:24 +0200, Daniel Vrcic wrote:
> > For one-time use you can do the following:
> > 
> > # export PATH=/usr/qt/3/bin:$PATH
> > 
> > Then you can compile your program from the same terminal you typed the
> > command above.
> > 
> > For long-term use you should add that command to your shell's
> > configuration file. If your shell is bash (default) then that conf. file
> > will be $HOME/.bashrc .
> This should already be set up when you installed qt.

Hmm, haven't noticed that before. Probably beacuse my Qt lib is
installed from GRP.
 
> [EMAIL PROTECTED] ~]$ cat /etc/env.d/45qt3
> PATH=/usr/qt/3/bin
> ROOTPATH=/usr/qt/3/bin
> LDPATH=/usr/qt/3/lib
> QMAKESPEC=linux-g++
> MANPATH=/usr/qt/3/doc/man
> 
> System wide paths should be put in /etc/env.d, don't forget to run
> etc-update after doing so.

s/etc-update/env-update
 
Oh, this is the "Gentoo way". Thanks Neil for clearing that up. I was
looking for that kind of solution.

-- 
Daniel Vrcic
-- 
gentoo-user@gentoo.org mailing list

Reply via email to