Re: s6-rc compilation issue [RESOLVED]

From: Guillaume Perréal <gperreal_at_free.fr>
Date: Tue, 24 Jan 2017 14:55:40 +0100

I managed to build the tools using a small scripts that compiles them in
the right order, adding --with-lib after each step.

Thank you.

-- 
Guillaume.
Le 24/01/2017 à 11:03, Laurent Bercot a écrit :
>
>> 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 - 13:55:40 UTC

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