Resending, since I forgot to reply to list (and not directly to Sigmund) and since my previous attempt to remedy the situation was an abject failure (with regards to quoting).

Regards,
Henry

------- Forwarded message -------
From: Henry Baragar <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [binc] Re:  [binc] A question of preference for ./configur e
Date: Sun, 28 Mar 2004 11:59:00 -0500

On Sun, 28 Mar 2004 08:27:58 +0100, S. Gudvangen <[EMAIL PROTECTED]> wrote:

Le mardi 23 Mars 2004 23:49, Andy Gayton a �crit�:
andy wrote:
>>Should Binc IMAP in versions 1.2.7 and on, and in 1.3, assume that
>>--prefix is the root of the entire package? If so, please come with
>>suggestions to how the files should be placed by the default behavior of
>>
>>./configure --prefix=/usr/local


[EMAIL PROTECTED] wrote:
> i'd suggest to inspire by the apache2 prefixes and layouts.
> it's easy to work with and very flexible.

If its time pratical this would be cool Andy. It'd help the
lifewithqmail extension to easily position the logs in with qmail's logs.


By default though assuming --prefix is the root is more intuitive for me
at least :) .. perhaps


$PREFIX/bin    - the 2 executables + misc scripts
$PREFIX/man    - the man pages
$PREFIX/logs   - the logs
I think I prefer $PREFIX/log (ala DJB).


$PREFIX/etc ?? - config file

Do you really want the logs under the same dir as the executables? Isn't the
best place for the logs under /var/log/bincimap/ ?


Maybe, maybe not. I think that default should be the situation that causes least surprise and is easiest to change for the installer. As mentioned in a previous email, I find it easiest if everything is in one place particularly for testing and not scattered all over the place. Then I reconfigure later for production.

The reason for this preferance is that I tend to put /var/log on its own
partition. That way only that partition gets stuffed if "something" for some
reason suddenly starts writing a lot of stuff to the logs. Yes I know, I
ought to watch the logs, but as I am not a sys. adm. I tend to forget about
them when things run smootely.


A different approach is to use something (such as multilog) that rotates logs and prevents this from happening. I think that this is an equally valid approach.

Sigmund.

Not sure at all where to put the docs and service stuff though, i don't
know how $PREFIX/docs and $PREFIX/service would look under /usr/local
... if I wasn't following the lifewithqmail extension or using a distro
package though I'd be inclined to set /usr/local/bincimap-x.xx as my
prefix with /usr/local/bincimap sym linked to the current version.

AndyG.






-- Henry Baragar Principal, Technical Architecture 416-453-5626 Instantiated Software Inc. http://www.instantiated.ca

Reply via email to