LWN.net Logo

The Great Package Management Experiment

The Great Package Management Experiment

Posted Sep 28, 2003 23:17 UTC (Sun) by torsten (guest, #4137)
In reply to: The Great Package Management Experiment by zooko
Parent article: The Great Package Management Experiment

./configure --prefix=/usr/local/stow/bindlywhoop-v1.2

This method is defective. The path is hard-coded into some of the libraries and binaries. When you move the directory to another prefix, the package will fail (some packages fail, some don't).


(Log in to post comments)

The Great Package Management Experiment

Posted Oct 4, 2003 14:11 UTC (Sat) by csh (guest, #15725) [Link]


The proper way to use something like stow is this:

% ./configure --prefix=/usr/local

When you install, you use this command:

% make prefix=/usr/local/stow/<package>-<version>

Then when you stow the program, it will have normal paths like you would expect.

If you aren't using a package with the GNU auto stuff, you'll have to do this step manually.

I used to maintain my own system, and a set of patches for different packages to handle the dual nature of a "stowed" install.

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