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

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 (view raw or flat)
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

pgsql-patches by date

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

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