Armin K. wrote: > On 08/29/2012 06:40 PM, Bruce Dubbs wrote: >> Armin K. wrote: >>> root:/sources/_udev-lfs-188_# make -f udev-lfs-188/Makefile.lfs >>> >>> The error happens because make isn't run from _systemd_ but from >>> _udev-lfs_ directory! >> >> I don't understand why the Makefile would run at all. If he is in >> systemd/udev-lfs, then 'make -f udev-lfs-188/Makefile.lfs' would just >> fail with 'No such file or directory'
> In fact, he extracted the wrong tarball in the first place. > > For every package, the package tarball is extracted, you change to the > extracted directory and then follow the book. > > As the page says Udev, not Systemd, he extracted udev-lfs tarball, > changed into it and ran the instructions which extracted the udev-lfs > tarball again, so he got udev-lfs-188/udev-lfs-188. > >>> I guess a big note/warning should be present on systemd udev page saying >>> that user must be in systemd directory, not udev-lfs one. >> >> We can't put notes and warnings for every possible instance of not >> following the book. We do the same type of extraction in gcc in Chapter 5. >> > > This one is a bit more confusing. Well it does say 'Extracted from systemd', but I'll add a note. The description does also say 'The development of udev has been merged with systemd, but most of systemd is incompatible with LFS. Here we build and install just the needed udev files.' -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page