On Wed, May 09, 2012 at 01:12:03AM +0000, Stephen Butler wrote: > > Hi all, > I'm packaging up mutt 1.5.21 as an extension for microcore linux and > encountered an error while compiling. > Heres my compile line ./configure --prefix=/usr/local > --with-mailpath=/var/spool/mail --with-regex --enable-pop --enable-imap > --with-ssl --enable-smpt --with-sasl > Heres the error---------------------------------------------make[4]: Entering > directory `/mnt/hdb1/mutt/mutt-1.5.21'if test -f > /tmp/package/usr/local/bin/mutt.dotlock && test -f > /tmp/package/usr/local/bin/mutt_dotlock ; then \ rm -f > /tmp/package/usr/local/bin/mutt.dotlock ; \ ln -sf > /tmp/package/usr/local/bin/mutt_dotlock > /tmp/package/usr/local/bin/mutt.dotlock ; \fiif test -f > /tmp/package/usr/local/bin/mutt_dotlock && test xmail != x ; then \ > chgrp mail /tmp/package/usr/local/bin/mutt_dotlock && \ chmod 2755 > /tmp/package/usr/local/bin/mutt_dotlock || \ { echo "Can't fix > mutt_dotlock's permissions!" >&2 ; exit 1 ; } \fichgrp: invalid group: > `mail'Can't fix mutt_dotlock's permissions!make[4]: *** [install-exec-hook] > Error 1make[4]: Leaving directory `/mnt/hdb1/mutt/mutt-1.5.21'make[3]: *** > [install-exec-am] Error 2make[3]: Leaving directory > `/mnt/hdb1/mutt/mutt-1.5.21'--------------------------------------------- > So anyway, I created the mail group and everything compiled fine after that. > I was wondering if its possible to change the required group from mail to > something else, such as a group called staff ? Which is a default admin group > in microcore linux. > > All comments and suggestions welcome and appreciated. > > Regards,Stephen. >
A look at the toplevel Makefile.in suggests this is in 'make install', using DOTLOCK_GROUP which is preset to 'mail' in configure. Perhaps the following might do it : ./configure --your --options --here && make && make DOTLOCK_GROUP=staff install Whether that would be useful or not is a different question - in BLFS we note that /var/mail has to be owned by the mail group, so you would need to check that on your distro. Presumably, you will want the same owner. You might do best by looking at any packages of postfix or whatever (msmtp, according to a quick google) and doing whatever it/they do. I appreciate your desire to minimise the footprint, but using the 'conventional' group is often a good idea. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce