Mutt 1.5 on Aix 5.3

Anyone out there successfully compile mutt 1.5 on AIX 5.3?

I get an error on 'make install' but can't sort out what the issue is:

# make install
./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
make install-recursive
Making install in m4
Target "install-exec-am" is up to date.
Target "install-data-am" is up to date.
Target "install" is up to date.
Making install in po
/bin/sh `case "./mkinstalldirs" in /
) echo "./mkinstalldirs" ;; ) echo ".././mkinstalldirs" ;; esac` /usr/local/share
installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/mutt.mo
installing eu.gmo as /usr/local/share/locale/eu/LC_MESSAGES/mutt.mo
installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/mutt.mo
installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/mutt.mo
installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/mutt.mo
installing uk.gmo as /usr/local/share/locale/uk/LC_MESSAGES/mutt.mo
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/mutt.mo
installing pl.gmo as /usr/local/share/locale/pl/LC_MESSAGES/mutt.mo
installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/mutt.mo
installing cs.gmo as /usr/local/share/locale/cs/LC_MESSAGES/mutt.mo
installing id.gmo as /usr/local/share/locale/id/LC_MESSAGES/mutt.mo
installing sk.gmo as /usr/local/share/locale/sk/LC_MESSAGES/mutt.mo
installing ko.gmo as /usr/local/share/locale/ko/LC_MESSAGES/mutt.mo
installing el.gmo as /usr/local/share/locale/el/LC_MESSAGES/mutt.mo
installing zh_TW.gmo as /usr/local/share/locale/zh_TW/LC_MESSAGES/mutt.mo
installing zh_CN.gmo as /usr/local/share/locale/zh_CN/LC_MESSAGES/mutt.mo
installing pt_BR.gmo as /usr/local/share/locale/pt_BR/LC_MESSAGES/mutt.mo
installing eo.gmo as /usr/local/share/locale/eo/LC_MESSAGES/mutt.mo
installing gl.gmo as /usr/local/share/locale/gl/LC_MESSAGES/mutt.mo
installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/mutt.mo
installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/mutt.mo
installing lt.gmo as /usr/local/share/locale/lt/LC_MESSAGES/mutt.mo
installing tr.gmo as /usr/local/share/locale/tr/LC_MESSAGES/mutt.mo
installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/mutt.mo
installing hu.gmo as /usr/local/share/locale/hu/LC_MESSAGES/mutt.mo
installing et.gmo as /usr/local/share/locale/et/LC_MESSAGES/mutt.mo
installing ca.gmo as /usr/local/share/locale/ca/LC_MESSAGES/mutt.mo
installing bg.gmo as /usr/local/share/locale/bg/LC_MESSAGES/mutt.mo
installing ga.gmo as /usr/local/share/locale/ga/LC_MESSAGES/mutt.mo
if test "mutt" = "gettext"; then /bin/sh `case "./mkinstalldirs" in /
) echo "./mkinstalldirs" ;; ) echo ".././mkinstalldirs" ;; esac` /usr/local/share/gettext/po; .././install-sh -c -m 644 ./Makefile.in.in /usr/local/share/gettext/po/Makefile.in.in; else : ; fi
Target "install" is up to date.
Making install in intl
if test "mutt" = "gettext" && test '' = 'intl-compat.o'; then /bin/sh `case "./mkinstalldirs" in /
) echo "./mkinstalldirs" ;; ) echo ".././mkinstalldirs" ;; esac` /usr/local/lib /usr/local/include; .././install-sh -c -m 644 libintl.h /usr/local/include/libintl.h; @LIBTOOL@ --mode=install .././install-sh -c -m 644 libintl.a /usr/local/lib/libintl.a; else : ; fi
if test 'no' = yes; then /bin/sh `case "./mkinstalldirs" in /
) echo "./mkinstalldirs" ;; ) echo ".././mkinstalldirs" ;; esac` /usr/local/lib; temp=/usr/local/lib/t-charset.alias; dest=/usr/local/lib/charset.alias; if test -f /usr/local/lib/charset.alias; then orig=/usr/local/lib/charset.alias; sed -f ref-add.sed $orig > $temp; .././install-sh -c -m 644 $temp $dest; rm -f $temp; else if test no = no; then orig=charset.alias; sed -f ref-add.sed $orig > $temp; .././install-sh -c -m 644 $temp $dest; rm -f $temp; fi; fi; /bin/sh `case "./mkinstalldirs" in /) echo "./mkinstalldirs" ;; ) echo ".././mkinstalldirs" ;; esac` /usr/local/share/locale; test -f /usr/local/share/locale/locale.alias && orig=/usr/local/share/locale/locale.alias || orig=./locale.alias; temp=/usr/local/share/locale/t-locale.alias; dest=/usr/local/share/locale/locale.alias; sed -f ref-add.sed $orig > $temp; .././install-sh -c -m 644 $temp $dest; rm -f $temp; else : ; fi
if test "mutt" = "gettext"; then /bin/sh `case "./mkinstalldirs" in /
) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/local/share/gettext/intl; .././install-sh -c -m 644 VERSION /usr/local/share/gettext/intl/VERSION; .././install-sh -c -m 644 ChangeLog.inst /usr/local/share/gettext/intl/ChangeLog; dists="COPYING.LIB-2 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gettext.h gettextP.h hash-string.h libgnuintl.h libgettext.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y localcharset.c intl-compat.c"; for file in $dists; do .././install-sh -c -m 644 ./$file /usr/local/share/gettext/intl/$file; done; chmod a+x /usr/local/share/gettext/intl/config.charset; dists="plural.c"; for file in $dists; do if test -f $file; then dir=.; else dir=.; fi; .././install-sh -c -m 644 $dir/$file /usr/local/share/gettext/intl/$file; done; dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c"; for file in $dists; do rm -f /usr/local/share/gettext/intl/$file; done; else : ; fi
Target "install" is up to date.
Making install in doc
sed -e 's,@sysconfdir\@,/usr/local/etc,g' -e 's,@bindir\@,/usr/local/bin,g' -e 's,@docdir\@,/usr/local/doc/mutt,g' ./mutt.man > mutt.1
(cd .. && make makedoc)
if gcc -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./intl -I/usr/local/include -Wall -pedantic -g -O2 -MT makedoc.o -MD -MP -MF ".deps/makedoc.Tpo" -c -o makedoc.o makedoc.c; then mv -f ".deps/makedoc.Tpo" ".deps/makedoc.Po"; else rm -f ".deps/makedoc.Tpo"; exit 1; fi
gcc -Wall -pedantic -g -O2 -o makedoc makedoc.o
gcc -E -I. -I.. -I/usr/local/include -I.. -DSYSCONFDIR=\"/usr/local/etc\" -DBINDIR=\"/usr/local/bin\" -DHAVE_CONFIG_H=1 -I../intl -D_MAKEDOC -C ../init.h | ../makedoc -m | cat ./muttrc.man.head - ./muttrc.man.tail > muttrc.man
make ../makedoc
Target "../makedoc" is up to date.
( sed -e "s/@VERSION\@/`cat ../VERSION` (`cut -d\\" -f2 ../reldate.h`)/" ./manual.xml.head ; gcc -E -I. -I.. -I/usr/local/include -I.. -DSYSCONFDIR=\"/usr/local/etc\" -DBINDIR=\"/usr/local/bin\" -DHAVE_CONFIG_H=1 -I../intl -D_MAKEDOC -C ../init.h | ../makedoc -s ) | cat - ./manual.xml.tail > manual.xml
/bin/sh: 0403-057 Syntax error at line 1 : `(' is not matched.
make: 1254-004 The error code from the last command is 2.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 2.

Stop.