Re: tz error prevents postmaster.c compiling... - Mailing list pgsql-patches

From Tom Lane
Subject Re: tz error prevents postmaster.c compiling...
Date
Msg-id 28024.1088195816@sss.pgh.pa.us
Whole thread Raw
In response to tz error prevents postmaster.c compiling...  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: tz error prevents postmaster.c compiling...
List pgsql-patches
Simon Riggs <simon@2ndquadrant.com> writes:
> Going backwards at a rate of knots, I can't even get postmaster to
> compile now.... and I'm talking about the one from cvstip, NOT with my

> postmaster.c:1046: error: storage size of `tz' isn't known
> postmaster.c:1048: warning: implicit declaration of function
> `gettimeofday'

You probably need to rerun configure.  It sounds like <sys/time.h>
isn't getting imported because HAVE_SYS_TIME_H isn't defined ...

> ...for the last few days, I've been getting this when I attempt initdb
> with -d option enabled

> LOG:  could not open directory "/share/timezone": No such file or
> directory

I am suspicious that this is a configuration problem too.  "make
distclean" and a full rebuild seems indicated.

            regards, tom lane

pgsql-patches by date:

Previous
From: Simon Riggs
Date:
Subject: tz error prevents postmaster.c compiling...
Next
From: Simon Riggs
Date:
Subject: Re: tz error prevents postmaster.c compiling...