Re: Suggestion: make compilation fail if m4 is not installed

2018-02-26 Thread Wietse Venema
Folks, if you build Postfix from source code, then it needs UNIX tools including a compiler and various scripting languages. Such a configuration is fundamentally in conflict with the idea of running a minimal system. I have added a check for a missing 'm4' command, but I do not expect to enumera

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-26 Thread Stephen Satchell
On 02/25/2018 09:52 PM, @lbutlr wrote: Really? What runs services automatically? The last time I setup freeeBSD 11.1 (last month) it wasn't even running sshd until I specifically enabled it. There are other distributions of POSIX-compliant operating systems. (Let's forego the religious war ab

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-26 Thread Bill Cole
On 26 Feb 2018, at 0:52, @lbutlr wrote: Really? What runs services automatically? The whole RedHat family, even Fedora Core through last month. SLES & openSUSE at least through 11.1. Whatever the current stable Ubuntu was about a year ago. The last time I setup freeeBSD 11.1 (last month) i

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-26 Thread Stephen Satchell
On 02/25/2018 07:17 PM, Bill Cole wrote: The package that don't matter are just taking a little bit of space, and it is hardly worth building a system by hand to save a tiny amount (percentage-wise) of space. But storage footprint is re-emerging as an issue with the rise of "cloud" systems li

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-25 Thread @lbutlr
On 2018-02-25 (20:17 MST), Bill Cole wrote: > > On 25 Feb 2018, at 2:54 (-0500), @lbutlr wrote: > >> I used to do the same back int eh 90s where trying to slim down the OS was >> really worth the effort. Now though, a full base install is well under a >> handful of GB, or less than 1% of a

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-25 Thread Bill Cole
On 25 Feb 2018, at 2:54 (-0500), @lbutlr wrote: I used to do the same back int eh 90s where trying to slim down the OS was really worth the effort. Now though, a full base install is well under a handful of GB, or less than 1% of a small hard drive. There is also the independent issue of sec

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-25 Thread John Fawcett
On 25/02/18 01:18, Wietse Venema wrote: > John Fawcett: >> I was wondering if it might be wise to make m4 a mandatory prerequisite, >> without which compilation would fail.? > We could add this at the top of the script: > > m4 > but that would be a point solution. For a dependency list someone

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-25 Thread John Fawcett
On 25/02/18 08:54, @lbutlr wrote: > On 2018-02-25 (00:37 MST), John Fawcett wrote: >> I normally start out with the minimal set of packages and only add >> software that I need to those. While make was already there, the >> compiler and m4 were missing. I installed the compiler but forgot m4, so >

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-25 Thread John Fawcett
On 25/02/18 09:07, Peter wrote: > On 25/02/18 19:27, Bastian Blank wrote: >> On Sat, Feb 24, 2018 at 07:18:32PM -0500, Wietse Venema wrote: >>> We could add this at the top of the script: >>> m4 > Using "set -e" is much more effective and finds all errors. > Please no. set -e is an attempt to

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-25 Thread Peter
On 25/02/18 19:27, Bastian Blank wrote: > On Sat, Feb 24, 2018 at 07:18:32PM -0500, Wietse Venema wrote: >> We could add this at the top of the script: >> m4 > Using "set -e" is much more effective and finds all errors. Please no. set -e is an attempt to cover all error cases without bailin

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-24 Thread @lbutlr
On 2018-02-25 (00:37 MST), John Fawcett wrote: > > On 25/02/18 01:18, Wietse Venema wrote: >> John Fawcett: >>> >>> I was wondering if it might be wise to make m4 a mandatory prerequisite, >>> without which compilation would fail.? >> We could add this at the top of the script: >> >>m4

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-24 Thread John Fawcett
On 25/02/18 01:18, Wietse Venema wrote: > John Fawcett: >> >> I was wondering if it might be wise to make m4 a mandatory prerequisite, >> without which compilation would fail.? > We could add this at the top of the script: > > m4 > but that would be a point solution. For a dependency list

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-24 Thread John Fawcett
On 25/02/18 03:09, @lbutlr wrote: > On 2018-02-24 (09:44 MST), John Fawcett wrote: >> due to the fact I had forgotten to install m4. > Interesting. m4 is part of my base install. At least I think it is, it's not > in /usr/local/... and i don't remember installing it. > In this case I didn't chose

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-24 Thread Bastian Blank
On Sat, Feb 24, 2018 at 07:18:32PM -0500, Wietse Venema wrote: > We could add this at the top of the script: > m4 I find it sad that systems have make but not m4. That tool has been > around as part of the UNIX toolkit for over 30 years, on all the > systems that I have played with. | $ dpkg

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-24 Thread @lbutlr
On 2018-02-24 (09:44 MST), John Fawcett wrote: > > due to the fact I had forgotten to install m4. Interesting. m4 is part of my base install. At least I think it is, it's not in /usr/local/... and i don't remember installing it. -- Everywhere is walking distance if you have the time.

Re: Suggestion: make compilation fail if m4 is not installed

2018-02-24 Thread Wietse Venema
John Fawcett: > Hi > > this is a strange error. I just had the chance to reinstall postfix from > latest snapshot source on a new centos 7 server. > > When running postconf -n I was getting various errors relating to unused > parameters from mysql map configuration files. This is an example of th

Suggestion: make compilation fail if m4 is not installed

2018-02-24 Thread John Fawcett
Hi this is a strange error. I just had the chance to reinstall postfix from latest snapshot source on a new centos 7 server. When running postconf -n I was getting various errors relating to unused parameters from mysql map configuration files. This is an example of the message: postconf: warnin