Re: GNUmakefile size 0 - Mailing list pgsql-admin

From Laurens Wagemakers
Subject Re: GNUmakefile size 0
Date
Msg-id DB1B4FC9815DD411A01D00B0D03D7907012F938A@nlnt16.truston.com
Whole thread Raw
In response to GNUmakefile size 0  (Laurens Wagemakers <l.wagemakers@truston.com>)
Responses Re: GNUmakefile size 0
Re: GNUmakefile size 0
List pgsql-admin
Hai Tom,

I just talked to the developers and we can use 7.1 now.

So know I'm compiling 7.1.3 on Solaris as stated in my other mail however
when I run ./configure I get:

Checking types of arguments for accept()...
configure: error: could not > determine argument types)

Regards,

Laurens

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Thursday, May 13, 2004 4:04 PM
To: Laurens Wagemakers
Cc: 'pgsql-admin@postgresql.org'
Subject: Re: [ADMIN] GNUmakefile size 0


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

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: GNUmakefile size 0
Next
From: "CHRIS HOOVER"
Date:
Subject: Help with foreign key creation problem