Andrew Benton wrote: > On Sat, 19 Nov 2011 19:46:20 +1100 > Wayne Blaszczyk <[email protected]> wrote: > >> Based on the current build instructions, Cups creates files under >> /usr/etc and /usr/var. >> Glib2 creates bash completion scripts under /usr/etc. >> Not directly related to BLFS, but it also looks like Coreutils has >> installed a library (libstdbuf.so) under /usr/libexec, unless I did >> something wrong there? > > I agree these things should be fixed. The coreutils thing is an LFS > problem but can be fixed by passing --libexecdir=/usr/lib to configure. > I've not installed cups-1.5.0 yet so I can't comment. > Glib can be made to put it's bash completion scripts in /etc passing > --sysconfdir=/etc to configure. > > Glib also puts a header file, glibconfig.h into > /usr/lib/glib-2.0/include. Moving that into /usr/include requires > seds to the glib/Makefile and the pkg-config pc file. It also affects > some other things like gobject-introspection which has the path to > glibconfig.h hard coded in 2 Makefiles. > > gtk+-2 does a similar thing with a header but moving that one doesn't > cause any problems for anything else.
There are a lot of packages that have .h files in /usr/lib: ./gcc/x86_64-unknown-linux-gnu/4.6.1/include/ ./libffi-3.0.10/include/ ./perl5/5.14.2/Encode/ ./perl5/5.14.2/x86_64-linux/CORE/ ./glib-2.0/include/ ./gcc/x86_64-unknown-linux-gnu/4.6.1/plugin/include/ ./grub/i386-pc/ Checking a ubuntu distro and a very old LFS system, thats true also. I can see getting rid of /usr/etc and /usr/libexec, but I don't think we need to worry about header files in a subdirectory of /usr/lib. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
