Thread: OpenBSD 3.5, PostgreSQL 8.0.0beta1 make fails

OpenBSD 3.5, PostgreSQL 8.0.0beta1 make fails

From
"Andrew M. Campbell"
Date:
I tried to build postgresql-8.0.0beta1 on an OpenBSD 3.5 (i386) system and it
failed.  The configure script ran fine with no errors, but when I typed make
it complained that I needed gmake.  So I installed gmake and it's
dependencies.  So I run gmake and get this error (see attached file,
gmake.error).  Don't know if this is a bug or something extra the needs to be
done to get Postgre to install on OpenBSD.  I didn't see anything special in
the INSTALL or README file.

Thanks,
--
-----------------------------
Andrew M. Campbell
Frank Fletcher Companies Ltd.
6301 Forbing Rd.
Little Rock, AR 72209
(501)562-1000
ACampbell@FletcherAuto.com

Attachment

Re: OpenBSD 3.5, PostgreSQL 8.0.0beta1 make fails

From
Tom Lane
Date:
"Andrew M. Campbell" <ACampbell@FletcherAuto.com> writes:
> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -DFRONTEND
-I../../../src/interfaces/libpq-I../../../src/include   -c -o initdb.o initdb.c 
> initdb.c: In function `get_encoding_from_locale':
> initdb.c:744: `CODESET' undeclared (first use in this function)
> initdb.c:744: (Each undeclared identifier is reported only once
> initdb.c:744: for each function it appears in.)
> gmake[3]: *** [initdb.o] Error 1

This is repaired in CVS tip.  Thanks for the report though.

            regards, tom lane

Re: OpenBSD 3.5, PostgreSQL 8.0.0beta1 make fails

From
Peter Eisentraut
Date:
Andrew M. Campbell wrote:
> I tried to build postgresql-8.0.0beta1 on an OpenBSD 3.5 (i386)
> system and it failed.

Fixed in current sources.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/