pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedPostgresql INSTALL-file & Windows
6+ messages / 2 participants
[nested] [flat]
* Postgresql INSTALL-file & Windows
@ 1999-01-05 13:35 Magnus Hagander <mha@sollentuna.net>
0 siblings, 1 reply; 6+ messages in thread
From: Magnus Hagander @ 1999-01-05 13:35 UTC (permalink / raw)
To: 'scrappy@postgresql.org' <scrappy@postgresql.org>
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
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: [DOCS] Postgresql INSTALL-file & Windows
@ 1999-01-06 14:35 Thomas G. Lockhart <lockhart@alumni.caltech.edu>
parent: Magnus Hagander <mha@sollentuna.net>
0 siblings, 0 replies; 6+ messages in thread
From: Thomas G. Lockhart @ 1999-01-06 14:35 UTC (permalink / raw)
To: Magnus Hagander <mha@sollentuna.net>; +Cc: 'scrappy@postgresql.org' <scrappy@postgreSQL.org>; Postgres Hackers List <hackers@postgreSQL.org>
> 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.
Thanks for pointing this out. So how should I phrase it? As above? If
so, where do we tell people how to build it? Or is it obvious to anyone
who is trying?
If it could use instructions, would someone like to write it up? Or was
something already posted on the mailing list which tells all?
So many questions, so little time :) As you can tell, I haven't tried
myself...
- Tom
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Postgresql INSTALL-file & Windows
@ 1999-01-06 17:20 Thomas G. Lockhart <lockhart@alumni.caltech.edu>
0 siblings, 0 replies; 6+ messages in thread
From: Thomas G. Lockhart @ 1999-01-06 17:20 UTC (permalink / raw)
To: Magnus Hagander <mha@sollentuna.net>; +Cc: Postgres Documentation List <docs@postgresql.org>
(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 <tip> or <note>. 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
Attachments:
install-win32.sgml (text/html, 2.9K) download
<Chapter Id="install-win32">
<Title>Installation on Win32</Title>
<Abstract>
<Para>
Build and installation instructions for <ProductName>Postgres</ProductName>
v6.4 client libraries on Win32.
</Para>
</Abstract>
<Sect1>
<Title>Building the libraries</Title>
<Para>
The makefiles included in <ProductName>Postgres</ProductName> are written
for <ProductName>Microsoft Visual C++</ProductName>, and will probably
not work with other systems. It should be possible to compile the libaries
manually in other cases.
</Para>
<Para>
To build the libraries, change directory into the <filename>src</filename>
directory, and type the command
<programlisting>
nmake /f win32.mak
</programlisting>
This assumes that you have <ProductName>Visual C++</ProductName> in your
path.
</Para>
<Para>
The following files will be built:
<ItemizedList Mark="bullet" Spacing="compact">
<ListItem>
<Para>
<filename>interfaces\libpq\Release\libpq.dll</filename>
- The dynamically linkable frontend library
</Para>
</ListItem>
<ListItem>
<Para>
<filename>interfaces\libpq\Release\libpqdll.lib</filename>
- Import library to link your program to libpq.dll
</Para>
</ListItem>
<ListItem>
<Para>
<filename>interfaces\libpq\Release\libpq.lib</filename> - Static library version of the frontend library
</Para>
</ListItem>
<ListItem>
<Para>
<filename>bin\psql\Release\psql.exe</filename> - The <ProductName>Postgresql</ProductName> interactive SQL monitor
</Para>
</ListItem>
</ItemizedList>
</Para>
</Sect1>
<Sect1>
<Title>Installing the libraries</Title>
<Para>
The only part of the library to really be installed is the
<filename>libpq.dll</filename> library. This file should in most cases
be placed in the <filename>WINNT\SYSTEM32</filename> directory (or in
<filename>WINDOWS\SYSTEM</filename> 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.
</Para>
<Para>
If you plan to do development using libpq on this machine, you will have
to add the <filename>src\include</filename> and
<filename>src\interfaces\libpq</filename> directories to the include
path in your compilers settings.
</Para>
</Sect1>
<Sect1>
<Title>Using the libraries</Title>
<Para>
To use the libraries, you must add the <filename>libpqdll.lib</filename>
file to your project (in Visual C++, just right-click on the project and
chose to add it).
</Para>
<Para>
Once this is done, it should be possible to use the library just as you
would on a Unix platform.
</Para>
</Sect1>
</Chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"./reference.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:"/usr/lib/sgml/CATALOG"
sgml-local-ecat-files:nil
End:
-->
^ permalink raw reply [nested|flat] 6+ messages in thread
* RE: Postgresql INSTALL-file & Windows
@ 1999-01-07 11:17 Magnus Hagander <mha@sollentuna.net>
0 siblings, 1 reply; 6+ messages in thread
From: Magnus Hagander @ 1999-01-07 11:17 UTC (permalink / raw)
To: 'Thomas G. Lockhart' <lockhart@alumni.caltech.edu>; +Cc: Postgres Documentation List <docs@postgresql.org>
> (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
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Postgresql INSTALL-file & Windows
@ 1999-01-07 15:39 Thomas G. Lockhart <lockhart@alumni.caltech.edu>
parent: Magnus Hagander <mha@sollentuna.net>
0 siblings, 0 replies; 6+ messages in thread
From: Thomas G. Lockhart @ 1999-01-07 15:39 UTC (permalink / raw)
To: Magnus Hagander <mha@sollentuna.net>; webmaster@postgresql.org, "Marc G. Fournier" <scrappy@hub.org>; +Cc: Postgres Documentation List <docs@postgresql.org>; Postgres Hackers List <hackers@postgresql.org>
> > > 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
^ permalink raw reply [nested|flat] 6+ messages in thread
* RE: Postgresql INSTALL-file & Windows
@ 1999-01-07 19:22 Magnus Hagander <mha@sollentuna.net>
0 siblings, 0 replies; 6+ messages in thread
From: Magnus Hagander @ 1999-01-07 19:22 UTC (permalink / raw)
To: 'Thomas G. Lockhart' <lockhart@alumni.caltech.edu>; webmaster@postgresql.org, "Marc G. Fournier" <scrappy@hub.org>; +Cc: Postgres Documentation List <docs@postgresql.org>; Postgres Hackers List <hackers@postgresql.org>
> > 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
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~1999-01-07 19:22 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-01-05 13:35 Postgresql INSTALL-file & Windows Magnus Hagander <mha@sollentuna.net>
1999-01-06 14:35 ` Thomas G. Lockhart <lockhart@alumni.caltech.edu>
1999-01-06 17:20 Re: Postgresql INSTALL-file & Windows Thomas G. Lockhart <lockhart@alumni.caltech.edu>
1999-01-07 11:17 RE: Postgresql INSTALL-file & Windows Magnus Hagander <mha@sollentuna.net>
1999-01-07 15:39 ` Thomas G. Lockhart <lockhart@alumni.caltech.edu>
1999-01-07 19:22 RE: Postgresql INSTALL-file & Windows Magnus Hagander <mha@sollentuna.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox