On Mon, Apr 12, 2004 at 01:42:40PM -0400, Phil Matt wrote:
> Another dumb question: Does it matter where on the server Swish-e is installed in terms
> of functionality? I mean, as long as I know where to point the script, does it make any
> difference where the "executable" Swish-e file is?
No, not at all.
If you do "./configure --prefix=$HOME/test" then the swish.cgi script
will be installed at $HOME/test/lib/swish-e/swish.cgi and that
swish.cgi will know to look in $HOME/test/bin/ for the binary and
$HOME/test/lib/swish-e/perl for the modules.
Let's see how bad I am at keeping my home directory clean:
moseley@bumby:~$ locate swish.cgi | grep '/lib/swish-e'
/home/moseley/24/lib/swish-e/swish.cgi
/home/moseley/444/lib/swish-e/swish.cgi
/home/moseley/555/lib/swish-e/swish.cgi
/home/moseley/777/lib/swish-e/swish.cgi
/home/moseley/leak/lib/swish-e/swish.cgi
/home/moseley/nnn/lib/swish-e/swish.cgisuffix
/home/moseley/old.swish-e/debian/swish-e/home/moseley/aaa/lib/swish-e/swish.cgi
/home/moseley/swish_daily_build/install_swish-e-2003-10-22/lib/swish-e/swish.cgi
/home/moseley/t3/lib/swish-e/swish.cgi
/home/moseley/test_build/install_swish-e-2003-10-16x/lib/swish-e/swish.cgi
/usr/local/lib/swish-e/swish.cgi
And you can see how paths get fixed up at installation:
moseley@bumby:~$ fgrep 444 /home/moseley/444/lib/swish-e/swish.cgi
use lib qw( /home/moseley/444/lib/swish-e/perl );
swish_binary => '/home/moseley/444/bin/swish-e', # Location of swish-e binary
INCLUDE_PATH => '/home/moseley/444/share/swish-e',
path => '/home/moseley/444/share/swish-e',
--
Bill Moseley
moseley@hank.org
Received on Mon Apr 12 10:55:17 2004