[lfs-dev] util-linux-2.24.1 in chapter05

John Burrell john_burrell at hotmail.com
Thu Jan 23 14:19:56 PST 2014


----------------------------------------
> Date: Thu, 23 Jan 2014 22:46:45 +0100
> From: krejzi at email.com
> To: lfs-dev at linuxfromscratch.org
> Subject: Re: [lfs-dev] util-linux-2.24.1 in chapter05
>
> 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
>
Yes, that works - thanks. I've modified my script accordingly.

jb. 		 	   		  


More information about the lfs-dev mailing list