Return-Path: owner-postman
Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id OAA17614 for postgres-dist; Fri, 26 Nov 1993 14:03:09 -0800
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199311262203.OAA17614@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost didn't use HELO protocol
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from mailgzrz.TU-Berlin.DE (mailgzrz.TU-Berlin.DE [130.149.4.10]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id OAA17604 for <postgres@nobozo.CS.Berkeley.EDU>; Fri, 26 Nov 1993 14:02:37 -0800
Received: from marie.physik.TU-Berlin.DE by mailgzrz.TU-Berlin.DE (5.65c/ZRZ-MX)
          for <postgres@nobozo.CS.Berkeley.EDU>
	  id AA01066; Fri, 26 Nov 1993 23:01:56 +0100
Received: by marie.physik.tu-berlin.de (5.65c8/SMI-SVR4)
	id AA25731; Fri, 26 Nov 1993 23:01:54 +0100
Message-Id: <199311262201.AA25731@marie.physik.tu-berlin.de>
Subject: Re: Installation / Linux
To: kskim@hyowon.pusan.ac.kr (kim kyongsok)
Date: Fri, 26 Nov 93 18:12:23 MET
From: wpp@marie.physik.tu-berlin.de (Kai Petzke)
Cc: postgres@postgres.Berkeley.EDU
In-Reply-To: <9311270353.AA13125@hyowon.pusan.ac.kr>; from "kim kyongsok" at Nov 26, 93 12:53 pm
X-Mailer: ELM [version 2.3 PL11]
Content-Type: text
Content-Length: 2301
Resent-To: postgres-dist@postgres.Berkeley.EDU
Resent-Date: Fri, 26 Nov 93 14:03:09 -0800
Resent-XMts: smtp

Hi,

> i have just installed linux and am interested in
> installing postgres on linux.
> 
> one person seems trying to install it.
> i wonder if there is anybody who successfully installed it on linux.

Well, there are several people, who have installed postgres successfully.

There are two distributions of the Postgres 4.0.1 port for Linux:
source and binary.  The problems you saw, were with the source
distribution.  However, for easy installation, you should always
go with the binary distribution.

I just tried once again to install this binary distribution.  It took
me half an hour, including the download of the file over a 14.400 bps
modem (I deleted all my copies of my original release).  All I did, was:

- get the postgres4.0.1a.bin file.
- create a user postgres, home directory /usr/postgres, user ID 6,
  with /bin/tcsh as shell.
- login as postgres.
- set the PATH environment, so it includes /usr/postgres/bin.
- set the POSTGRESHOME environment to /usr/postgres
- type: zcat postgres4.0.1a.bin | gtar xfv -
- type: ./moveme.bin  to get all names right.
- run initdb

It is a bit of a hassle, but it should all be described in the files
postgres.README and postgres-setup.me.  The later is in the postgres
documentation package.

The kernel patch in the postgres.README is no longer needed - the
relevant bugs were corrected.  Ipc is now in the standard kernel
distribution, but be sure to answer "yes" to the IPC question, when
you configure your kernel.

The ipcs and ipcrm binaries hopefully find their way into the standard
linux distributions soon.  For ipc, they play the same role as "ls"
and "rm" for a file system.

The other alternative for obtaining postgres for Linux is the Yggdrasil
CD.  It contains the Postgres 4.1 version.

The problems, you just saw, were with the source release.  Two of
three problems could be fixed by reading the postgres.README.  There
were a lot of subtle changes in Linux header files, libraries, etc.
within the last months, which now break the compile.  I assumed, that
the source is only of interest to people, who know a lot about programming.
They should be able themselves to fix the minor problems they encounter
(and from e-mail I know of several people, who did so).  So I was lazy
uploading patches.

I hope, this helps.


Kai

