On Tue, Aug 11, 2020 at 06:20:16AM +0200, Pierre Labastie via lfs-dev wrote: > On Tue, 2020-08-11 at 05:09 +0100, Ken Moffat via lfs-dev wrote: > > Trying to build current svn, libcap install failed: > > > > make -C libcap install > > make[1]: *** No rule to make target 'install-static', needed by > > 'install'. Stop. > > make[1]: *** Waiting for unfinished jobs.... > > make[1]: Entering directory '/building/libcap-2.42/libcap' > > mkdir -p -m 0755 /usr/include/sys > > install -m 0644 include/sys/capability.h /usr/include/sys > > install -m 0644 include/sys/psx_syscall.h /usr/include/sys > > mkdir -p -m 0755 /usr/lib/pkgconfig > > install -m 0644 libcap.pc /usr/lib/pkgconfig/libcap.pc > > install -m 0644 libpsx.pc /usr/lib/pkgconfig/libpsx.pc > > mkdir -p -m 0755 /lib > > install -m 0644 libpsx.a /lib/libpsx.a > > make[1]: Leaving directory '/building/libcap-2.42/libcap' > > make: *** [Makefile:12: install] Error 2 > > > > I suspect that the sed to prevent the static lib being installed is > > inadequate. In libcap/Makefile at this point: > > > > The sed has been slightly changed to prevent this. Have you noticed it? > It was > sed -i '/install.*STACAPLIBNAME/d' libcap/Makefile > It is now > sed -i '/install -m.*STACAPLIBNAME/d' libcap/Makefile >
Thanks, obviously "should have gone to specsavers!" (an optician franchise in GB, that's their advertising slogan). I see now that the changed version only deletes one line instead of two. ĸen -- Juliet's version of cleanliness was next to godliness, which was to say it was erratic, past all understanding and was seldom seen. -- Unseen Academicals -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page