Re: tz error prevents postmaster.c compiling...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: tz error prevents postmaster.c compiling...
Date: 2004-06-25 20:36:56
Message-ID: 28024.1088195816@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Simon Riggs <simon(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2004-06-25 20:57:36 Re: tz error prevents postmaster.c compiling...
Previous Message Simon Riggs 2004-06-25 20:21:26 tz error prevents postmaster.c compiling...