Postgresql INSTALL-file & Windows
Postgresql INSTALL-file & Windows
От:
Magnus Hagander <mha@sollentuna.net>
Дата:
Hi!
In the INSTALL file, it says (under "Unsupported platforms"): Windows x86 v6.3 1998-03-01 not library compatible; client side maybe; use ODBC/JDBC
Note that Windows ports of the frontend are apparently possible using third-party Posix porting tools and libraries.
I believe the client libraries (at least libpq) are available in native
Win32 since version 6.4.
//Magnus
RE: Postgresql INSTALL-file & Windows
От:
Magnus Hagander <mha@sollentuna.net>
Дата:
> (back on-list) Ok :-) > > 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. There is a /pub/non-unix on the ftp server, which now only contains "os2". Perhaps create a subdir for "win32" in there, or something? I'll be working on the binaries soon. Where should I put them once done? Mail to you, or somebody? Can't find any incoming directory on the ftp... No idea to put in anything in the docs before we can say where it is located... //Magnus
RE: Postgresql INSTALL-file & Windows
От:
Magnus Hagander <mha@sollentuna.net>
Дата:
> > I'll be working on the binaries soon. Where should I put them once > > done? Mail to you, or somebody? Can't find any incoming > directory on > > the ftp... No idea to put in anything in the docs before we can say > > where it is located... > > Magnus is building some WIN32 client-side binaries and needs > a place to put them. > > So I just created: > doc - tar files of daily builds of current html documentation > .incoming - world-writable file dropoff Ok. I've put the client binaries in the .incoming directory. When it's moved somewhere permanently, whoever does that should add a blurb in the Win32 install notes. //Magnus
Re: Postgresql INSTALL-file & Windows
От:
"Thomas G. Lockhart" <lockhart@alumni.caltech.edu>
Дата:
Build and installation instructions for Postgres v6.4 client libraries on Win32. 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 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. 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.
Re: Postgresql INSTALL-file & Windows
От:
"Thomas G. Lockhart" <lockhart@alumni.caltech.edu>
Дата:
> > > I'm going to try to whip up some precompiled binaries for it too,
> > > tomorrow. Perhaps we should put a blurb in about that?
> > Byron has some compiled binaries for Win32
> > ODBC, and I might post compiled binaries for Linux ODBC,
> > There probably should
> > be a win32 directory of some sort on the ftp site.
> There is a /pub/non-unix on the ftp server, which now only contains
> "os2". Perhaps create a subdir for "win32" in there, or something?
OK, Marc, do you have a preferred layout for where various kinds of
binaries or other distribution packages should go?
Right now there is:
bindist - Solaris v6.3 binaries non-unix/os2 - OS2 v6.3 client-side binaries odbc - win32 odbc source and binaries
> I'll be working on the binaries soon. Where should I put them once
> done? Mail to you, or somebody? Can't find any incoming directory on
> the ftp... No idea to put in anything in the docs before we can say
> where it is located...
Magnus is building some WIN32 client-side binaries and needs a place to
put them.
So I just created: doc - tar files of daily builds of current html documentation .incoming - world-writable file dropoff
I have no write privileges in /pub/non-unix, so could not add a win32
directory. Also, I noticed that there are still some ".old" directories
in /home/projects/pgsql/ftp/www/html/docs, which I had renamed a long
time ago since I did not have delete privileges for the original
directories and files but was able to rename them. These should be
deleted.
Anyway, let me know what you would prefer, and if you want me to set it
up perhaps you can chmod/chown the ftp and html/docs directories to
allow me to make the changes.
TIA
- Tom