Begin forwarded message:
From: "Bob Frazier" <[EMAIL PROTECTED]>---
Date: April 1, 2005 10:29:14 PM CST
To: <[EMAIL PROTECTED]>
Subject: [Snowballz-general] python path and snowballz.py
Reply-To: [EMAIL PROTECTED]
tried snowballz.py today, aside from not having the 'soya' module, wouldn't
run 'out of the box' on FreeBSD because python is installed where it should
be according to the UNIX hierarchy, that is /usr/local/bin/python instead of
/usr/bin/python (where linux puts it, basically).
It's one of those "linux-related" compatibility issues. All too often, open
source code is written on linux, so that it installs and runs properly on
linux, but then must be patched if it's run anywhere else.
To compensate, it might be a good idea to alter the 'hashbang' accordingly
to specify a symbolic link to the correct python location, or create a soft
link in /usr/local/bin during install for those systems that don't have it
and hard-code to '/usr/local/bin/python' instead. I would expect OSX as
well as FreeBSD to install python in /usr/local/bin rather than /usr/bin.
It's the kind of thing that will have to be dealt with in configuration
scripts among other things. Alternately a set of 'diff' files for *BSD
ports could be created, though it wouldn't be my preference to do that.
Does anyone know how other python apps are being shipped and how they deal
with this?
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Snowballz-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/snowballz-general
