It seems that qt does not compile when using uclibc due to the fact that
uclibc does not provide <fenv.h>. A patch from LFS does exist for qt:
http://www.mail-archive.com/patches%40linuxfromscratch.org/msg00004.html but I
don't know how to include it in My Gentoo.
Steps to Reproduce:
fenv.h: No such file or director
Complete the installation
I've sent the request to qt-bugs, we'll see what Trolltech proposes.
Their response was that they aren't planning on supporting uclibc right now, since it's not even to a 1.0
I'll mark the patch as a LATER, meaning we may support it in the future. You can always use it in an
overlay if needed.
Created attachment 76874 [details, diff]
Add detection of uclibc as well as just Linux to include fenv.h
3-line patch to have qt correctly detect environment and compile with uclibc. (Patch is same as referenced webpage)
I would like to second this patch being included in the default qt ebuild. It is a very simple patch that only adds a detection of uclibc, instead of just "linux", to include fenv.h.
I have successfully downloaded and built qt with this patch on a uclibc system. I added the epatch statements after the gcc4 patches. I have only tested this against 3.3.4-r8. I could test with other versions, if it would get this patch committed.
I have attached the patch, just in case that page ever goes away.
*** Bug 119473 has been marked as a duplicate of this bug. ***
I just added this patch to portage.
Does Qt4 need this as well? I've only added it to Qt3.