psqlodbc compilation and deployment on windows

psqlodbc compilation and deployment on windows

am 20.01.2006 14:36:39 von shriganesh shintre

This is a multipart mime message


--Next_1137764199---0-202.54.124.152-3223
Content-type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hello, 1) I want to compile psql-odbc on windows. I am doing it throug=
h MinCW=0ABut when I run ./configure I get following error =0Aerror: no sui=
table ODBC driver manager found.=0AI also tried to download iODBC for windo=
ws but I could not get anything. Could you please help me or give me some p=
ointers about how to proceed. 2) Now if i could compile psql-odbc on w=
indows to get the driver binaries then how can i install that driver on mac=
hine (without msi installer)? .=0AWhich registry entries i am suppose to do=
? Also what other suff is needed? 3) I want to configure system DSN en=
try programmatically. I tried to use odbcconf.exe but somehow it does not w=
ork for me. Could you please suggest me some way to configure DSN entry for=
PostgreSQL odbc driver programmatically Thanks =0AShri
--Next_1137764199---0-202.54.124.152-3223
Content-type: text/html;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

=0AHello,
=0A
=0A1) I want to compile psql-odbc on windows. I am d=
oing it through MinCW
=0ABut when I run ./configure I get following erro=
r
=0Aerror: no suitable ODBC driver manager found.
=0AI also tried t=
o download iODBC for windows but I could not get anything. Could you please=
help me or give me some pointers about how to proceed.
=0A
=0A2) Now=
if i could compile psql-odbc on windows to get the driver binaries then ho=
w can i install that driver on machine (without msi installer)? .
=0AWhi=
ch registry entries i am suppose to do? Also what other suff is needed?
=
=0A
=0A3) I want to configure system DSN entry programmatically. I tried=
to use odbcconf.exe but somehow it does not work for me. Could you please =
suggest me some way to configure DSN entry for PostgreSQL odbc driver progr=
ammatically
=0A
=0AThanks
=0AShri=0A

=0A

=0A ef=3D"http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi /www.rediff.com=
/signature-home.htm/1507191490@Middle5?PARTNER=3D3"> rks.rediff.com/cgi-bin/AdWorks/sigimpress.cgi/www.rediff.com /signature-home=
..htm/1963059423@Middle5?OAS_query=3Dnull&PARTNER=3D3" BORDER=3D0 VSPACE=3D0=
HSPACE=3D0>
=0A
--Next_1137764199---0-202.54.124.152-3223--

Re: psqlodbc compilation and deployment on windows

am 20.01.2006 15:04:22 von Ludek Finstrle

> 1) I want to compile psql-odbc on windows. I am doing it through MinCW
> But when I run ./configure I get following error
> error: no suitable ODBC driver manager found.
> I also tried to download iODBC for windows but I could not get anything.
> Could you please help me or give me some pointers about how to proceed.

I'm sorry I don't use this environment so I cant help you.
I try shot to the dark. Do you specify ./configure --with-iodbc when
you installed iODBC?

> 2) Now if i could compile psql-odbc on windows to get the driver
> binaries then how can i install that driver on machine (without msi
> installer)? .
> Which registry entries i am suppose to do? Also what other suff is needed?

There is usually psqlodbc.reg in source archive. You have to edit
path to drivers and merge the reg file into registry.

> 3) I want to configure system DSN entry programmatically. I tried to
> use odbcconf.exe but somehow it does not work for me. Could you please

Somehow we can't help you. Maybe if you specify the problem better
we could be able to help you. What psqlODBC version do you use?
I add some feature to support odbcconf since 08.01.010X (I'm not sure
X > 4).

> suggest me some way to configure DSN entry for PostgreSQL odbc driver
> programmatically

You can find the solution here:
http://msdn.microsoft.com/library/default.asp?url=/library/e n-us/odbc/htm/odbcinstaller_dll_api_reference.asp

Regards,

Luf

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings