On Fri, Feb 19, 2016 at 06:39:25PM +0530, Aniket Bhattacharyea wrote: > up vote > down votefavorite
Huh? > <http://unix.stackexchange.com/questions/264064/kde-framework-5-buid-problem-on-beyond-linux-from-scratch?noredirect=1#> > There are two important questions there in response to you: are you mixing qt4 and qt5, and are you in chroot ? > I was building KDE Framework 5 according to the BLFS book Version > 2016-02-16. The link is here > http://linuxfromscratch.org/blfs/view/svn/kde/krameworks5.html > But the build process stoppd at *kcompletion*. The error is given below. > > [ 92%] Building CXX object > src/CMakeFiles/KF5Completion.dir/kcompletionbox.cpp.o [ 93%] Building CXX > object src/CMakeFiles/KF5Completion.dir/klineedit.cpp.o In file included > from /opt/qt5/include/QtCore/qnamespace.h:37:0, from > /opt/qt5/include/QtCore/qobjectdefs.h:41, from > /opt/qt5/include/QtCore/qobject.h:40, from > /opt/qt5/include/QtCore/QObject:1, from > /mnt/mnt/lfs/kcompletion-5.18.0/src/kcompletion.h:25, from ^^^^^^^^^^^^^ You appear to be so far off the normal track that all bets are off. Using /mnt/mnt/ is just bizarre. I do not know if kf5 can be built in chroot, but I imagine there is a good chance. But if you were in chroot we would not see /mnt/lfs in the include paths. > /mnt/mnt/lfs/kcompletion-5.18.0/src/klineedit.h:33, from > /mnt/mnt/lfs/kcompletion-5.18.0/src/klineedit.cpp:28: > /usr/include/kconfiggroup.h: In member function ‘QList<T> > KConfigGroup::readListCheck(const char*, const QList<T>&) const’: > /usr/include/kconfiggroup.h:740:5: error: ‘qVariantCanConvert’ was not > declared in this scope Q_ASSERT(qVariantCanConvert<T>(value)); ^ And here we see that a host file from /usr/include is being picked up, which is why people think you might be mixing kde4 and kf5. Please clarify what you have done. Among other things: what is the host system ? Does it have qt4 in /usr ? Why are you picking up files from /mnt/mnt/lfs ? What is your PATH ? ĸen -- This email was written using 100% recycled letters. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page