On 28.09.2011, at 15:08, Joerg Tiedemann wrote:

> You would probably get a lot of problems when throwing everything into
> one bin-directory. There are, for example, two 'score' binaries (one
> for phrase scoring and one for lexical reordering).

Wouldn't it be better to address this by giving more expressive names to the 
score binaries?

> But it would be
> nice if everything executable ends up in appropriate sub-directories
> of one common bin directory. Maybe two directories (scripts & bin).
> Even links (or copies) of the helper tools (GIZA++, mkcls, ...) could
> be added there. Installing everything to global directories is
> probably not necessary. It would always require admin-permissions and
> most Moses-users do not have them on university machines etc. And it
> wouldn't help much if the scripts and binaries are still not in the
> global exec-path but in several sub-dirs.

I think it would be nice to have at least the binaries/scripts that are 
commonly called by users in a common bin directory, so there's just one 
directory to put in your PATH. Even if you don't have permissions to install 
stuff in /usr/local/bin, you may still want to install into $HOME/bin and put 
that in your PATH. I do that very often.
If we have an installation procedure, I suggest it should be as similar as 
possible to the way installation of GNU tools works. This may not be perfect, 
but at least it's predictable.

> 
> But in general, I would also prefer the solution with using the
> --prefix parameter for people who really like to keep several versions
> of the binaries in parallel.

I agree.

/Christian


_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to