head	1.11;
access;
symbols
	REL-09_01_0200:1.11
	REL-09_01_0100:1.11
	REL-09_00_0310:1.11
	REL-09_00_0300:1.11
	REL-09_00_0200:1.11
	REL-09_00_0101:1.11
	REL-09_00_0100:1.10
	REL-08_04_0200:1.10
	REL-08_04_0100:1.9
	REL-08_03_0400:1.8
	REL-08_03_0300:1.8
	REL-08_03_0200:1.8
	REL-08_03_0100:1.8
	REL-08_02_0500:1.8
	REL-08_02_0400:1.6
	REL-08_02_0300:1.4
	REL-08_02_0200:1.3
	REL-08_02_0100:1.3
	REL8_1_STABLE:1.3.0.2
	REL-08_01_0200:1.3
	REL-08_01_0102:1.2
	REL-08_01_0101:1.2
	REL-08_01_0100:1.1
	REL-08_01_0006:1.1
	REL-08_01_0005:1.1
	REL-08_01_0004:1.1;
locks; strict;
comment	@# @;


1.11
date	2010.10.14.13.45.44;	author h-saito;	state Exp;
branches;
next	1.10;

1.10
date	2009.11.23.13.51.52;	author h-saito;	state Exp;
branches;
next	1.9;

1.9
date	2009.04.08.13.50.37;	author h-saito;	state Exp;
branches;
next	1.8;

1.8
date	2007.09.12.05.40.39;	author h-saito;	state Exp;
branches;
next	1.7;

1.7
date	2007.06.11.01.51.12;	author h-saito;	state Exp;
branches;
next	1.6;

1.6
date	2007.04.27.01.49.10;	author h-saito;	state Exp;
branches;
next	1.5;

1.5
date	2007.04.26.13.29.07;	author h-saito;	state Exp;
branches;
next	1.4;

1.4
date	2007.04.03.16.17.20;	author h-saito;	state Exp;
branches;
next	1.3;

1.3
date	2006.01.14.18.12.00;	author petere;	state Exp;
branches;
next	1.2;

1.2
date	2005.11.08.09.13.33;	author dpage;	state Exp;
branches;
next	1.1;

1.1
date	2005.08.27.20.14.55;	author dpage;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Some specification changes.
@
text
@<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
    <title>Compiling psqlODBC on Unix</title>
  </HEAD>

  <body bgcolor="#ffffff" text="#000000" link="#ff0000" vlink="#a00000" alink="#0000ff">
  
<h1>Compiling psqlODBC on Unix</h1>

<p>Following psqlODBC's move away from the main PostgreSQL source tree, Peter Eisentraut was kind enough
provide a build environment for us which is now included in psqlODBC tarballs.</p>

<h2>Installation</h2>

<p>To install, just  try something like:</p>

<blockquote>
<pre>
% tar -zxvf psqlodbc-xx.xx.xxxx.tar.gz
% cd psqlodbc-xx.xx.xxxx
% ./configure
% make
% make install
</pre>
</blockquote>

<p>The configure script will accept the following useful options:</p>

<ul>
<li>--with-libpq=DIR postgresql path(--without-libpq is not need libpq)</li>
<li>--with-unixodbc=DIR path or direct odbc_config file (default:yes)</li>
<li>--with-iodbc=DIR  path or direct iodbc-config file</li>
<li>--with-odbcver=VERSION  change default ODBC version number [0x0351]</li>
<li>--enable-pthreads (thread-safe driver on some platforms)</li>
<li>--disable-unicode (build non-Unicode driver)</li>
<li>--disable-openssl (build non-OpenSSL driver)</li>
<li>--help</li>
</ul>

<h2>Building a distribution</h2>

<h3>Prerequisites</h3>

<ul>
<li>Autoconf 2.59 or higher</li>
<li>Automake 1.9.2 (Lower versions are rejected, version 1.7 untested.)</li>
<li>Libtool 1.5.10 or higher</li>
<li>PostgreSQL source tree (9.0 branch)</li>
</ul>

<h3>Bootstrapping</h3>

<blockquote>
<pre>
autoreconf -i
</pre>
</blockquote>

<p>You can run 'make maintainer-clean' to remove all the files this generates.</p>

<h3>Building</h3>

<blockquote>
<pre>
./configure
make
make install
</pre>
</blockquote>

<p>configure has the same options that the PostgreSQL configure used to
have for ODBC, namely --with-iodbc or --with-unixodbc
<h3>Making a Source Distribution</h3>

<p>'make dist' makes a file psqlodbc-xx.xx.xxxx.tar.gz.  It's even better to
use 'make distcheck', which runs a number of tests to see if the
distribution is internally consistent.</p>

<p>The distribution does not contain any Windows-specific files (*.def,
maybe others).  If it is desired to include them, edit Makefile.am.</p>

</body>
</html>
@


1.10
log
@build easy by the addition of an option.
@
text
@d50 1
a50 1
<li>PostgreSQL source tree (8.4 branch)</li>
@


1.9
log
@Prep 08.04.0100. adjustment.
@
text
@d32 1
@


1.8
log
@Prep Ver 08.02.0500
and Fixed build of without OpenSSL.
@
text
@d49 1
a49 1
<li>PostgreSQL source tree (8.2 branch)</li>
@


1.7
log
@Various problems of configure cleared.
These problems were fixed by Peter Eisentraut.
@
text
@d37 1
d46 4
a49 4
<li>Autoconf 2.52 or higher</li>
<li>Automake 1.6.* (Lower versions are rejected, version 1.7 untested.)</li>
<li>Libtool 1.4.2a (CVS from stable branch, maybe 1.4.2 works as well)</li>
<li>PostgreSQL source tree (7.3 branch)</li>
@


1.6
log
@Prep for 08.02.0400 release.
@
text
@d21 2
a22 2
% tar -zxvf psqlodbc-08.01.0100.tar.gz
% cd psqlodbc-08.01.0100
d32 1
d34 1
a34 2
<li>--with-unixodbc=DIR path or direct odbc_config file (default:yes)</li>
<li>--with-pgconf=pg_config specify pg_config with full path</li>
a52 3
<p>First, copy libtool.m4 into source directory.  Be sure to pick the one
from the right Libtool version.  Then run:</p>

d55 1
a55 5
aclocal -I . 
libtoolize --force --copy
autoconf
autoheader
automake --add-missing --copy
d72 1
a72 3
have for ODBC, namely --with-iodbc or --with-unixodbc, and
--with-pgconf=/usr/local/pgsql/bin/pg_config.</p>

@


1.5
log
@Prep for 08.02.0400 release.
(It is still confirming)
@
text
@d32 2
a33 2
<li>--with-iodbc</li>
<li>--with-unixodbc</li>
@


1.4
log
@Snap version is 8.2.0205.
and change usage configure.
@
text
@d58 1
a58 1
aclocal -I . -I $PGSRC/config
@


1.3
log
@Name libraries psqlodbca or psqlodbcw, depending on whether Unicode is
enabled.
@
text
@d34 1
a34 1
<li>--with-odbcinst=DIR</li>
d79 2
a80 2
have for ODBC, namely --with-iodbc, --with-unixodbc, and
--with-odbcinst=DIR.</p>
@


1.2
log
@Correct directory name, per Jeff Bohmer
@
text
@a34 3
<li>--with-libpq	(build a libpq enabled version of psqlodbc. default = yes)</li>
<li>--with-pgsql-include=DIR  (Look for postgreSQL include files in DIR if libpq is enabled)</li>
<li>--with-pgsql=DIR        (look for PostgreSQL libraries and headers in DIR if libpq is enabled)</li>
d36 1
@


1.1
log
@Further documentation updates
@
text
@d12 6
a17 6
<p>Following psqlODBC's move away from the main PostgreSQL source tree, Peter Eisentraut was kind enough
provide a build environment for us which is now included in psqlODBC tarballs.</p>

<h2>Installation</h2>

<p>To install, just  try something like:</p>
d20 5
a24 5
<pre>
% tar -zxvf psqlodbc-7.2.3.tar.gz
% cd postgresql-7.2.3
% ./configure
% make
d27 13
a39 13
</blockquote>

<p>The configure script will accept the following useful options:</p>

<ul>
<li>--with-iodbc</li>
<li>--with-unixodbc</li>
<li>--with-odbcinst=DIR</li>
<li>--with-libpq	(build a libpq enabled version of psqlodbc. default = yes)</li>
<li>--with-pgsql-include=DIR  (Look for postgreSQL include files in DIR if libpq is enabled)</li>
<li>--with-pgsql=DIR        (look for PostgreSQL libraries and headers in DIR if libpq is enabled)</li>
<li>--enable-pthreads (thread-safe driver on some platforms)</li>
<li>--help</li>
d41 9
a49 9

<h2>Building a distribution</h2>

<h3>Prerequisites</h3>

<ul>
<li>Autoconf 2.52 or higher</li>
<li>Automake 1.6.* (Lower versions are rejected, version 1.7 untested.)</li>
<li>Libtool 1.4.2a (CVS from stable branch, maybe 1.4.2 works as well)</li>
d51 6
a56 6
</ul>

<h3>Bootstrapping</h3>

<p>First, copy libtool.m4 into source directory.  Be sure to pick the one
from the right Libtool version.  Then run:</p>
d59 6
a64 6
<pre>
aclocal -I . -I $PGSRC/config
libtoolize --force --copy
autoconf
autoheader
automake --add-missing --copy
d67 4
a70 4

<p>You can run 'make maintainer-clean' to remove all the files this generates.</p>

<h3>Building</h3>
d73 3
a75 3
<pre>
./configure
make
d78 13
a90 13
</blockquote>

<p>configure has the same options that the PostgreSQL configure used to
have for ODBC, namely --with-iodbc, --with-unixodbc, and
--with-odbcinst=DIR.</p>

<h3>Making a Source Distribution</h3>

<p>'make dist' makes a file psqlodbc-xx.xx.xxxx.tar.gz.  It's even better to
use 'make distcheck', which runs a number of tests to see if the
distribution is internally consistent.</p>

<p>The distribution does not contain any Windows-specific files (*.def,
d94 1
a94 1
</html>@

