I'm trying to build the Qt (4.2.3) library on my K6-2 LFS system, 2.6.20 kernel,
glibc 2.5, gcc-4.1.2, Xorg 7.2, and have run into a problem. (I know I am
on my own with these recent versions, I just wanted to know if anyone else
ran into the trouble.) In what follows, I was not in a chroot environment,
I booted to the BLFS system:
bash
export QTDIR=$PWD &&
export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH &&
export PATH=$PWD/bin:$PATH &&
./configure -prefix /opt/qt-4.2.3 \
-sysconfdir /etc/qt \
-qt-gif \
-system-zlib \
-system-libpng \
-system-libjpeg \
-system-libmng \
-no-exceptions \
-tablet \
-qt3support
configure works fine. Note that there does not seem to be plugin configure
options in the 4.x series. OK, but when I:
make sub-tools
I get:
g++ -c -pipe -g -fno-exceptions -fPIC -O2 -Wall -W -D_REENTRANT -fPIC
-DQT_ASSISTANT_CLIENT_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED
-I../../../mkspecs/linux-g++ -I. -I../../../include/QtCore
-I../../../include/QtCore -I../../../include/QtNetwork
-I../../../include/QtNetwork -I../../../include/QtGui -I../../../include/QtGui
-I../../../include -I.moc/release-shared -I.uic/release-shared -o
.obj/release-shared/qassistantclient.o qassistantclient.cpp
make[2]: *** No rule to make target `../../../bin/moc', needed by
`.moc/release-shared/moc_qassistantclient.cpp'. Stop.
make[2]: Leaving directory
`/home/lfs/sources/incomming/UPZ/qt-x11-opensource-src-4.2.3/tools/assistant/lib'
make[1]: *** [sub-assistant_lib-make_default-ordered] Error 2
make[1]: Leaving directory
`/home/lfs/sources/incomming/UPZ/qt-x11-opensource-src-4.2.3/tools'
make: *** [sub-tools] Error 2
Google didn't reveal anything on this one, so I may have entered new
error territory. I sent a bug report to Trolltech, but the form
response said that I may not get a personal reply.
Anybody else run into this one?
I suppose I could try building Qt 3.3.7 next to see if that works.
Mike Shell
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page