On Mon, 16 May 2016, Gilles Chehade wrote: > On Fri, May 13, 2016 at 12:49:12PM -0700, Richard wrote: > > > > I tested opensmtpd-5.9.2p1-rc1 on Slackware current using the Slackbuild > > script from 5.7.3 and found this warning from the configure: > > > > configure: WARNING: unrecognized options: --with-sock-dir, --with-maildir, > > --with-privsep-user, --with-queue-user, --with-ca-file, --enable-table-db yG> > > > It would be nice if the configure stopped right here with an error and a > > non-zero exit code... > > > > That's an autotools "feature": > > Your 'option' will have no effect. In that sense, a warning is > sufficient. Matched --with-<package> options are enabled by a > AC_ARG_WITH, so while blabla might be ignored now, there's no > reason why --with-blabla or --enable-blabla might not be useful > in the future. > > If someone knows of a way to turn these warnings into errors, I'll make > sure it gets in... >
That's fine, we package builders just have to be more careful when building and look for these kinds of errors/warnings. > > > The build ran fine, but failed to build the "makemap" executable module. > > > > What do you mean by "failed to build the makemap executable", > did you get an error message of any kind (please paste if so) ? > My confusion is because the source code and man file, makemap.c and makemap.8, still exists the smtpd/ source directory even though the makemap executable is not built. And the makemap.8 and the newaliases.8 files still get installed with a "make install" command... > > > There is no reference to makemap in the 5.9.2p1-rc1 configure.ac file > > and there is no makefile for makemap. > > > > The makemap makefile is in the smtpd/makemap directory for 5.7.3 > > > > we managed to merge the makemap code in smtpctl so it became subcommand: > > smtpctl makemap [...] > > this allows all systems, mailwrapper(8)-enabled or not, to have the same > build process instead of what we had before. it also lets the > non-mailwrapper(8) ones decide if they want to provide a makemap command > and if it should be done though a mailwrapper(8) like mechanism or a > local wrapper script. > > there are other benefits too :p > I looked through the 5.9.2p1 code and it appears that the makemap command and newaliases command are now supported as symbolic links to smtpctl I will change my build scripts to do something like this: #ln -sf smtpctl makemap #ln -sf smtpctl newaliases Thanks for all your help. -- Richard Narron -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
