Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Configuring nagiosplug from Nagios 1.3 with autoconf 2.13



Josh Glover writes:
 > Any autotools wizards out there who have an idea of how to debug the following?

Wizard, no; long experience leading to fear and loathing, yes.

 > checking for dig... /usr/bin/dig
 > ./configure: line 15344: syntax error near unexpected token `}'
 > ./configure: line 15344: `$as_echo "no" >&6; }'

configure is a portable shell script generated by autoconf from an m4
program.  autoconf m4 (not be be confused with m4 as used elsewhere,
same program, but if GNU had a program rights lobby there would be a
law against the way it's used by autoconf) is the macro language from
hell.  That error is either a stray `}' in the source or borked m4
quoting (which is even worse than shell quoting), and it's likely to
be hard to tell which from the configure.ac source.

Your best bet is to report the bug and let the nagios people fix
configure.ac.  You should look at the configure script itself, and
figure out why that `}' gets picked up by your shell as invalid
syntax, and fix it in configure.  If your package builder doesn't like
starting in the middle, then you can try to work backward from there
and fix configure.ac.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links