*hits himself in the head* It's not set.
QTDIR is only mentioned if you install Qt into /opt/qt.
Looking at the book I used from my last build. Configuration for the
fact if you installed Qt into /usr is at the end of the Pre-Installation
Configuration. I've pasted what's in the old book (at the end of said
section (I didn't correct typos)):
The QT4DIR variable
Some additional packages which are based on Qt4 will be installed. One
of them is Phonon, a direct replacement of the implementation which
comes with Qt4. It's recommended to place such libraries in the same
hierarchy where Qt4 itself resides. Later on, it is refered to QT4DIR.
If you have placed Qt4 in /usr, set QT4DIR:
export QT4DIR=/usr
Alternativly, Qt4 is often placed in the /opt hierarchy:
export QT4DIR=/opt/qt-4.7.1
export PATH=$QT4DIR/bin:$PATH
I suggest it should be added back into the book.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page