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'
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',
Received on Mon Apr 12 10:55:17 2004