nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] --prefix=/usr/local issues

2013-03-21 20:55:07
Lyndon Nerenberg <lyndon(_at_)orthanc(_dot_)ca> writes:

On 2013-03-18, at 7:36 PM, belg4mit(_at_)pthbb(_dot_)org wrote:

I configured and compiled with --prefix /usr/local
and things worked fine. Unfortunately, the whatnow
prompt reports the following when I try to send:
 unable to exec /usr/local/nmh/lib/post: No such file or directory

Unrelated, but this reminds me of another nit I have with --prefix.

Currently we install the etc stuff into ${prefix}/etc, which spams
/usr/local/etc pretty hard when faced with --prefix=/usr/local.
Personally, I'm not a fan of the /usr/local/nmh default prefix, and
would prefer to see it changed to /usr/local, with the configdir stuff
pushed down a level to $prefix/etc/nmh. (And libexec stuff in
$prefix/libexec/nmh, etc) I think most people expect things to install
this way, and just show up in their $PATH (which, presumably, already
has /usr/local/bin in place).

I don't like clutter in the /usr/local namespace.

If nmh is installed in the main system, we might see /etc/nmh,
/usr/bin/mh, and /usr/lib/mh, and it should be similar in /usr/local.

However, /opt is not organized like /usr/local, so setting prefix to
/opt might be an interesting alternative.

-- 
Bill Wohler <wohler(_at_)newt(_dot_)com> aka 
<Bill(_dot_)Wohler(_at_)nasa(_dot_)gov>
http://www.newt.com/wohler/
GnuPG ID:610BD9AD


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>