Forum OpenACS Q&A: Re: can not install Postgresql 7.2.3/4 on SUSE 8.2

Collapse
Posted by Christian Eva on
Hi Francis

Just by accident found your post. Yes there is an error when you compile postgres 7.2.4 on SuSE 8.2. I had to fix a minor error, there is an include file missing in ./src/backend/commands/copy.c

this is the diff:
cjeva@sosonline:/t/tool/build/postgresql-7.2.4/src/backend/commands> diff copy.c copy.c.orig
8d7
<  * 2003-05-21 cjk: included <errno.h> as there are errors on Suse8.2 without it!
17,18d15
< #include <errno.h>
<
cjeva@sosonline:/t/tool/build/postgresql-7.2.4/src/backend/commands>

This is my configure:

configure=--prefix=/t/tool/pg724 --with-tcl --with-tclconfig=/t/tool/tcl835/lib --enable-locale --enable-multibyte

I can send you my compile script and logfiles of the compilation if you have furhter problems.

With 7.3.4 it should compile without problems.

Only if you have the Tcl installation non standard (as I have) you need some patches in some makefiles in order to properly locate tcl.h

Christian