Re: ODBC and configure

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: ODBC and configure
Дата
Msg-id 4C4E9391.3040406@postnewspapers.com.au
обсуждение исходный текст
Ответ на ODBC and configure  (Ravi Katkar <Ravi.Katkar@infor.com>)
Ответы Re: ODBC and configure  (Ravi Katkar <Ravi.Katkar@infor.com>)
Список pgsql-odbc
On 27/07/10 14:48, Ravi Katkar wrote:

>  1.  Downloaded the "odbctest.c" file from website and copied into unix machine
>  2.  Compile and run the file
> Problem:
>      While running odbctest testPSQL earlier it was working fine, but now everytime its giving the below error:
>      odbctest: cannot connect to X server

This isn't a PostgreSQL problem.

Your 'odbctest.c' (where *did* you get that, anyway? What URL?) appears
to be using a GUI toolkit that requires an X11 graphical environment.
That's what "cannot connect to X server" refers to ; it's nothing to do
with the PostgreSQL server.

If you have an X11 server running on your local machine, connect to the
machine odbctest is on using "ssh -X" to enable ssh X11 forwarding. Then
odbctest should run over the SSH X11 tunnel.

Otherwise, compile odbctest without any GUI requirements. Without some
idea of where you got "odbctest.c" and what it is, I can't really help
you with that.

--
Craig Ringer

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

Предыдущее
От: Ravi Katkar
Дата:
Сообщение: ODBC and configure
Следующее
От: Ravi Katkar
Дата:
Сообщение: Re: ODBC and configure