Re: [Mutt] #3021: Mutt fails to build on OS X Leopard,
#3021: Mutt fails to build on OS X Leopard, says something about m4
Comment (by zoul):
Thanks for the feedback. The autoreconf stuff seems to run fine:
{{{
$ autoreconf --install
/sw/share/aclocal/glib.m4:8: warning: underquoted definition of
AM_PATH_GLIB
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-
aclocal
}}}
Then I run ./configure, which also seems to finish just fine, and then I
run make:
{{{
$ make
./gen_defs ./OPS ./OPS.PGP ./OPS.SMIME ./OPS.CRYPT > keymap_defs.h
./patchlist.sh < ./PATCHES > patchlist.c
echo 'const char *ReleaseDate = "'`head -n 1 ./ChangeLog | LC_ALL=C cut -d
' ' -f 1`'";' > reldate.h.tmp; \
cmp -s reldate.h.tmp reldate.h || cp reldate.h.tmp reldate.h; \
rm reldate.h.tmp
( echo '#include "config.h"'; echo '#include "mutt.h"'; ) \
| gcc -E -DPKGDATADIR=\"/usr/local/share/mutt\"
-DSYSCONFDIR=\"/usr/local/etc\" \
-DBINDIR=\"/usr/local/bin\"
-DMUTTLOCALEDIR=\"/usr/local/share/locale\" \
-DHAVE_CONFIG_H=1 -I. -I. -I. -I. -I. -Iintl -I/sw/include
-I./intl - | \
sh ./hcachever.sh hcversion.h
cd . && /bin/sh /Users/zoul/Code/mutt-1.5.17/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
Making all in m4
/bin/sh: line 0: cd: m4: No such file or directory
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
}}}
Automake version 1.9.6.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3021#comment:2>