Skip site navigation (1) Skip section navigation (2)

Re: GNUmakefile size 0

From: Laurens Wagemakers <l(dot)wagemakers(at)truston(dot)com>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: GNUmakefile size 0
Date: 2004-05-13 14:19:36
Message-ID: DB1B4FC9815DD411A01D00B0D03D7907012F938A@nlnt16.truston.com (view raw or flat)
Thread:
Lists: 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(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Thursday, May 13, 2004 4:04 PM
To: Laurens Wagemakers
Cc: 'pgsql-admin(at)postgresql(dot)org'
Subject: Re: [ADMIN] GNUmakefile size 0 


Laurens Wagemakers <l(dot)wagemakers(at)truston(dot)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%(at)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

Responses

pgsql-admin by date

Next:From: CHRIS HOOVERDate: 2004-05-13 14:34:00
Subject: Help with foreign key creation problem
Previous:From: Tom LaneDate: 2004-05-13 14:03:32
Subject: Re: GNUmakefile size 0

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group