Re: Unix build

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, <pgsql-odbc(at)postgresql(dot)org>
Cc: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
Subject: Re: Unix build
Date: 2002-10-08 07:05:48
Message-ID: 03AF4E498C591348A42FC93DEA9661B8128A99@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Thanks for this Peter.

Hiroshi: I'm a little busy right now, is this something you have time to
look at or shall I add it to my todo list?

Regards, Dave.

> -----Original Message-----
> From: Peter Eisentraut [mailto:peter_e(at)gmx(dot)net]
> Sent: 07 October 2002 20:24
> To: pgsql-odbc(at)postgresql(dot)org
> Subject: [ODBC] Unix build
>
>
> I managed to find a Libtool version that works, so here's the
> independent build infrastructure for ODBC on Unix.
>
> The patch also removes all the non-multibyte code. This goes
> together with the build system change, because there no
> longer is a way to turn on multibyte explicitly. You should
> make the required changes to the Windows build files.
>
> The following files need to be checked into CVS: configure.ac
> and Makefile.am. GNUmakefile can be removed. I recommend
> that you do not check in all the files generated by auto*
> (see below). It can get pretty messy to keep track of them.
>
> * Prerequisites
>
> Autoconf 2.52 or higher
> Automake 1.6.* (Lower versions are rejected, version 1.7
> untested.) Libtool 1.4.2a (CVS from stable branch, maybe
> 1.4.2 works as well) PostgreSQL source tree (7.3 branch)
>
> * Bootstrapping
>
> First, copy libtool.m4 into source directory. Be sure to
> pick the one from the right Libtool version. Then run
>
> aclocal -I . -I $PGSRC/config
> libtoolize --force --copy
> autoconf
> autoheader
> automake --add-missing --copy
>
> You can run 'make maintainer-clean' to remove all the files
> this generates.
>
> * Building
>
> ./configure
> make
> make install
>
> configure has the same options that the PostgreSQL configure
> used to have for ODBC, namely --with-iodbc, --with-unixodbc,
> and --with-odbcinst=DIR.
>
> * Version Number
>
> The previous build infrastructure set a shared library
> version number of 0.27. I've used this as a package version
> number, but it does not correspond to version.h in any way.
> This needs to be thought out.
>
> * Making a Source Distribution
>
> 'make dist' makes a file psqlodbc-0.27.tar.gz. It's even
> better to use 'make distcheck', which runs a number of tests
> to see if the distribution is internally consistent.
>
> The distribution does not contain any Windows-specific files
> (*.def, maybe others). If it is desired to include them,
> edit Makefile.am.
>
> --
> Peter Eisentraut peter_e(at)gmx(dot)net
>

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2002-10-08 09:58:54 Re: Unix build
Previous Message Mike Mascari 2002-10-08 01:51:25 Re: Lotus Domino Server/Enterprise Connection Services