From: Tom Lane <tgl@sss.pgh.pa.us>
To: Laurens Wagemakers <l.wagemakers@truston.com>
Cc: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: Re: GNUmakefile size 0
Date: Thu, 13 May 2004 10:03:32 -0400
Message-ID: <8207.1084457012@sss.pgh.pa.us> (raw)
In-Reply-To: <DB1B4FC9815DD411A01D00B0D03D7907012F9381@nlnt16.truston.com>
References: <DB1B4FC9815DD411A01D00B0D03D7907012F9381@nlnt16.truston.com>
Laurens Wagemakers <l.wagemakers@truston.com> writes:
> [ configure generated a zero-size GNUmakefile ]
> ./configure delivered following error signals:
> configure: warning: TCL/TK support disabled; tcl shell is not in your path
> sed: command garbled: s%@CC_VERSION@%gcc (GCC) 3.3.2 (several times)
I think the latter is the issue. My recollection is that PG 7.0's
configure only expects "gcc --version" to produce a single line of
version info, but recent versions of gcc are more verbose than that.
This leads to a sed script that sed doesn't like, leading to no sed
output into GNUmakefile.
You'll need to hack the configure script to truncate gcc's output to one
line. In CVS tip the relevant bit of the script looks like
# Create compiler version string
if test x"$GCC" = x"yes" ; then
cc_string="GCC `${CC} --version | sed q`"
else
cc_string=$CC
fi
BTW, there is a *very* long list of reasons not to run PG 7.0 anymore;
I think you should take a harder look at upgrading whatever it is you
think needs it.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, l.wagemakers@truston.com
Subject: Re: GNUmakefile size 0
In-Reply-To: <8207.1084457012@sss.pgh.pa.us>
References: <DB1B4FC9815DD411A01D00B0D03D7907012F9381@nlnt16.truston.com> <8207.1084457012@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox