X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 32DA29DC820 for ; Fri, 20 Jan 2006 10:04:27 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 76246-06-2 for ; Fri, 20 Jan 2006 10:04:29 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by postgresql.org (Postfix) with ESMTP id 48E509DC9FF for ; Fri, 20 Jan 2006 10:04:22 -0400 (AST) Received: from soptik.pzkagis.cz (localhost.localdomain [127.0.0.1]) by smtp.pzkagis.cz (8.13.1/8.13.1) with ESMTP id k0KE4NqD020129; Fri, 20 Jan 2006 15:04:23 +0100 Received: (from luf@localhost) by soptik.pzkagis.cz (8.13.1/8.13.1/Submit) id k0KE4Min020128; Fri, 20 Jan 2006 15:04:22 +0100 Date: Fri, 20 Jan 2006 15:04:22 +0100 From: Ludek Finstrle To: shriganesh shintre Cc: pgsql-odbc@postgresql.org Subject: Re: psqlodbc compilation and deployment on windows Message-ID: <20060120140422.GA19984@soptik.pzkagis.cz> References: <20060120133639.3253.qmail@webmail7.rediffmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060120133639.3253.qmail@webmail7.rediffmail.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on smtp.pzkagis.cz X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.081 required=5 tests=[AWL=0.081] X-Spam-Score: 0.081 X-Spam-Level: X-Archive-Number: 200601/200 X-Sequence-Number: 7015 > 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/en-us/odbc/htm/odbcinstaller_dll_api_reference.asp Regards, Luf