[Nut-upsdev] Red Hat Enterprise 3 build
Ronald Reed
rreed at ops.sgp.arm.gov
Mon Apr 9 20:04:37 UTC 2007
OK, I updated automake and autoconf:
[buildbot at crypt trunk]$ autoconf --version
autoconf (GNU Autoconf) 2.61
[buildbot at crypt trunk]$ automake --version
automake (GNU automake) 1.9.6
Now the error is:
[buildbot at crypt trunk]$ autoreconf && ./configure && make
distcheck-light
configure.in:67: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/local/bin/autoconf failed with exit status: 1
So, do I have an older version of libtool also?
Ron
On Mon, 2007-04-09 at 14:13, Charles Lepple wrote:
> On 4/9/07, Ronald Reed <rreed at ops.sgp.arm.gov> wrote:
> > When I do a make, everything seems to go fine until the drivers
> > directory:
> >
> > make[1]: Entering directory `/home/buildbot/trunk/drivers'
> > Makefile:1597: *** missing separator. Stop.
> > make[1]: Leaving directory `/home/buildbot/trunk/drivers'
> > make: *** [all-recursive] Error 1
> >
> >
> > Line 1597 is the last line in the Makefile for the drivers directory.
>
> If this is the same problem you mentioned last night, then I think
> these lines might be the root cause of the "make" error:
>
> $ autoreconf --install
> libtoolize: `config.guess' exists: use `--force' to overwrite
> libtoolize: `config.sub' exists: use `--force' to overwrite
> libtoolize: `ltmain.sh' exists: use `--force' to overwrite
> configure.in:10: `automake requires `AM_CONFIG_HEADER', not
> `AC_CONFIG_HEADER'
> drivers/Makefile.am:35: driverexec_PROGRAMS was already defined in
> condition SOME_DRIVERS_FALSE, which implies condition SOME_DRIVERS_FALSE
> WITH_SERIAL_TRUE
>
> # construct the list of drivers to build
> driverexec_PROGRAMS (User, where = drivers/Makefile.am:35) +=
> {
> SOME_DRIVERS_TRUE => $(DRIVER_BUILD_LIST)
> SOME_DRIVERS_FALSE =>
> }
>
> That last part repeats multiple times, once for each driver I believe.
> and then I get hundreds of the following:
>
> Use of uninitialized value in list assignment at /usr/bin/automake line
> 8448.
> Use of uninitialized value in concatenation (.) or string at
> /usr/bin/automake line 8449.
> : warning: automake does not support driverexec_PROGRAMS being defined
> conditionally
>
>
> > Here is a list of the make versions for my machine:
> >
> > automake-1.6.3-5
> > automake15-1.5-7
> > automake14-1.4p6-6
> > autoconf-2.57-3
> > autoconf213-2.13-6
>
> What happens if you type "automake --version"?
>
> You can probably get rid of automake15, automake14 and autoconf213. It
> might be that automake-1.6 is not new enough.
>
> Peter, any ideas?
--
Ronald Reed - RHCE, GCUX
Manager of Computer Operations
ARM SGP ACRF Site
(580)388-4053 Ext. 114
rreed at ops.sgp.arm.gov
More information about the Nut-upsdev
mailing list