Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.47479
+ umask 022
+ cd /net/samba/home/jmjt/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /net/samba/home/jmjt/rpmbuild/BUILD
+ rm -rf gnokii-0.6.23
+ /usr/bin/bzip2 -dc /net/samba/home/jmjt/rpmbuild/SOURCES/gnokii-0.6.23.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd gnokii-0.6.23
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ install -pm 644 /net/samba/home/jmjt/rpmbuild/SOURCES/gnokii-smsd2mail.sh smsd2mail.sh
+ install -pm 644 /net/samba/home/jmjt/rpmbuild/SOURCES/gnokii-smsd-README.smsd2mail README.smsd2mail
+ '[' x86_64 == x86_64 -a -e configure ']'
+ iconv -f iso8859-2 -t utf8 -o iconv.tmp ChangeLog
+ mv iconv.tmp ChangeLog
+ iconv -f iso8859-2 -t utf8 -o iconv.tmp Docs/CREDITS
+ mv iconv.tmp Docs/CREDITS
+ iconv -f iso8859-2 -t utf8 -o iconv.tmp Docs/README
+ mv iconv.tmp Docs/README
+ iconv -f iso8859-2 -t utf8 -o iconv.tmp COPYRIGHT
+ mv iconv.tmp COPYRIGHT
+ iconv -f iso8859-2 -t utf8 -o iconv.tmp smsd/ChangeLog
+ mv iconv.tmp smsd/ChangeLog
+ iconv -f iso8859-2 -t utf8 -o iconv.tmp xgnokii/ChangeLog
+ mv iconv.tmp xgnokii/ChangeLog
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.75109
+ umask 022
+ cd /net/samba/home/jmjt/rpmbuild/BUILD
+ cd gnokii-0.6.23
+ LANG=C
+ export LANG
+ unset DISPLAY
+ libtoolize -c -f
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
+ glib-gettextize -f -c
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

+ intltoolize --force --copy --automake
+ aclocal -I m4/
configure.in:69: warning: macro `AM_LANGINFO_CODESET' not found in library
+ autoheader -I m4/
+ automake --add-missing
configure.in:49: installing `./compile'
configure.in:43: installing `./missing'
configure.in:43: installing `./install-sh'
common/Makefile.am: installing `./depcomp'
+ echo 'AC_DEFUN([AC_TYPE_LONG_LONG_INT], "")'
+ echo 'AC_DEFUN([AC_TYPE_LONG_DOUBLE], "")'
+ autoconf -f
configure.in:69: error: possibly undefined macro: AM_LANGINFO_CODESET
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
error: Bad exit status from /var/tmp/rpm-tmp.75109 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.75109 (%build)
