Received: from golem.jpl.nasa.gov (IDENT:root@hectic-2.jpl.nasa.gov [128.149.68.204]) by hub.org (8.9.1/8.9.1) with ESMTP id MAA17117 for ; Wed, 6 Jan 1999 12:20:39 -0500 (EST) (envelope-from lockhart@alumni.caltech.edu) Received: from alumni.caltech.edu (localhost [127.0.0.1]) by golem.jpl.nasa.gov (8.8.5/8.8.5) with ESMTP id RAA00969; Wed, 6 Jan 1999 17:20:29 GMT Sender: tgl@mythos.jpl.nasa.gov Message-ID: <36939B5C.535B0672@alumni.caltech.edu> Date: Wed, 06 Jan 1999 17:20:28 +0000 From: "Thomas G. Lockhart" Organization: Caltech/JPL X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.30 i686) MIME-Version: 1.0 To: Magnus Hagander CC: Postgres Documentation List Subject: Re: Postgresql INSTALL-file & Windows References: <215896B6B5E1CF11BC5600805FFEA821012A2FFC@sirius.edu.sollentuna.se> Content-Type: multipart/mixed; boundary="------------C831A728C21585D3CD8B8CB0" This is a multi-part message in MIME format. --------------C831A728C21585D3CD8B8CB0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit (back on-list) > Here is a first try. > So, please take a look at it and see if it'll do. It'll do :) I made very minor typo changes (things which are caught immediately by the html generator so it was really easy). For markup, there are one or two places where fancier markup would work, but what you have is just fine. For example, in one place you have an aside in parens about something specific to VC++, and that could be marked up as a or . But that's _really_ not a problem. > I'm going to try to whip up some precompiled binaries for it too, > tomorrow. Perhaps we should put a blurb in about that? Yes. Here is the modified file back (note the minor name change) if you want to mention it in there. Byron has some compiled binaries for Win32 ODBC, and I might post compiled binaries for Linux ODBC, so we should figure out where to put these kinds of binaries. There probably should be a win32 directory of some sort on the ftp site. I'll commit to the cvs tree in a day or two, or after you have more changes if those are coming earlier. Thanks for the work! - Tom --------------C831A728C21585D3CD8B8CB0 Content-Type: text/html; charset=us-ascii; name="install-win32.sgml" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="install-win32.sgml" Content-Base: "file:/opt/postgres/current/doc/src/sgm l/install-win32.sgml" Installation on Win32 Build and installation instructions for Postgres v6.4 client libraries on Win32. Building the libraries The makefiles included in Postgres are written for Microsoft Visual C++, and will probably not work with other systems. It should be possible to compile the libaries manually in other cases. To build the libraries, change directory into the src directory, and type the command nmake /f win32.mak This assumes that you have Visual C++ in your path. The following files will be built: interfaces\libpq\Release\libpq.dll - The dynamically linkable frontend library interfaces\libpq\Release\libpqdll.lib - Import library to link your program to libpq.dll interfaces\libpq\Release\libpq.lib - Static library version of the frontend library bin\psql\Release\psql.exe - The Postgresql interactive SQL monitor Installing the libraries The only part of the library to really be installed is the libpq.dll library. This file should in most cases be placed in the WINNT\SYSTEM32 directory (or in WINDOWS\SYSTEM on a Windows 95/98 system). If this file is installed using a setup program, it should be installed with version checking using the VERSIONINFO resource included in the file, to ensure that a newer version of the library is not overwritten. If you plan to do development using libpq on this machine, you will have to add the src\include and src\interfaces\libpq directories to the include path in your compilers settings. Using the libraries To use the libraries, you must add the libpqdll.lib file to your project (in Visual C++, just right-click on the project and chose to add it). Once this is done, it should be possible to use the library just as you would on a Unix platform. --------------C831A728C21585D3CD8B8CB0--