On my Gentoo systems I've never had a problem with this and I run moc as I run any other command in the terminal. I recently switch to Fedora 15/16 and notice that running moc doesn't work. I get bash: moc: command not found.... Instead, I have to give its full path, /usr/lib64/qt4/bin/moc.
I would like to know why the Fedora folks have not set this up so calling
mocjust works without giving its full path (or, perhaps I've done something to break?)As I'm very new to non-Gentoo systems, I would like to know of a universal way to call
mocso that it works on any *nix system.
media-sound/mocpackage is running bymocpcommand. – ДМИТРИЙ МАЛИКОВ Nov 19 '11 at 11:01