MTR 0.70 fails to compile

Jeremy Chadwick freebsd at jdc.parodius.com
Thu May 4 12:50:56 UTC 2006


On Thu, May 04, 2006 at 08:38:14AM -0400, Scott Tuc Ellentuch at T-B-O-H wrote:
> config.status: executing default-1 commands
> ===>  Building for mtr-0.70
> cd . && autoheader
> WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
> WARNING: and `config.h.top', to define templates for `config.h.in'
> WARNING: is deprecated and discouraged.
> 
> WARNING: Using the third argument of `AC_DEFINE' and
> WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
> WARNING: `acconfig.h':
> 
> WARNING:   AC_DEFINE([NEED_MAIN], 1,
> WARNING:             [Define if a function `main' is needed.])
> 
> WARNING: More sophisticated templates can also be produced, see the
> WARNING: documentation.
> Can't locate object method "path" via package "Autom4te::Request" at /usr/local/bin/autom4te line 81.
> autoheader: autom4te failed with exit status: 1
>  at /usr/local/bin/autoheader line 163
> gmake: *** [stamp-h.in] Error 1
> *** Error code 2

I cannot reproduce this on FreeBSD 4.11-STABLE, 5.4-STABLE, or
6.1-PRERELEASE.  See below, as our output differs -- possibly you
have some old or non-port version of autoheader floating around?

-- 
| Jeremy Chadwick                                 jdc at parodius.com |
| Parodius Networking                        http://www.parodius.com/ |
| UNIX Systems Administrator                   Mountain View, CA, USA |
| Making life hard for others since 1977.                             |


--- FreeBSD 4.11-STABLE
===>  Building for mtr-nox11-0.70
cd . && /usr/ports/net/mtr/work/mtr-0.70/missing autoheader
WARNING: `autoheader' is missing on your system.  You should only need it if
         you modified `acconfig.h' or `configure.in'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.
gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/net/mtr/work/mtr-0.70'
Making all in img
gmake[2]: Entering directory `/usr/ports/net/mtr/work/mtr-0.70/img'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/net/mtr/work/mtr-0.70/img'
gmake[2]: Entering directory `/usr/ports/net/mtr/work/mtr-0.70'
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe  -Wall -c mtr.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe  -Wall -c net.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe  -Wall -c dns.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe  -Wall -c raw.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe  -Wall -c split.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe  -Wall -c display.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe  -Wall -c report.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe  -Wall -c getopt.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe  -Wall -c getopt1.c
getopt1.c: In function `getopt_long':
getopt1.c:66: warning: implicit declaration of function `_getopt_internal'
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe  -Wall -c select.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe  -Wall -c curses.c
cc  -O -pipe  -Wall  -o mtr  curses.o mtr.o net.o dns.o raw.o split.o display.o report.o getopt.o getopt1.o select.o  -lm -ltermcap
gmake[2]: Leaving directory `/usr/ports/net/mtr/work/mtr-0.70'
gmake[1]: Leaving directory `/usr/ports/net/mtr/work/mtr-0.70'


--- FreeBSD 5.4-STABLE
===>  Building for mtr-nox11-0.70
cd . && /usr/ports/net/mtr/work/mtr-0.70/missing autoheader
WARNING: `autoheader' is missing on your system.  You should only need it if
         you modified `acconfig.h' or `configure.in'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.
gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/net/mtr/work/mtr-0.70'
Making all in img
gmake[2]: Entering directory `/usr/ports/net/mtr/work/mtr-0.70/img'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/net/mtr/work/mtr-0.70/img'
gmake[2]: Entering directory `/usr/ports/net/mtr/work/mtr-0.70'
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe -march=pentium4 -Wall -c mtr.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe -march=pentium4 -Wall -c net.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe -march=pentium4 -Wall -c dns.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe -march=pentium4 -Wall -c raw.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe -march=pentium4 -Wall -c split.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe -march=pentium4 -Wall -c display.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe -march=pentium4 -Wall -c report.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe -march=pentium4 -Wall -c getopt.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe -march=pentium4 -Wall -c getopt1.c
getopt1.c: In function `getopt_long':
getopt1.c:66: warning: implicit declaration of function `_getopt_internal'
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe -march=pentium4 -Wall -c select.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe -march=pentium4 -Wall -c curses.c
cc  -O -pipe -march=pentium4 -Wall  -o mtr  curses.o mtr.o net.o dns.o raw.o split.o display.o report.o getopt.o getopt1.o select.o  -lm -ltermcap
gmake[2]: Leaving directory `/usr/ports/net/mtr/work/mtr-0.70'
gmake[1]: Leaving directory `/usr/ports/net/mtr/work/mtr-0.70'


--- FreeBSD 6.1-PRERELEASE
===>  Building for mtr-nox11-0.70
cd . && /usr/ports/net/mtr/work/mtr-0.70/missing autoheader
WARNING: `autoheader' is missing on your system.  You should only need it if
         you modified `acconfig.h' or `configure.in'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.
gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/net/mtr/work/mtr-0.70'
Making all in img
gmake[2]: Entering directory `/usr/ports/net/mtr/work/mtr-0.70/img'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/net/mtr/work/mtr-0.70/img'
gmake[2]: Entering directory `/usr/ports/net/mtr/work/mtr-0.70'
cc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -c mtr.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -c net.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -c dns.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -c raw.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -c split.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -c display.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -c report.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -c getopt.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -c getopt1.c
getopt1.c: In function `getopt_long':
getopt1.c:66: warning: implicit declaration of function `_getopt_internal'
cc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -c select.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -c curses.c
cc  -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall  -o mtr  curses.o mtr.o net.o dns.o raw.o split.o display.o report.o getopt.o getopt1.o select.o  -lm -ltermcap
gmake[2]: Leaving directory `/usr/ports/net/mtr/work/mtr-0.70'
gmake[1]: Leaving directory `/usr/ports/net/mtr/work/mtr-0.70'



More information about the freebsd-ports mailing list