2ndQuadrant / bdr-postgres

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FATAL: could not open directory "/usr/local/share/postgresql/timezonesets": No such file or directory

TLINDEN opened this issue · comments

The tarball https://github.com/2ndQuadrant/bdr-postgres/archive/bdr-pg/REL9_4_STABLE.zip doesn't contain the timezone files, which are usually contained in postgresql source tarball.

I ran configure as:

configure_args=' '''--with-libraries=/usr/local/lib''' '''--with-includes=/usr/local/include''' '''--enable-thread-safety''' '''--disable-debug''' '''--without-ldap''' '''--enable-nls''' '''--without-pam''' '''--with-openssl''' '''--with-system-tzdata=/usr/share/zoneinfo''' '''--without-libxml''' '''--without-gssapi''' '''--prefix=/usr/local''' '''--localstatedir=/var''' '''--mandir=/usr/local/man''' '''--infodir=/usr/local/info/''' '''--build=amd64-portbld-freebsd10.3''' '''build_alias=amd64-portbld-freebsd10.3''' '''CC=cc''' '''CFLAGS=-O2 -pipe -fstack-protector -fno-strict-aliasing''' '''LDFLAGS= -L/usr/local/lib -lpthread -L/usr/local/lib -fstack-protector''' '''LIBS=''' '''CPPFLAGS=-I/usr/local/include''' '''CPP=cpp''' '''LDFLAGS_SL=''''

However, if I opt to use PGs tz data, then I get:

LOG: could not open directory "/usr/local/share/postgresql/timezone": No such file or directory

So whatever I configure, both settings result in an unusable postgresql.

works now.