Hello people. I had a go at Bleeding Edge LFS yesterday
http://belfs.linux-phreak.net/index.html and it went pretty well, just the usual typo errors on my part. The basic system is good. I can reboot into it, the file system checks out, other partitions mount, all built on 2.6 kernel headers. I like it.
I had a problem compiling XFree86-4.4.0. It wasn't happy about the kernel headers in /usr/include. It said
I../../../.. -I../../../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DMALLOC_0_RETURNS_NULL xf86drm.c
In file included from /usr/include/linux/config.h:1,
from drm.h:41,
from xf86drm.c:72:
/usr/include/linux/err_kernel_only.h:1:2: #error Kernel only header included in userspace
make[6]: *** [xf86drm.o] Error 1
make[6]: Leaving directory `/sources/xc/lib/GL/dri/drm'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/sources/xc/lib/GL/dri'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/sources/xc/lib/GL'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/sources/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/sources/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/sources/xc'
make: *** [World] Error 2
So I moved /usr/include/linux/autoconf.h and /usr/include/linux/config.h out of the way and replaced them with autoconf.h and config.h from /usr/src/linux/include/linux and hey presto! XFree compiles no problem. So did the Nvidia driver. So then I start preparing to install Gnome by installing all the docbook stuff and almost straight away I get this error from OpenSP-1.5.1
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -g -O2 -c -o ArcEngine.lo `test -f 'ArcEngine.cxx' || echo './'`ArcEngine.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -g -O2 -c ArcEngine.cxx -MT ArcEngine.lo -MD -MP -MF .deps/ArcEngine.TPlo -fPIC -DPIC -o ArcEngine.lo
In file included from ../include/RangeMap.h:67,
from ../include/UnivCharsetDesc.h:13,
from ../include/CharsetInfo.h:11,
from ../include/Sd.h:13,
from ../include/Event.h:20,
from ../include/ArcEngine.h:11,
from ArcEngine.cxx:10:
../include/RangeMap.cxx: In member function `unsigned int OpenSP::RangeMap<From, To>::inverseMap(To, From&, OpenSP::ISet<OpenSP::WideChar>&, OpenSP::WideChar&) const':
../include/RangeMap.cxx:50: error: `wideCharMax' undeclared (first use this function)
../include/RangeMap.cxx:50: error: (Each undeclared identifier is reported only once for each function it appears in.)
In file included from ../include/UnivCharsetDesc.h:16,
from ../include/CharsetInfo.h:11,
from ../include/Sd.h:13,
from ../include/Event.h:20,
from ../include/ArcEngine.h:11,
from ArcEngine.cxx:10:
../include/constant.h: At global scope:
../include/constant.h:16: error: `const OpenSP::WideChar OpenSP::wideCharMax' used prior to declaration
make[3]: *** [ArcEngine.lo] Error 1
make[3]: Leaving directory `/sources/OpenSP-1.5.1/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/sources/OpenSP-1.5.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/OpenSP-1.5.1'
make: *** [all] Error 2
root:/sources/OpenSP-1.5.1#
My first guess was that it wasn't happy with being compiled with gcc-3.4 so I compiled gcc-3.3.2 and installed it in /opt and tried with that and got the same result, so now I think maybe it has issues with glibc-2.3.4. Anybody got any suggestions? I like the look of Bleeding Edge. The core system is sound. If some software has problems it'd be nice to find workarounds.