On 06/17/2012 12:23 AM, Ronnie van Aarle wrote: > I want to tell you that the dependencies for colord-0.1.21 are not as > they are listed on the corresponding blfs book page. > > I have installed all depencencies listed under 'required', but an > attempt to configure colord results in: > > No package 'gudev-1.0' found. > > The recommended 'Udev-Installed LFS Version' seems to be a requirement > too. Also the instructions on this page are not valid for my lfs 7.0 > installation, because Udev-173.tar.gz is not available anymore from > http://www.kernel.org/pub/linux/utils/linux/kernel/hotplug. >
I guess you could fetch source from LFS servers if that one is from the book. > Therefore I decided to install Udev-182, slightly deviating from the > instructions on > http://www.linuxfromscratch.org/lfs/view/stable/chapter06/udev.html. > > Here is my modification and some explaination for each change. > > BLKID_CFLAGS="-I/usr/include/blkid" \ > BLKID_LIBS="-L/lib -lblkid" \ > KMOD_CFLAGS="-I/usr/include" \ > KMOD_LIBS="-L/lib -lkmod" \ > ./configure --prefix=/usr \ > --with-rootprefix='' \ > --with-rootlibdir=/lib \ # added this one because this option > is in the instructions for reinstalling udev in blfs > --bindir=/sbin \ > --sysconfdir=/etc \ > --libexecdir=/lib \ > --enable-rule_generator \ > # --disable-introspection \ # because I do have introspection > installed > --disable-keymap \ > # --disable-gudev \ # because this one is the missing > depencency for colord-0.1.12 > --with-usb-ids-path=no \ > --with-pci-ids-path=no \ > --with-systemdsystemunitdir=no \ > --with-docdir=/usr/share/doc/udev-181 # added because its also > in the instructions in blfs chapterUdev-Installed LFS Version > > > After configuring the Udev sources with these arguments, the first build > attempt failed, because Kmod lack's from LFS 7.0. Therefore I would also > suggest adding Kmod to the required dependencies on > http://www.linuxfromscratch.org/blfs/view/svn/general/udev.html and > removing the instructions for udev-173 alltogether from this page. > Kmod is already present in LFS 7.1 and SVN. No need to add anything. After all, page says "Installed LFS Version", right ... And that assumes that LFS system is fully installed. > Well, I'm writing this email while attempting to get colord-0.1.21 > compiled and installed, and a new attempt to configure it just resulted > in another configure error: > > No package 'polkit-gobject-1' found GUdev and Polkit are not required for colord to build. They can be disabled with --disable-gudev and --disable-polkit ... I guess I should explain that on the page tough. We assume that people will install recommended deps, they are not recommended without a good reason. > > So this one also seems to be 'required' instead of 'recommended'. And I > have just noticed that usb-utils is not installed on my system but is in > the 'required' section of > http://www.linuxfromscratch.org/blfs/view/svn/general/udev.html. I > suppose this one can be moved to 'recommended'. > It is required if you don't use the --without-usb-ids or whatever, which you apparently used, but I don't think that BLFS does that, since there will be runtime errors if it is disabled. > I'm writing this email while I'm configuring and building the packages, > and now udev is installed with Kmod running, I found another oddity on > pollkit-0.106 this time: > > Building polkit-0.106 on an offline system halts on a make error because > it cannot acces: > > http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl > That is docbook stuff. It is written by docbook-xml and docbook-xsl. I guess you have libxml2 and libxslt, but not docbook-xml and docbook-xsl while there is a note about that. > of course not, without an internet connection, since when is internet > required for make? > > It is the first time I experience that a build requires internet acces, > but I don't see why and I don't like it also. > > adding --disable-manpages to the configure arguments makes the build > succesfull. This is a very weird and uncommon thing in my point of view, > make that requires internet access. > > Anyways, after all of this, I did get colord-0.1.21 to build and > install, I hope this info is of any use for you. > > Ronnie van Aarle. > > -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
