On 01/23/2014 10:40 PM, John Burrell wrote: > I periodically recreate the /tools dir so I can update chapter 6. > > I get this when installing util-linux in chapter 5: > > /tools/bin/mkdir -p '/usr/lib/systemd/system' > /tools/bin/install -c -m 644 misc-utils/uuidd.service > misc-utils/uuidd.socket '/usr/lib/systemd/system' > /tools/bin/install: cannot remove '/usr/lib/systemd/system/uuidd.service': > Permission denied > /tools/bin/install: cannot remove '/usr/lib/systemd/system/uuidd.socket': > Permission denied > Makefile:10212: recipe for target 'install-systemdsystemunitDATA' failed > make[3]: *** [install-systemdsystemunitDATA] Error 1 > make[3]: Leaving directory '/mnt/lfs/build/utillinux/util-linux-2.24.1' > Makefile:10759: recipe for target 'install-am' failed > make[2]: *** [install-am] Error 2 > make[2]: Leaving directory '/mnt/lfs/build/utillinux/util-linux-2.24.1' > Makefile:10303: recipe for target 'install-recursive' failed > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory '/mnt/lfs/build/utillinux/util-linux-2.24.1' > Makefile:10753: recipe for target 'install' failed > make: *** [install] Error 2 > > I have systemd installed, as you can see. > > In the toplevel Makefile there is this: > > systemdsystemunitdir = /usr/lib/systemd/system > > It would be nice if it observed the ${prefix} that was specified in configure. > > --without-systemd isn't recognized so I modified Makefile. > > jb. >
Try using --without-systemdsystemunitdir -- Note: My last name is not Krejzi. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page