On Sat, Feb 20, 2016 at 11:24:56PM +0530, Aniket Bhattacharyea wrote: > >Building kf5 will be less painful if the qt4 and kde4 directories > >are not on your PATH. You might also need to fix PKG_CONFIG_PATH > > Well, I did everything as the book says. I think it told to add those > directories to my PATH
For some things, you need to change your PATH. > > >Well ? I have no idea what comes with kali, and one of their > >screenshots shows a desktop that looks like gnome, but that file is > >apparently from kdelibs. > > Yes it is Gnome. > Until you understand where that kde4 header in /usr came from (and also any other kde4 files in /usr, particularly any kde4 libraries in /usr/lib) you will not be able to make any progress in this build. If you installed it, but the parts of kde in /opt use the associated libraries, then removing it will break kde4. > >you have parts of kde4 in both /opt and /usr > So, what should I do now? > I think you will have to write this build off as bad. If you are really into penetration testing (I don't know if you are, but your distro is aimed at that) then you have hopefully made notes on what you did - from those you will perhaps be able to understand what went wrong. And when you try again, if you are not using lfs as your host then do not put the sources at /mnt/mnt/lfs/. Building in ~/ or any other directory where you have read and write access is fine, and for the sources themselves you only need read access - but be aware that some places in BLFS assume you are building in /sources, so ../ is referenced for patches. Better luck next time - LFS and BLFS are meant to be educational, sometimes described as "a learning experience", and the main part of the education is learning to diagnose where you went wrong so that you can avoid making the same mistake again. Or, for people like me, so that we can recognize the mistake when we do it again. ĸ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
