<p>While attempting to install some ports, I experienced a frequent error:</p><p>autom4te: need GNU m4 1.4 or later: /usr/local/bin/gm4                                                    <br></p><p>gmake[2]: *** [<a href="http://autoconf.in">autoconf.in</a>] Error 1 </p>
<p></p><p>The three ports were Gwenview 1.4, SeaMonkey, and Kaffeine, in that order.  Here is the output:</p><p></p><p>1.  WHILE ATTEMPTING TO INSTALL GWENVIEW 1.4.x:<br><br>===&gt;   Returning to build of automake-1.10.1                      <br>
===&gt;  Patching for automake-1.10.1                                <br>===&gt;   automake-1.10.1 depends on file: /usr/local/bin/perl5.8.9 - found<br>===&gt;  Applying FreeBSD patches for automake-1.10.1                      <br>
===&gt;   automake-1.10.1 depends on file: /usr/local/bin/perl5.8.9 - found<br>===&gt;   automake-1.10.1 depends on file: /usr/local/bin/autoconf-2.62 - not found<br>===&gt;    Verifying install for /usr/local/bin/autoconf-2.62 in /usr/ports/devel/autoconf262<br>
===&gt;  Vulnerability check disabled, database not found                                    <br>=&gt; autoconf-2.62.tar.bz2 doesn&#39;t seem to exist in /usr/ports/distfiles/.                  <br>=&gt; Attempting to fetch from <a href="http://ftp.gnu.org/gnu/autoconf/">http://ftp.gnu.org/gnu/autoconf/</a>.                             <br>
autoconf-2.62.tar.bz2                         100% of 1138 kB  247 kBps                   <br>===&gt;  Extracting for autoconf-2.62                                                        <br>=&gt; MD5 Checksum OK for autoconf-2.62.tar.bz2.                                             <br>
=&gt; SHA256 Checksum OK for autoconf-2.62.tar.bz2.                                          <br>===&gt;   autoconf-2.62 depends on file: /usr/local/bin/perl5.8.9 - found                    <br>===&gt;  Patching for autoconf-2.62                                                          <br>
===&gt;   autoconf-2.62 depends on file: /usr/local/bin/perl5.8.9 - found                    <br>===&gt;  Applying FreeBSD patches for autoconf-2.62                                          <br>===&gt;   autoconf-2.62 depends on executable: gm4 - found                                   <br>
===&gt;   autoconf-2.62 depends on executable: help2man - found                              <br>===&gt;   autoconf-2.62 depends on executable: gmake - found                                 <br>===&gt;   autoconf-2.62 depends on file: /usr/local/bin/perl5.8.9 - found                    <br>
===&gt;  Configuring for autoconf-2.62                                                       <br>checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel             <br>checking whether build environment is sane... yes                                         <br>
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d                         <br>checking for gawk... /usr/bin/awk                                                         <br>checking whether gmake sets $(MAKE)... yes                                                <br>
checking whether /bin/sh -n is known to work... no                                        <br>checking for expr... /bin/expr                                                            <br>checking for GNU M4 that supports accurate traces... /usr/local/bin/gm4                   <br>
checking how m4 supports trace files... --error-output                                    <br>checking for perl... /usr/bin/perl                                                        <br>checking for emacs... no                                                                  <br>
checking for xemacs... no                                                                 <br>checking for emacs... no                                                                  <br>checking where .elc files should go... no                                                 <br>
checking for grep that handles long lines and -e... /usr/bin/grep                         <br>checking for egrep... /usr/bin/grep -E                                                    <br>checking for a sed that does not truncate output... /usr/bin/sed                          <br>
configure: creating ./config.status                                                       <br>config.status: creating tests/Makefile                                                    <br>config.status: creating tests/atlocal                                                     <br>
config.status: creating man/Makefile                                                      <br>config.status: creating lib/emacs/Makefile                                                <br>config.status: creating Makefile                                                          <br>
config.status: creating doc/Makefile                                                      <br>config.status: creating lib/Makefile                                                      <br>config.status: creating lib/Autom4te/Makefile                                             <br>
config.status: creating lib/autoscan/Makefile                                             <br>config.status: creating lib/m4sugar/Makefile                                              <br>config.status: creating lib/autoconf/Makefile                                             <br>
config.status: creating lib/autotest/Makefile                                             <br>config.status: creating bin/Makefile                                                      <br>config.status: WARNING: not linking GNUmakefile to itself                                 <br>
config.status: executing tests/atconfig commands                                          <br>===&gt;  Building for autoconf-2.62                                                          <br>gmake  all-recursive                                                                      <br>
gmake[1]: Entering directory `/usr/ports/devel/autoconf262/work/autoconf-2.62&#39;            <br>Making all in bin                                                                         <br>gmake[2]: Entering directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/bin&#39;        <br>
rm -f autom4te autom4te.tmp                                                               <br>srcdir=&#39;&#39;; \                                                                              <br>          test -f ./<a href="http://autom4te.in">autom4te.in</a> || srcdir=./; \                                           <br>
          sed -e &#39;s|@SHELL[@]|/bin/sh|g&#39; -e &#39;s|@PERL[@]|/usr/bin/perl|g&#39; -e &#39;s|@bindir[@]|/usr/local/bin|g&#39; -e &#39;s|@datadir[@]|/usr/local/share/autoconf-2.62|g&#39; -e &#39;s|@prefix[@]|/usr/local|g&#39; -e &#39;s|@autoconf-name[@]|&#39;`echo autoconf | sed &#39;s&amp;$&amp;-2.62&amp;&#39;`&#39;|g&#39; -e &#39;s|@autoheader-name[@]|&#39;`echo autoheader | sed &#39;s&amp;$&amp;-2.62&amp;&#39;`&#39;|g&#39; -e &#39;s|@autom4te-name[@]|&#39;`echo autom4te | sed &#39;s&amp;$&amp;-2.62&amp;&#39;`&#39;|g&#39; -e &#39;s|@M4[@]|/usr/local/bin/gm4|g&#39; -e &#39;s|@M4_DEBUGFILE[@]|--error-output|g&#39; -e &#39;s|@AWK[@]|/usr/bin/awk|g&#39; -e &#39;s|@RELEASE_YEAR[@]|&#39;`sed &#39;s/^\([0-9][0-9][0-9][0-9]\).*/\1/;q&#39; ../ChangeLog`&#39;|g&#39; -e &#39;s|@VERSION[@]|2.62|g&#39; -e &#39;s|@PACKAGE_NAME[@]|GNU Autoconf|g&#39; -e &#39;s|@configure_input[@]|Generated from <a href="http://autom4te.in">autom4te.in</a>; do not edit by hand.|g&#39; ${srcdir}<a href="http://autom4te.in">autom4te.in</a> &gt;autom4te.tmp                                                                                             <br>
chmod +x autom4te.tmp                                                                                     <br>chmod a-w autom4te.tmp                                                                                    <br>mv autom4te.tmp autom4te                                                                                  <br>
cd ../lib &amp;&amp; gmake  autom4te.cfg                                                                          <br>gmake[3]: Entering directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/lib&#39;                        <br>
rm -f autom4te.cfg autom4te.tmp                                                                           <br>sed -e &#39;s|@SHELL[@]|/bin/sh|g&#39; -e &#39;s|@PERL[@]|/usr/bin/perl|g&#39; -e &#39;s|@bindir[@]|/usr/local/bin|g&#39; -e &#39;s|@datadir[@]|/usr/local/share/autoconf-2.62|g&#39; -e &#39;s|@prefix[@]|/usr/local|g&#39; -e &#39;s|@autoconf-name[@]|&#39;`echo autoconf | sed &#39;s&amp;$&amp;-2.62&amp;&#39;`&#39;|g&#39; -e &#39;s|@autoheader-name[@]|&#39;`echo autoheader | sed &#39;s&amp;$&amp;-2.62&amp;&#39;`&#39;|g&#39; -e &#39;s|@autom4te-name[@]|&#39;`echo autom4te | sed &#39;s&amp;$&amp;-2.62&amp;&#39;`&#39;|g&#39; -e &#39;s|@M4[@]|/usr/local/bin/gm4|g&#39; -e &#39;s|@AWK[@]|/usr/bin/awk|g&#39; -e &#39;s|@VERSION[@]|2.62|g&#39; -e &#39;s|@PACKAGE_NAME[@]|GNU Autoconf|g&#39; ./<a href="http://autom4te.in">autom4te.in</a> &gt;autom4te.tmp                                                                                                      <br>
chmod a-w autom4te.tmp                                                                                    <br>mv autom4te.tmp autom4te.cfg                                                                              <br>gmake[3]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/lib&#39;                         <br>
cd ../lib/m4sugar &amp;&amp; gmake  version.m4                                                                    <br>gmake[3]: Entering directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/lib/m4sugar&#39;                <br>
:;{ \                                                                                                     <br>          echo &#39;# This file is part of -*- Autoconf -*-.&#39; &amp;&amp; \                                            <br>
          echo &#39;# Version of Autoconf.&#39; &amp;&amp; \                                                              <br>          echo &#39;# Copyright (C) 1999, 2000, 2001, 2002, 2006, 2007&#39; &amp;&amp; \                                  <br>
          echo &#39;# Free Software Foundation, Inc.&#39; &amp;&amp; \                                                    <br>          echo  &amp;&amp;\                                                                                       <br>
          echo &#39;m4_define([m4_PACKAGE_NAME],      [GNU Autoconf])&#39; &amp;&amp; \                                   <br>          echo &#39;m4_define([m4_PACKAGE_TARNAME],   [autoconf])&#39; &amp;&amp; \                                       <br>
          echo &#39;m4_define([m4_PACKAGE_VERSION],   [2.62])&#39; &amp;&amp; \                                           <br>          echo &#39;m4_define([m4_PACKAGE_STRING],    [GNU Autoconf 2.62])&#39; &amp;&amp; \                              <br>
          echo &#39;m4_define([m4_PACKAGE_BUGREPORT], [<a href="mailto:bug-autoconf@gnu.org">bug-autoconf@gnu.org</a>])&#39;; \                             <br>        } &gt; version.m4-t                                                                                  <br>
mv version.m4-t version.m4                                                                                <br>gmake[3]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/lib/m4sugar&#39;                 <br>
autom4te_perllibdir=&#39;..&#39;/lib AUTOM4TE_CFG=&#39;../lib/autom4te.cfg&#39;         ../bin/autom4te -B &#39;..&#39;/lib -B &#39;..&#39;/lib         --language M4sh --cache &#39;&#39; --melt ./<a href="http://autoconf.as">autoconf.as</a> -o <a href="http://autoconf.in">autoconf.in</a>                              <br>
autom4te: need GNU m4 1.4 or later: /usr/local/bin/gm4                                                    <br>gmake[2]: *** [<a href="http://autoconf.in">autoconf.in</a>] Error 1                                                                       <br>
gmake[2]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/bin&#39;                         <br>gmake[1]: *** [all-recursive] Error 1                                                                     <br>
gmake[1]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62&#39;                             <br>gmake: *** [all] Error 2                                                                                  <br>
*** Error code 2                                                                                          <br><br>Stop in /usr/ports/devel/autoconf262.<br>*** Error code 1                     <br><br>Stop in /usr/ports/devel/automake110.<br>
*** Error code 1                     <br><br>Stop in /usr/ports/x11/libSM.<br>*** Error code 1             <br><br>Stop in /usr/ports/x11-toolkits/qt33.<br>*** Error code 1                     <br><br>Stop in /usr/ports/x11-toolkits/qt33.<br>
*** Error code 1                     <br><br>Stop in /usr/ports/graphics/gwenview.<br><br><br><br>ON ATTEMPT #2 TO INSTALL GWENVIEW 1.4.x<br><br><br>===&gt;  Building for autoconf-2.62                                                          <br>
gmake  all-recursive                                                                      <br>gmake[1]: Entering directory `/usr/ports/devel/autoconf262/work/autoconf-2.62&#39;            <br>Making all in bin                                                                         <br>
gmake[2]: Entering directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/bin&#39;        <br>autom4te_perllibdir=&#39;..&#39;/lib AUTOM4TE_CFG=&#39;../lib/autom4te.cfg&#39;         ../bin/autom4te -B &#39;..&#39;/lib -B &#39;..&#39;/lib         --language M4sh --cache &#39;&#39; --melt ./<a href="http://autoconf.as">autoconf.as</a> -o <a href="http://autoconf.in">autoconf.in</a>                              <br>
autom4te: need GNU m4 1.4 or later: /usr/local/bin/gm4                                                    <br>gmake[2]: *** [<a href="http://autoconf.in">autoconf.in</a>] Error 1                                                                       <br>
gmake[2]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/bin&#39;                         <br>gmake[1]: *** [all-recursive] Error 1                                                                     <br>
gmake[1]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62&#39;                             <br>gmake: *** [all] Error 2                                                                                  <br>
*** Error code 2                                                                                          <br><br>Stop in /usr/ports/devel/autoconf262.<br>*** Error code 1                     <br><br>Stop in /usr/ports/devel/automake110.<br>
*** Error code 1                     <br><br>Stop in /usr/ports/x11/libSM.<br>*** Error code 1             <br><br>Stop in /usr/ports/x11-toolkits/qt33.<br>*** Error code 1                     <br><br>Stop in /usr/ports/x11-toolkits/qt33.<br>
*** Error code 1                     <br><br>Stop in /usr/ports/graphics/gwenview.<br><br><br>SEAMONKEY<br><br>===&gt;  Building for autoconf-2.62                                                                          <br>
gmake  all-recursive                                                                                      <br>gmake[1]: Entering directory `/usr/ports/devel/autoconf262/work/autoconf-2.62&#39;                            <br>
Making all in bin                                                                                         <br>gmake[2]: Entering directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/bin&#39;                        <br>
autom4te_perllibdir=&#39;..&#39;/lib AUTOM4TE_CFG=&#39;../lib/autom4te.cfg&#39;         ../bin/autom4te -B &#39;..&#39;/lib -B &#39;..&#39;/lib         --language M4sh --cache &#39;&#39; --melt ./<a href="http://autoconf.as">autoconf.as</a> -o <a href="http://autoconf.in">autoconf.in</a>                              <br>
autom4te: need GNU m4 1.4 or later: /usr/local/bin/gm4                                                    <br>gmake[2]: *** [<a href="http://autoconf.in">autoconf.in</a>] Error 1                                                                       <br>
gmake[2]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/bin&#39;                         <br>gmake[1]: *** [all-recursive] Error 1                                                                     <br>
gmake[1]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62&#39;                             <br>gmake: *** [all] Error 2                                                                                  <br>
*** Error code 2                                                                                          <br><br>Stop in /usr/ports/devel/autoconf262.<br>*** Error code 1                     <br><br>Stop in /usr/ports/devel/automake110.<br>
*** Error code 1                     <br><br>Stop in /usr/ports/x11/libSM.<br>*** Error code 1             <br><br>Stop in /usr/ports/www/seamonkey.<br>*** Error code 1                 <br><br>Stop in /usr/ports/www/seamonkey.<br>
<br><br><br><br>KAFFEINE<br><br>===&gt;  Building for autoconf-2.62<br>gmake  all-recursive<br>gmake[1]: Entering directory `/usr/ports/devel/autoconf262/work/autoconf-2.62&#39;<br>Making all in bin<br>gmake[2]: Entering directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/bin&#39;<br>
autom4te_perllibdir=&#39;..&#39;/lib AUTOM4TE_CFG=&#39;../lib/autom4te.cfg&#39;         ../bin/autom4te -B &#39;..&#39;/lib -B &#39;..&#39;/lib         --language M4sh --cache &#39;&#39; --melt ./<a href="http://autoconf.as">autoconf.as</a> -o <a href="http://autoconf.in">autoconf.in</a><br>
autom4te: need GNU m4 1.4 or later: /usr/local/bin/gm4<br>gmake[2]: *** [<a href="http://autoconf.in">autoconf.in</a>] Error 1<br>gmake[2]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/bin&#39;<br>gmake[1]: *** [all-recursive] Error 1<br>
gmake[1]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62&#39;<br>gmake: *** [all] Error 2<br>*** Error code 2<br><br>Stop in /usr/ports/devel/autoconf262.<br>*** Error code 1<br><br>Stop in /usr/ports/devel/automake110.<br>
*** Error code 1<br><br>Stop in /usr/ports/x11/libSM.<br>*** Error code 1<br><br>Stop in /usr/ports/x11-toolkits/qt33.<br>*** Error code 1<br><br>Stop in /usr/ports/x11-toolkits/qt33.<br>*** Error code 1<br><br>Stop in /usr/ports/multimedia/kaffeine.<br>
root@lb71#<br><br> <br></p>