|
|
Subscribe / Log in / New account

Rejuvenating Autoconf

Rejuvenating Autoconf

Posted Oct 24, 2020 11:15 UTC (Sat) by rzaa (guest, #130641)
In reply to: Rejuvenating Autoconf by felixfix
Parent article: Rejuvenating Autoconf

I preferred this method

./configure --prefix=$HOME/.local/stow/progname_progversion && make && make install
cd $HOME/.local/stow/
stow progname_progversion

P.S.
https://www.gnu.org/software/stow/
:]


to post comments

Rejuvenating Autoconf

Posted Oct 24, 2020 14:30 UTC (Sat) by felixfix (subscriber, #242) [Link]

There is sometimes a "make test" in there somewhere too.

I remember well the first time I installed anything with autoconf. It was like magic.

Rejuvenating Autoconf

Posted Oct 25, 2020 10:07 UTC (Sun) by nix (subscriber, #2304) [Link] (2 responses)

That should of course be

/configure --prefix=$HOME/.local && make && \
make install DESTDIR=/home./local/stow/progname_progversion
cd $HOME/.local/stow/
stow progname_progversion

(or make install prefix=... with a sufficiently old package)

The configure-time prefix is the prefix the package *runs* from, and only provides a default for the prefix it is installed to. Stowed packages do not run from their installation location: that's the whole point of stow...

Rejuvenating Autoconf

Posted Oct 25, 2020 19:38 UTC (Sun) by rzaa (guest, #130641) [Link] (1 responses)

Yeah, you are rigth.
I realized that I haven't used these prefixes correctly.

Rejuvenating Autoconf

Posted Oct 26, 2020 15:27 UTC (Mon) by nix (subscriber, #2304) [Link]

To be fair, many packages don't care: but as soon as you have one that needs to access stuff provided by other packages, you'll notice.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds