On Sun, Jan 11, 2015 at 11:56:23PM -0800, Pavel Sanda wrote: > > > (my default qt4 moc is in /usr/bin/moc, older one is in /usr/qt/3/bin/moc, > > > let me know if you need more specific output from pkginfo...) > > > > Most probably, you don't have a moc-qt4 symlink and /usr/qt/3/bin comes > > first in the PATH. In this case you have to specify -with-qt-dir. > > Symlink does not exist, but I just checked that it's qt4 moc which is first > inthe PATH.
Then, I don't know how that could happen. Are you sure that you don't have some "helpful" script in /etc/profile.d that redefines the PATH variable or defines the qt_cv_bin one? Indeed, I can reproduce your case by doing $ env qt_cv_bin=/path/to/qt3/bin configure ... Note that, before 4bdeae273345, that variable was named qt4_cv_bin. -- Enrico