Received: from gl.aser.de (gl.aser.de [213.252.128.30]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5BF1hE28541 for ; Mon, 11 Jun 2001 11:01:43 -0400 (EDT) (envelope-from gcg@gl.aser.de) Received: from pinguin.gl.aser.de (pec-152-217.tnt8.b2.uunet.de [149.225.152.217]) by gl.aser.de (Postfix) with ESMTP id 8674721E0E; Mon, 11 Jun 2001 17:13:41 +0200 (MEST) Received: from pinguin (pinguin.gl.aser.de [192.168.1.111]) by pinguin.gl.aser.de (Postfix) with SMTP id D148212C54; Mon, 11 Jun 2001 17:02:26 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Christof Glaser Organization: gl.aser software engineering . internet service To: Yu Y Zhou , pgsql-admin@postgresql.org Subject: Re: installation in windows Date: Mon, 11 Jun 2001 17:02:26 +0200 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <01061117022601.00714@pinguin> Content-Transfer-Encoding: 8bit X-Archive-Number: 200106/66 X-Sequence-Number: 1611 On Wednesday, 6. June 2001 21:33, Yu Y Zhou wrote: > Hi: > I try to instsall postgresql natively in the windows system. I > use the command nmake /f win32.mak with the microsoft visual C++ in > my path under the src directory. I get the psql.exe and libpq.dll and > other files. However, I am not able to start the database server. > When I try the command psql in the dos mode, I get the error message > "connectDBStart()--socket failed: error=0". Moreover I do not have > the postmaster executable files. Would I get the postmaster excutable > files by executing the nmake /f win32.mak command? I also install > postgresql with Cygwin in another Window NT. I see the postmaster.exe > in that machine, with the cygwin environment. I try to compile the > postmaster.c file in visual C++. However, the C library files such as > unistd.h cannot be found. I'm not able to compile postmaster.c. The > visual C++ I used is microsoft studio 6.0 enterprise edition. > If anybody know anything about my troubles or have any insign, > Please let me know. I'm every appreciate it. Thank you and please > give me some suggestions. It would be a very great help for me. > > Yu Ye Zhou Hi, you probably need the Cygwin environment to make Windows behave POSIX-like. See http://www.cygwin.com/ Christof -- gl.aser . software engineering . internet service http://gl.aser.de/ . Planckstraße 7 . D-39104 Magdeburg Tel. +49.391.7 44 77 10 . Fax +49.391.7 44 77 13 . Mobil 0177.77 92 84 3