Re: help compiling psqldobc-08.03.0400

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: help compiling psqldobc-08.03.0400
Дата
Msg-id D960CB61B694CF459DCFB4B0128514C203937E2E@exadv11.host.magwien.gv.at
обсуждение исходный текст
Ответ на help compiling psqldobc-08.03.0400  ("Kulik, Scott" <SKulik@severstalna.com>)
Ответы Re: help compiling psqldobc-08.03.0400  ("Kulik, Scott" <SKulik@severstalna.com>)
Список pgsql-odbc
Scott Kulik wrote:
> Has anyone had any success compiling psqlodbc on Redhat Linux (I'm using
> RHEL AS4).  I have pretty much tried compiling with with every
> combination of odbc and postgres versions but never had any luck.
>
> I've been trying to figure this out for a few weeks but I think we may
> just have to end up paying the $500/server for the openlink
> driver/support.
>
> Anyone have any suggestions that might save us a few thousand dollars?

I never had any problems with it.
This is my log of a session where I installed 08.02.0500 on a 32-bit RHEL4 machine:

Prerequisites:
(The first two packages are our own RPMs for PostgreSQL, you can use the
standard "libs" and "devel" packages)

# rpm -U adv-postgres-8.2.5-libs-1-1.i386.rpm
# rpm -U adv-postgres-8.2.5-devel-1-1.i386.rpm
# yum install unixODBC unixODBC-devel

Unpack and compile the software:
(Our packages install PostgreSQL into /magwien/postgres-8.2.5, so you
can just omit these settings with the standard RPMs)

$ cd /home/laurenz
$ export PATH=/magwien/postgres-8.2.5/bin:$PATH
$ tar -xzvf psqlodbc-08.02.0500.tar.gz
$ cd psqlodbc-08.02.0500
$ LDFLAGS=-Wl,-rpath,/magwien/postgres-8.2.5/lib ./configure --prefix=/magwien/postgres-8.2.5
$ make

Install:

# cd /home/laurenz/psqlodbc-08.02.0500
# make install

You wrote that you encountered problems, but did not describe them.

Yours,
Laurenz Albe

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: is there a default client encoding?
Следующее
От: Alex Goncharov
Дата:
Сообщение: Re: help compiling psqldobc-08.03.0400