Re: s6-rc compilation issue

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Tue, 24 Jan 2017 10:03:12 +0000

>This can be fixed be creating a symlink :
>
> ln -s /usr/local/stow/skarnet/lib/s6/libs6.a
>/usr/local/stow/skarnet/lib/libs6.a

  No, this is intentional. The skarnet.org build system installs static
libraries in a subdirectory of $prefix/lib by default, as shown in the
output of ./configure --help.
  If you want to link against them, you need to give appropriate
--with-lib
options to ./configure. So, in your case:

  For execline, you'd add
  --with-lib=/usr/local/stow/skarnet/lib/skalibs

  For s6, you'd add
  --with-lib=/usr/local/stow/skarnet/lib/skalibs \
  --with-lib=/usr/local/stow/skarnet/lib/execline

  And for s6-rc, you'd add
  --with-lib=/usr/local/stow/skarnet/lib/skalibs \
  --with-lib=/usr/local/stow/skarnet/lib/execline \
  --with-lib=/usr/local/stow/skarnet/lib/s6

  That's impractical, but a clear separation of build-time files and
run-time files is worth the small inconvenience.
  Alternatively, if you don't care about this separation and simply want
everything in /usr/local/stow/skarnet/lib, you can say so at
installation
time, by giving the following option to every ./configure in the stack:

  --libdir=/usr/local/stow/skarnet/lib

  which will achieve what you're looking for.

--
  Laurent
Received on Tue Jan 24 2017 - 10:03:12 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC