Problem installing Postgresql

Started by Alalmost 25 years ago4 messagesgeneral
Jump to latest
#1Al
starbuckk1@yahoo.com

I am running OpenLinux 2.3 (Caldera) out of the box. Trying to install
PostGreSQL I seem to be unable to get past the 'make' process. Errors I
get at the end of the process are:

make[3]: *** [pg_backup_custom.o] Error 1
make[3]: Leaving directory `/addon/postgresql-7.1/src/bin/pg_dump'
make[2]: *** [all] Error 2
make[3]: Leaving directory `/addon/postgresql-7.1/src/bin/'
make[1]: *** [all] Error 2
make[3]: Leaving directory `/addon/postgresql-7.1/src'
make: *** [all] Error 2

Some examples of errors I see in the output are:

pg_backup_custom.c: In function `_DoDeflate':
pg_backup_custom.c:925:`z_streamp' undeclared (first use in this function)
pg_backup_custom.c:925: parse error before `zp'
pg_backup_custom.c:928: 'ctx' undecleared (first use in this function)

Please note that I am fairly new to Linux so a lot of this isn't making
sense. Any ideas?

#2Gilles Darold
gilles@darold.net
In reply to: Al (#1)
Re: Problem installing Postgresql

Hi,

What package do you have downloaded ? You need the full install not just
the base package.

Regards,

Gilles

Al wrote:

Show quoted text

I am running OpenLinux 2.3 (Caldera) out of the box. Trying to install
PostGreSQL I seem to be unable to get past the 'make' process. Errors I
get at the end of the process are:

make[3]: *** [pg_backup_custom.o] Error 1
make[3]: Leaving directory `/addon/postgresql-7.1/src/bin/pg_dump'
make[2]: *** [all] Error 2
make[3]: Leaving directory `/addon/postgresql-7.1/src/bin/'
make[1]: *** [all] Error 2
make[3]: Leaving directory `/addon/postgresql-7.1/src'
make: *** [all] Error 2

Some examples of errors I see in the output are:

pg_backup_custom.c: In function `_DoDeflate':
pg_backup_custom.c:925:`z_streamp' undeclared (first use in this function)
pg_backup_custom.c:925: parse error before `zp'
pg_backup_custom.c:928: 'ctx' undecleared (first use in this function)

Please note that I am fairly new to Linux so a lot of this isn't making
sense. Any ideas?

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Al (#1)
Re: Problem installing Postgresql

Al <starbuckk1@yahoo.com> writes:

I am running OpenLinux 2.3 (Caldera) out of the box.

Caldera has an extremely ancient zlib installed. Either update to a
more recent zlib, or manually undefine HAVE_LIBZ in src/include/config.h
after running configure. (7.1.1 will be less trusting about whether
zlib is up to date or not...)

regards, tom lane

#4mike
matrix@quadrent.net
In reply to: Al (#1)
Re: Problem installing Postgresql

You should be using gmake instead of make.

./configure
gmake
gmake install

Mike

Show quoted text

I am running OpenLinux 2.3 (Caldera) out of the box. Trying to install
PostGreSQL I seem to be unable to get past the 'make' process. Errors I
get at the end of the process are:

make[3]: *** [pg_backup_custom.o] Error 1
make[3]: Leaving directory `/addon/postgresql-7.1/src/bin/pg_dump'
make[2]: *** [all] Error 2
make[3]: Leaving directory `/addon/postgresql-7.1/src/bin/'
make[1]: *** [all] Error 2
make[3]: Leaving directory `/addon/postgresql-7.1/src'
make: *** [all] Error 2

Some examples of errors I see in the output are:

pg_backup_custom.c: In function `_DoDeflate':
pg_backup_custom.c:925:`z_streamp' undeclared (first use in this function)
pg_backup_custom.c:925: parse error before `zp'
pg_backup_custom.c:928: 'ctx' undecleared (first use in this function)

Please note that I am fairly new to Linux so a lot of this isn't making
sense. Any ideas?

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl