9.0 Gotcha's
by Keith Hedger from LinuxQuestions.org on (#4SR8A)
Updating to (B)LFS 9.0 and came across a few compile errors, don't know if anyone else has run into them but here's my solutions.
Doxygen needs git installed even though its not listed as a dependency.
Xkeyboard-config installs a bad keycode for evdev ( keycodes too high ) preventing X starting up, use this sed to remove these codes:Code:sed 's|\(<I[3|5].*>\)|//\1|' /usr/share/X11/xkb/keycodes/evdevJS needs to have the env var SHELL defined and exported, this used to be in the build instructions in the book but seems to have fell out, building in chroot may mean it's not so useCode: SHELL=/bin/bashgtk-doc broken on a number of pkgs, usual gtkdevs shit attitude! ( don't get me started! ).
Polkit needs --enable-libelogind=no if optional dep elogind not installed.
Cups needs this to compileCode:sed -i '/stat.h/a #include <asm-generic/ioctls.h>' test/ipptool.cFeel free to add more gotchas to this thread.


Doxygen needs git installed even though its not listed as a dependency.
Xkeyboard-config installs a bad keycode for evdev ( keycodes too high ) preventing X starting up, use this sed to remove these codes:Code:sed 's|\(<I[3|5].*>\)|//\1|' /usr/share/X11/xkb/keycodes/evdevJS needs to have the env var SHELL defined and exported, this used to be in the build instructions in the book but seems to have fell out, building in chroot may mean it's not so useCode: SHELL=/bin/bashgtk-doc broken on a number of pkgs, usual gtkdevs shit attitude! ( don't get me started! ).
Polkit needs --enable-libelogind=no if optional dep elogind not installed.
Cups needs this to compileCode:sed -i '/stat.h/a #include <asm-generic/ioctls.h>' test/ipptool.cFeel free to add more gotchas to this thread.