Re: s6-rc compilation issue [RESOLVED]
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
Re: s6-rc compilation issue
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
s6-rc compilation issue
Hello there, I have a small issue to compile s6-rc. I am trying some skarnet tools (execline, s6 and s6-rc). As I want to test them and to install and uninstall them easily, I use GNU Stow (https://www.gnu.org/software/stow/). I have chosen to install them into /usr/local/stow/skarnet. I have successfully built and installed skalibs, execline and s6 using the following commands: ./configure --prefix=/usr/local/stow/skarnet make sudo make install But when trying to build s6-rc, it gives me this error : > make make: *** No rule to make target '-ls6', needed by 's6-rc-fdholder-filler'. Stop. 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 stow -d /usr/local/stow -R skarnet So I guess there is a lib path missing somewhere, but as I have never written any configure script, I am not sure how to fix it. How should it be fixed ? Best regards, Guillaume Perréal.