David J. Weller-Fahy | 11 May 2012 03:49

Building mutt from HEAD on Mac OS X with automake 1.12

I recently started using Mac OS X again, and installed HomeBrew [1] to
be able to automate the upgrade of various software components not
already included.

When installing the requisite programs to build mutt from HEAD, automake
1.12 was installed.  Unfortunately, this new version of automake caused
mutt not to prepare!  The output of my attempt to prepare follows.

#v+
dave <at> pooh:~/usr/src/mutt/mutt$ cat ../configure-mutt.sh
#!/bin/sh

# For FreeBSD, append '=/usr/local' to the --with-sasl line.
# For Mac OS X, append '=/usr/local' to the --with-tokyocabinet line.

./prepare \
	--prefix=$HOME/usr \
	--with-homespool=Maildir \
	--enable-debug \
	--enable-hcache \
	--with-tokyocabinet=/usr/local \
	--with-curses \
	--enable-smtp \
	--enable-imap \
	--with-ssl \
	--with-sasl
#v-

Note: This prepare command has worked in the past on Mac OS X.  Next, I
make sure my sources are up to date, and try to prepare.
(Continue reading)

Vincent Lefevre | 11 May 2012 13:14

Re: Building mutt from HEAD on Mac OS X with automake 1.12

On 2012-05-10 21:49:54 -0400, David J. Weller-Fahy wrote:
> When installing the requisite programs to build mutt from HEAD, automake
> 1.12 was installed.  Unfortunately, this new version of automake caused
> mutt not to prepare!  The output of my attempt to prepare follows.
[...]
> dave <at> pooh:~/usr/src/mutt/mutt$ hg pull -u
> pulling from http://dev.mutt.org/hg/mutt
> searching for changes
> no changes found
> dave <at> pooh:~/usr/src/mutt/mutt$ ../configure-mutt.sh 
> configure.ac:33: error: automatic de-ANSI-fication support has been removed

I suspect that Mutt hasn't been updated for Automake 1.12.
In the Automake 1.11 manual:

`AM_C_PROTOTYPES'
     This is required when using the deprecated de-ANSI-fication
     feature; *note ANSI::.  _It will be removed_ in the next major
     Automake release.

So, you need to remove the AM_C_PROTOTYPES line from configure.ac
(FYI, this was the solution for MPFR, which had the same problem).

--

-- 
Vincent Lefèvre <vincent <at> vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

David J. Weller-Fahy | 11 May 2012 15:30

Re: Building mutt from HEAD on Mac OS X with automake 1.12

* Vincent Lefevre <vincent <at> vinc17.org> [2012-05-11 07:15 -0400]:
> I suspect that Mutt hasn't been updated for Automake 1.12.  In the
> Automake 1.11 manual:
> 
> [...]
> 
> So, you need to remove the AM_C_PROTOTYPES line from configure.ac
> (FYI, this was the solution for MPFR, which had the same problem).

That was it!  Thank you.

--

-- 
dave [ please don't CC me ]

Gmane