[RPM] 7.4.1 srpm dies running autoconf

From: "Michael J(dot) Hammel" <mhammel(at)rlx(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: [RPM] 7.4.1 srpm dies running autoconf
Date: 2004-03-02 19:02:55
Message-ID: 1078254175.13351.10.camel@galileo.dev.corp.rlx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

I'm trying to build 7.4.1 using the PGDG srpm. I've resolved the
obvious dependencies, but I keep running into a problem with autoconf.
The error I see comes right after applying patch 8:

Patch #8 (postgresql-7.4.1-com_err.patch):
+ patch -p1 -s
+ aclocal
+ autoconf
/usr/bin/autoconf: /var/tmp/autoconf-root/usr/bin/autom4te: No such file
or directory
/usr/bin/autoconf: exec: /var/tmp/autoconf-root/usr/bin/autom4te: cannot
execute: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.53244 (%prep)

Note that I added "aclocal" just as a test (its not in the original spec
file), but the error is the same nonetheless. "autom4te" is installed:

mhammel(tty0)$ locate autom4te
/usr/bin/autom4te

If I run /var/tmp/rpm-tmp.<???> by hand it works. Go figure.

Anyone know why rpm/autoconf is trying to run autom4te from that
directory? Is this a problem with my autoconf version (2.57)? It seems
like it has something to do with how RPM calls autoconf, since I can run
the generated script by hand and it works.

Any pointers greatly appreciated. Thanks.
--
Michael J. Hammel
mhammel(at)rlx(dot)com

Browse pgsql-ports by date

  From Date Subject
Next Message Lamar Owen 2004-03-09 15:55:49 Need packaging help for RPMs.
Previous Message B Jordan 2004-02-28 01:46:48 Installation failed on FreeBSD