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

> install: install-shared install-static
> 
> Since I don't understand the details of libcap and I want to leave
> the build running I've commented out the sed in my current build.
> 
> I will also remark that current 'make' seems to like runing multiple
> jobs in the install, I've seen it before - in this case the command
> was just
>  make lib=lib PKGCONFIGDIR=/usr/lib/pkgconfig install
> although I use make -j8 for the actual build.
> 
> ĸ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

Reply via email to