![]()
|
NAMEXStow, replacement for GNU Stow
SYNOPSISxstow [OPTION ...] PACKAGE xstow-static [OPTION ...] PACKAGE xstow-stow [OPTION ...] PACKAGE
DESCRIPTIONXStow is a replacement of GNU Stow (stow) written in C++. It supports all features of Stow with some extensions. XStow as GNU Stow, are programs for managing the installation of software packages, keeping them separate (/usr/local/stow/emacs vs. /usr/local/stow/perl, for example) while making them appear to be installed in the same place (/usr/local). By default 3 versions of XStow will be compiled
USAGExstow [OPTION ...] PACKAGE Install a package
xstow foobar
Uninstall package
xstow -D foobar
OPTIONS
RETURN VALUES
ENVIRONMENT VARIABLESSince the debugging of the command line parsing can be hard if the debugging level is set by the command line there are two evironment variables:
COFIGURATION FILESThe configuration file xstow.ini can be located in /etc and/or in the current stow directory. For possible settings and syntax of this file see xstow.ini(5) In this manpage there are some detailed informations of some special settings of XStow too. Please read it!
EXAMPLES
Common UsageAs an example we install the ixlib library into the /usr/local/ tree.
tar xvfz ixlib-0.96.2.tar.gz
cd ixlib-0.96.2
./configure
make
So far, this was business as usual. Note: by default the configure script prepares the application for beeing installed into /usr/local/. Have a look at configure --help for more info. Now installation is done by not installing ixlib directly into /usr/local/, we install it into /usr/local/stow/ixlib-0.96.2/.
make install prefix=/usr/local/stow/ixlib-0.96.2/
The last point is creating all necessare symlinks so that ixlib's include files can be found by the compiler in /usr/local/include. Therefore we are using xstow.
cd /usr/local/stow
xstow ixlib-0.96.2
And all symlinks will be created.
Installing XStow by using XStowAfter calling the configure script and make, XStow is installed into the stow directory as I showed it in the upper example.
make install prefix=/usr/local/stow/xstow-0.1.0
Then you switch to the stow directory and call XStow
cd /usr/local/stow
xstow-0.1.0/bin/xstow xstow-0.1.0
That is it.
COMPATIBLE
Link CreationBy default XStow is fully Stow compatible. The usage of some of the advanced features can cause that Stow cannot handle the tree any more.
Command Line OptionsXStow supports all command line options of Stow. Even it's format.
BUGSThere are some nitty gritty cases, but no known bugs.
WHYStow requires Perl. But what's on systems where no Perl is available, or not yet installed? I tried compiling Stow with perlcc, but it failed.
AUTHORSXStow was written by Martin Oberzalek <kingleo@gmx.at>.
COPYINGXStow a replacement of GNU Stow written in C++. Copyright (C) 2002 by Martin Oberzalek <kingleo@gmx.at> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
SEE ALSOxstow.ini(5) GNU Stow has an excelent documentation. Have a look at the manual. http://www.gnu.org/software/stow/ |