<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-805</id>
	<title>Nabble - unixODBC</title>
	<updated>2008-09-25T06:14:53Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/unixODBC-f805.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/unixODBC-f805.html" />
	<subtitle type="html">The unixODBC Project goals are to develop and promote unixODBC to be the definitive standard for ODBC on non MS Windows platforms. This is to include GUI support for both KDE and GNOME. unixODBC home is &lt;a href=&quot;http://www.unixodbc.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19669299</id>
	<title>Run unixodbc DM from loaded driver</title>
	<published>2008-09-25T06:14:53Z</published>
	<updated>2008-09-25T06:14:53Z</updated>
	<author>
		<name>Karl Z</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;I’m trying to create my own “driver” (in fact it’s not real driver), but I have got one problem-deadlock. “Driver” should be run by &amp;nbsp;Driver Manager, and after it use unixodbc DM to run other driver (so DM-&amp;gt;”driver”-&amp;gt;DM-&amp;gt;real driver) but because of &amp;nbsp;protection whole process is stopped when “driver” try to run other driver. So can this be done somehow in this way or I have to run real driver without using DM? I dont think it's possible but i can be wrong (hope so:))
&lt;br&gt;&lt;br&gt;Thanks for any help :)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Support-f808.html&quot; embed=&quot;fixTarget[808]&quot; target=&quot;_top&quot; &gt;unixODBC - Support&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Run-unixodbc-DM-from-loaded-driver-tp19669299p19669299.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19612134</id>
	<title>Problem Connecting to MSSQL via ODBC with PHP</title>
	<published>2008-09-22T09:56:05Z</published>
	<updated>2008-09-22T09:56:05Z</updated>
	<author>
		<name>Adam Linthicum</name>
	</author>
	<content type="html">I followed all of the destructions here:
&lt;br&gt;&lt;a href=&quot;http://www.unixodbc.org/doc/FreeTDS.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.unixodbc.org/doc/FreeTDS.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;When using isql I can connect and execute commands perfectly fine, works great.
&lt;br&gt;&lt;br&gt;When I try to connect using PHP however, I don't seem to get any luck. I'm using the same DSN name as I was in isql, same username/password... but no results returned.
&lt;br&gt;&lt;br&gt;The following code returns &amp;quot;We Didn't Connect.&amp;quot;:
&lt;br&gt;&lt;br&gt;&amp;lt;?php
&lt;br&gt;&lt;br&gt;$connect = odbc_connect(&amp;quot;MSSQLTestServer&amp;quot;, &amp;quot;myusername&amp;quot;, &amp;quot;mypassword&amp;quot;);
&lt;br&gt;&lt;br&gt;if ($connect === False){
&lt;br&gt;&amp;nbsp;echo &amp;quot;We Didn't Connect.&amp;quot;;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;$query = &amp;quot;SELECT * FROM items WHERE WEB_ACTIVE = 'T'&amp;quot;;
&lt;br&gt;&lt;br&gt;$result = odbc_exec($connect, $query); 
&lt;br&gt;&lt;br&gt;while(odbc_fetch_row($result)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp;$field1 = odbc_result($result, 1);
&lt;br&gt;&amp;nbsp; &amp;nbsp;$field2 = odbc_result($result, 2);
&lt;br&gt;} 
&lt;br&gt;&lt;br&gt;odbc_close($connect); 
&lt;br&gt;&lt;br&gt;?&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;I'm not sure where to check now, my extensions in php.ini all seem valid(just to test I renamed the extension file it was trying to use and it then gave em a PHP error, so it appear it's using the driver, or at least trying).
&lt;br&gt;&lt;br&gt;Please help! Thanks in advance!&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Support-f808.html&quot; embed=&quot;fixTarget[808]&quot; target=&quot;_top&quot; &gt;unixODBC - Support&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problem-Connecting-to-MSSQL-via-ODBC-with-PHP-tp19612134p19612134.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19532615</id>
	<title>Re: problem with using ODBCINI env var</title>
	<published>2008-09-17T06:50:32Z</published>
	<updated>2008-09-17T06:50:32Z</updated>
	<author>
		<name>Chris Pinkenburg</name>
	</author>
	<content type="html">Hi Nick,
&lt;br&gt;&lt;br&gt;will do. Thanks for checking
&lt;br&gt;&lt;br&gt;Chris
&lt;br&gt;&lt;br&gt;Nick Gorham wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Chris Pinkenburg wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Dear All,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; in our setup we have a few pre-canned odbc.ini files and users set the
&lt;br&gt;&amp;gt;&amp;gt; ODBCINI variable if they need to use a different one from the default.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The problem we encountered is that currently this file is opened in
&lt;br&gt;&amp;gt;&amp;gt; append mode which fails if the file is read only. I tracked this down to
&lt;br&gt;&amp;gt;&amp;gt; odbcinst/_odbcinst_UserINI.c in line 90:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; hFile = uo_fopen( pszFileName, &amp;quot;a&amp;quot; );
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I changed it to
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; hFile = uo_fopen( pszFileName, &amp;quot;r&amp;quot; );
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; and things work nicely (also new users don't end up with an empty
&lt;br&gt;&amp;gt;&amp;gt; .odbc.ini file in their $HOME dir anymore). VMS is handled separately
&lt;br&gt;&amp;gt;&amp;gt; and under VMS this file is already (has always been?) opened read only.
&lt;br&gt;&amp;gt;&amp;gt; Is there a reason to open this file in append mode by default?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Chris
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; I just checked, its different in 2.2.13pre, you might like to try that. 
&lt;br&gt;&amp;gt; It needs to open in a writable mode though, as the api allows writing to 
&lt;br&gt;&amp;gt; the ini file. But I can see no problem for you if you alter your copy.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;*************************************************************
&lt;br&gt;&lt;br&gt;Christopher H. Pinkenburg &amp;nbsp; &amp;nbsp; &amp;nbsp; ; &amp;nbsp; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19532615&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pinkenburg@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;; &amp;nbsp; &lt;a href=&quot;http://www.phenix.bnl.gov/~pinkenbu/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.phenix.bnl.gov/~pinkenbu/&lt;/a&gt;&lt;br&gt;Brookhaven National Laboratory &amp;nbsp;; &amp;nbsp; phone: (631) 344-5692
&lt;br&gt;Physics Department Bldg 510 C &amp;nbsp; ; &amp;nbsp; fax: &amp;nbsp; (631) 344-3253
&lt;br&gt;Upton, NY 11973-5000
&lt;br&gt;&lt;br&gt;*************************************************************
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19532615&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/problem-with-using-ODBCINI-env-var-tp19514865p19532615.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19527554</id>
	<title>Re: problem with using ODBCINI env var</title>
	<published>2008-09-17T01:33:23Z</published>
	<updated>2008-09-17T01:33:23Z</updated>
	<author>
		<name>Nick Gorham</name>
	</author>
	<content type="html">Chris Pinkenburg wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;Dear All,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;in our setup we have a few pre-canned odbc.ini files and users set the
&lt;br&gt;&amp;gt;ODBCINI variable if they need to use a different one from the default.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;The problem we encountered is that currently this file is opened in
&lt;br&gt;&amp;gt;append mode which fails if the file is read only. I tracked this down to
&lt;br&gt;&amp;gt;odbcinst/_odbcinst_UserINI.c in line 90:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;hFile = uo_fopen( pszFileName, &amp;quot;a&amp;quot; );
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I changed it to
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;hFile = uo_fopen( pszFileName, &amp;quot;r&amp;quot; );
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;and things work nicely (also new users don't end up with an empty
&lt;br&gt;&amp;gt;.odbc.ini file in their $HOME dir anymore). VMS is handled separately
&lt;br&gt;&amp;gt;and under VMS this file is already (has always been?) opened read only.
&lt;br&gt;&amp;gt;Is there a reason to open this file in append mode by default?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Regards
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Chris
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;I just checked, its different in 2.2.13pre, you might like to try that. 
&lt;br&gt;It needs to open in a writable mode though, as the api allows writing to 
&lt;br&gt;the ini file. But I can see no problem for you if you alter your copy.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Nick Gorham
&lt;br&gt;Easysoft Limited
&lt;br&gt;&lt;a href=&quot;http://www.easysoft.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.easysoft.com&lt;/a&gt;, &lt;a href=&quot;http://www.unixODBC.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.unixODBC.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19527554&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/problem-with-using-ODBCINI-env-var-tp19514865p19527554.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19518865</id>
	<title>Re: problem with using ODBCINI env var</title>
	<published>2008-09-16T12:25:55Z</published>
	<updated>2008-09-16T12:25:55Z</updated>
	<author>
		<name>Nick Gorham-2</name>
	</author>
	<content type="html">Chris Pinkenburg wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;Dear All,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;in our setup we have a few pre-canned odbc.ini files and users set the
&lt;br&gt;&amp;gt;ODBCINI variable if they need to use a different one from the default.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;The problem we encountered is that currently this file is opened in
&lt;br&gt;&amp;gt;append mode which fails if the file is read only. I tracked this down to
&lt;br&gt;&amp;gt;odbcinst/_odbcinst_UserINI.c in line 90:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;hFile = uo_fopen( pszFileName, &amp;quot;a&amp;quot; );
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I changed it to
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;hFile = uo_fopen( pszFileName, &amp;quot;r&amp;quot; );
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;and things work nicely (also new users don't end up with an empty
&lt;br&gt;&amp;gt;.odbc.ini file in their $HOME dir anymore). VMS is handled separately
&lt;br&gt;&amp;gt;and under VMS this file is already (has always been?) opened read only.
&lt;br&gt;&amp;gt;Is there a reason to open this file in append mode by default?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Regards
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Chris
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;I will check.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Nick
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19518865&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/problem-with-using-ODBCINI-env-var-tp19514865p19518865.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19514865</id>
	<title>problem with using ODBCINI env var</title>
	<published>2008-09-16T08:58:17Z</published>
	<updated>2008-09-16T08:58:17Z</updated>
	<author>
		<name>Chris Pinkenburg</name>
	</author>
	<content type="html">Dear All,
&lt;br&gt;&lt;br&gt;in our setup we have a few pre-canned odbc.ini files and users set the
&lt;br&gt;ODBCINI variable if they need to use a different one from the default.
&lt;br&gt;&lt;br&gt;The problem we encountered is that currently this file is opened in
&lt;br&gt;append mode which fails if the file is read only. I tracked this down to
&lt;br&gt;odbcinst/_odbcinst_UserINI.c in line 90:
&lt;br&gt;&lt;br&gt;hFile = uo_fopen( pszFileName, &amp;quot;a&amp;quot; );
&lt;br&gt;&lt;br&gt;I changed it to
&lt;br&gt;&lt;br&gt;hFile = uo_fopen( pszFileName, &amp;quot;r&amp;quot; );
&lt;br&gt;&lt;br&gt;and things work nicely (also new users don't end up with an empty
&lt;br&gt;.odbc.ini file in their $HOME dir anymore). VMS is handled separately
&lt;br&gt;and under VMS this file is already (has always been?) opened read only.
&lt;br&gt;Is there a reason to open this file in append mode by default?
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&lt;br&gt;Chris
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;*************************************************************
&lt;br&gt;&lt;br&gt;Christopher H. Pinkenburg &amp;nbsp; &amp;nbsp; &amp;nbsp; ; &amp;nbsp; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19514865&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pinkenburg@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ; &amp;nbsp; &lt;a href=&quot;http://www.phenix.bnl.gov/~pinkenbu/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.phenix.bnl.gov/~pinkenbu/&lt;/a&gt;&lt;br&gt;Brookhaven National Laboratory &amp;nbsp;; &amp;nbsp; phone: (631) 344-5692
&lt;br&gt;Physics Department Bldg 510 C &amp;nbsp; ; &amp;nbsp; fax: &amp;nbsp; (631) 344-3253
&lt;br&gt;Upton, NY 11973-5000
&lt;br&gt;&lt;br&gt;*************************************************************
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19514865&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/problem-with-using-ODBCINI-env-var-tp19514865p19514865.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19274368</id>
	<title>Re: Wrappers/ODBCDataManagerQ4</title>
	<published>2008-09-02T10:13:02Z</published>
	<updated>2008-09-02T10:13:02Z</updated>
	<author>
		<name>Peter Harvey-5</name>
	</author>
	<content type="html">&amp;gt; Well, I am hoping that by splitting the GUI stuff and other parts you
&lt;br&gt;&amp;gt; have been working on will free you to do more of what you like, without
&lt;br&gt;&amp;gt; having to get it all to fit into the existing framework, and also not
&lt;br&gt;&amp;gt; having to ensure it builds on some of the crusty old kit we have about.
&lt;br&gt;&amp;gt; While I can focus on the boring but basically stable and unchanging
&lt;br&gt;&amp;gt; coire ODBC parts.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (thats the theory at least).
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;This all makes a lot of sense to me :) Thanks for your work on getting the new 
&lt;br&gt;release together - your awesome!
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Peter
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19274368&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Wrappers-ODBCDataManagerQ4-tp19245401p19274368.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19269749</id>
	<title>Re: Wrappers/ODBCDataManagerQ4</title>
	<published>2008-09-02T05:58:45Z</published>
	<updated>2008-09-02T05:58:45Z</updated>
	<author>
		<name>Nick Gorham</name>
	</author>
	<content type="html">Peter Harvey wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt;I will take a look tomorrow, but it won't hurt 2.2.13 not to have the
&lt;br&gt;&amp;gt;&amp;gt;wrappers code will it? as 2.2.14 or 2.3.0 wont have it in.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Not at all. In fact I am already preparing to work from copies not associated 
&lt;br&gt;&amp;gt;with the unixODBC repository. So feel free to 'disconnect' again at your 
&lt;br&gt;&amp;gt;pleasure.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;Ok, I have built a new unixODBC-2.2.13pre.tar.gz on 
&lt;br&gt;ftp://ftp.easysoft.com/pub/unixODBC that is mostly stripped down as we 
&lt;br&gt;have discussed before. I hope (unless someone tells me otherwise) that 
&lt;br&gt;this will become 2.2.13.
&lt;br&gt;&lt;br&gt;I have still left the Drivers in for the moment, but hopefully whats 
&lt;br&gt;there is what is needed for the folks making distributions, and driver 
&lt;br&gt;writers.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;I am also preparing copies of;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;1. the File Database (FDB) stuff
&lt;br&gt;&amp;gt;2. text file driver (odbctxt)
&lt;br&gt;&amp;gt;3. al of the Qt4 based code
&lt;br&gt;&amp;gt;4. all the wrappers
&lt;br&gt;&amp;gt;5. Trace interface and plugin
&lt;br&gt;&amp;gt;6. misc utils to support above (ie sqp, ini, etc)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I can see my future contributions to unixODBC to be mostly (as needed and as 
&lt;br&gt;&amp;gt;you see fit);
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;Well, I am hoping that by splitting the GUI stuff and other parts you 
&lt;br&gt;have been working on will free you to do more of what you like, without 
&lt;br&gt;having to get it all to fit into the existing framework, and also not 
&lt;br&gt;having to ensure it builds on some of the crusty old kit we have about. 
&lt;br&gt;While I can focus on the boring but basically stable and unchanging 
&lt;br&gt;coire ODBC parts.
&lt;br&gt;&lt;br&gt;(thats the theory at least).
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;1. odbcinst
&lt;br&gt;&amp;gt;2. testing framework and tests
&lt;br&gt;&amp;gt;3. some driver setup stand-ins
&lt;br&gt;&amp;gt;4. that which supports above (support libs and execs) 
&lt;br&gt;&amp;gt;5. feedback on unicode etc for DM
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;So feel free to, at your earliest convenience, remove anything from unixODBC 
&lt;br&gt;&amp;gt;which you consider cruft or simply not likely to be maintained properly going 
&lt;br&gt;&amp;gt;forward.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Well, none was cruft in my eyes, but certainly a lot of it wasn't being 
&lt;br&gt;maintained by myself, as I didn't know what it was for.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Nick Gorham
&lt;br&gt;Easysoft Limited
&lt;br&gt;&lt;a href=&quot;http://www.easysoft.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.easysoft.com&lt;/a&gt;, &lt;a href=&quot;http://www.unixODBC.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.unixODBC.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19269749&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Wrappers-ODBCDataManagerQ4-tp19245401p19269749.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19263645</id>
	<title>Re: Wrappers/ODBCDataManagerQ4</title>
	<published>2008-09-01T20:32:18Z</published>
	<updated>2008-09-01T20:32:18Z</updated>
	<author>
		<name>Peter Harvey-5</name>
	</author>
	<content type="html">&amp;gt;
&lt;br&gt;&amp;gt; I will take a look tomorrow, but it won't hurt 2.2.13 not to have the
&lt;br&gt;&amp;gt; wrappers code will it? as 2.2.14 or 2.3.0 wont have it in.
&lt;br&gt;&lt;br&gt;Not at all. In fact I am already preparing to work from copies not associated 
&lt;br&gt;with the unixODBC repository. So feel free to 'disconnect' again at your 
&lt;br&gt;pleasure.
&lt;br&gt;&lt;br&gt;I am also preparing copies of;
&lt;br&gt;&lt;br&gt;1. the File Database (FDB) stuff
&lt;br&gt;2. text file driver (odbctxt)
&lt;br&gt;3. al of the Qt4 based code
&lt;br&gt;4. all the wrappers
&lt;br&gt;5. Trace interface and plugin
&lt;br&gt;6. misc utils to support above (ie sqp, ini, etc)
&lt;br&gt;&lt;br&gt;I can see my future contributions to unixODBC to be mostly (as needed and as 
&lt;br&gt;you see fit);
&lt;br&gt;&lt;br&gt;1. odbcinst
&lt;br&gt;2. testing framework and tests
&lt;br&gt;3. some driver setup stand-ins
&lt;br&gt;4. that which supports above (support libs and execs) 
&lt;br&gt;5. feedback on unicode etc for DM
&lt;br&gt;&lt;br&gt;So feel free to, at your earliest convenience, remove anything from unixODBC 
&lt;br&gt;which you consider cruft or simply not likely to be maintained properly going 
&lt;br&gt;forward.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Peter
&lt;br&gt;BTW: unixODBC is 10 years old (by my calc) - so perhaps highlight that during 
&lt;br&gt;this release ;)
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19263645&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Wrappers-ODBCDataManagerQ4-tp19245401p19263645.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19262630</id>
	<title>Re: Wrappers/ODBCDataManagerQ4</title>
	<published>2008-09-01T17:42:03Z</published>
	<updated>2008-09-01T17:42:03Z</updated>
	<author>
		<name>Nick Gorham-2</name>
	</author>
	<content type="html">Peter Harvey wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;Nick,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Builds fine as wide-char and normal char for me. Perhaps you do not have 
&lt;br&gt;&amp;gt;latest from cvs?
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Well, I did a
&lt;br&gt;&lt;br&gt;cvs update
&lt;br&gt;make - Makefile.cvs
&lt;br&gt;./configure
&lt;br&gt;make distclean
&lt;br&gt;./configure
&lt;br&gt;make
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;-DUNIXODBC_SOURCE=1 -I. -I. -I../include -I../../../include
&lt;br&gt;&amp;gt;&amp;gt;-DTHEPREFIX=\&amp;quot;/usr/local\&amp;quot; -DSYSTEM_FILE_PATH=\&amp;quot;/usr/local/etc\&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;-DDEFLIB_PATH=\&amp;quot;/usr/local/lib\&amp;quot; -DSHLIBEXT=\&amp;quot;.so\&amp;quot; -I../../../libltdl
&lt;br&gt;&amp;gt;&amp;gt;-g -O2 -MT ODBCConsole.lo -MD -MP -MF .deps/ODBCConsole.Tpo -c
&lt;br&gt;&amp;gt;&amp;gt;ODBCConsole.cpp &amp;nbsp;-fPIC -DPIC -o .libs/ODBCConsole.o
&lt;br&gt;&amp;gt;&amp;gt;ODBCConsole.cpp: In member function `virtual bool
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; ODBCConsole::doExecuteShow(const SQLCHAR*)':
&lt;br&gt;&amp;gt;&amp;gt;ODBCConsole.cpp:751: invalid conversion from `SQLCHAR*' to `const char*'
&lt;br&gt;&amp;gt;&amp;gt;ODBCConsole.cpp:846: invalid conversion from `SQLCHAR*' to `const char*'
&lt;br&gt;&amp;gt;&amp;gt;make[3]: *** [ODBCConsole.lo] Error 1
&lt;br&gt;&amp;gt;&amp;gt;make[3]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers/CPP/Library'
&lt;br&gt;&amp;gt;&amp;gt;make[2]: *** [install-recursive] Error 1
&lt;br&gt;&amp;gt;&amp;gt;make[2]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers/CPP'
&lt;br&gt;&amp;gt;&amp;gt;make[1]: *** [install-recursive] Error 1
&lt;br&gt;&amp;gt;&amp;gt;make[1]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers'
&lt;br&gt;&amp;gt;&amp;gt;make: *** [install-recursive] Error 1
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;/div&gt;I will take a look tomorrow, but it won't hurt 2.2.13 not to have the 
&lt;br&gt;wrappers code will it? as 2.2.14 or 2.3.0 wont have it in.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Nick
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19262630&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Wrappers-ODBCDataManagerQ4-tp19245401p19262630.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19261931</id>
	<title>Re: Wrappers/ODBCDataManagerQ4</title>
	<published>2008-09-01T16:06:26Z</published>
	<updated>2008-09-01T16:06:26Z</updated>
	<author>
		<name>Peter Harvey-5</name>
	</author>
	<content type="html">Nick,
&lt;br&gt;&lt;br&gt;Builds fine as wide-char and normal char for me. Perhaps you do not have 
&lt;br&gt;latest from cvs?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -DUNIXODBC_SOURCE=1 -I. -I. -I../include -I../../../include
&lt;br&gt;&amp;gt; -DTHEPREFIX=\&amp;quot;/usr/local\&amp;quot; -DSYSTEM_FILE_PATH=\&amp;quot;/usr/local/etc\&amp;quot;
&lt;br&gt;&amp;gt; -DDEFLIB_PATH=\&amp;quot;/usr/local/lib\&amp;quot; -DSHLIBEXT=\&amp;quot;.so\&amp;quot; -I../../../libltdl
&lt;br&gt;&amp;gt; -g -O2 -MT ODBCConsole.lo -MD -MP -MF .deps/ODBCConsole.Tpo -c
&lt;br&gt;&amp;gt; ODBCConsole.cpp &amp;nbsp;-fPIC -DPIC -o .libs/ODBCConsole.o
&lt;br&gt;&amp;gt; ODBCConsole.cpp: In member function `virtual bool
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;ODBCConsole::doExecuteShow(const SQLCHAR*)':
&lt;br&gt;&amp;gt; ODBCConsole.cpp:751: invalid conversion from `SQLCHAR*' to `const char*'
&lt;br&gt;&amp;gt; ODBCConsole.cpp:846: invalid conversion from `SQLCHAR*' to `const char*'
&lt;br&gt;&amp;gt; make[3]: *** [ODBCConsole.lo] Error 1
&lt;br&gt;&amp;gt; make[3]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers/CPP/Library'
&lt;br&gt;&amp;gt; make[2]: *** [install-recursive] Error 1
&lt;br&gt;&amp;gt; make[2]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers/CPP'
&lt;br&gt;&amp;gt; make[1]: *** [install-recursive] Error 1
&lt;br&gt;&amp;gt; make[1]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers'
&lt;br&gt;&amp;gt; make: *** [install-recursive] Error 1
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Peter
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19261931&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Wrappers-ODBCDataManagerQ4-tp19245401p19261931.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19259266</id>
	<title>Re: Wrappers/ODBCDataManagerQ4</title>
	<published>2008-09-01T12:05:44Z</published>
	<updated>2008-09-01T12:05:44Z</updated>
	<author>
		<name>Peter Harvey-5</name>
	</author>
	<content type="html">&amp;gt;
&lt;br&gt;&amp;gt; I would leave the original ODBCConfig (so libodbcinstQ), odbctest and
&lt;br&gt;&amp;gt; maybe one DataManager in the main build.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Ok :)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The current CVS fails to build for me still.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;g++ -DPACKAGE_NAME=\&amp;quot;\&amp;quot; -DPACKAGE_TARNAME=\&amp;quot;\&amp;quot; -DPACKAGE_VERSION=\&amp;quot;\&amp;quot;
&lt;br&gt;&amp;gt; -DPACKAGE_STRING=\&amp;quot;\&amp;quot; -DPACKAGE_BUGREPORT=\&amp;quot;\&amp;quot; -DPACKAGE=\&amp;quot;unixODBC\&amp;quot;
&lt;br&gt;&amp;gt; -DVERSION=\&amp;quot;2.2.13pre\&amp;quot; -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1
&lt;br&gt;&amp;gt; -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
&lt;br&gt;&amp;gt; -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
&lt;br&gt;&amp;gt; -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
&lt;br&gt;&amp;gt; -DHAVE_SYS_SEM_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ICONV=1 -DICONV_CONST=
&lt;br&gt;&amp;gt; -DHAVE_LIBCRYPT=1 -DHAVE_READLINE_HISTORY_H=1 -DHAVE_READLINE=1
&lt;br&gt;&amp;gt; -DHAVE_SCANDIR=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_TIME_H=1
&lt;br&gt;&amp;gt; -DSIZEOF_LONG=4 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_INT=4
&lt;br&gt;&amp;gt; -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_VSNPRINTF=1
&lt;br&gt;&amp;gt; -DHAVE_STRTOL=1 -DHAVE_ATOLL=1 -DHAVE_STRTOLL=1 -DHAVE_ENDPWENT=1
&lt;br&gt;&amp;gt; -DHAVE_GETTIMEOFDAY=1 -DHAVE_FTIME=1 -DHAVE_TIME=1 -DHAVE_LIBPTHREAD=1
&lt;br&gt;&amp;gt; -D_REENTRANT=1 -DHAVE_LOCALTIME_R=1 -DHAVE_FTOK=1 -DHAVE_SEMGET=1
&lt;br&gt;&amp;gt; -DHAVE_SHMGET=1 -DHAVE_SEMOP=1 -DHAVE_SNPRINTF=1 -DNEED_SEMUNDO_UNION=1
&lt;br&gt;&amp;gt; -DCOLLECT_STATS=1 -DQT_V4LAYOUT=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1
&lt;br&gt;&amp;gt; -DHAVE_UNISTD_H=1 -DHAVE_PWD_H=1 -DHAVE_CRYPT_H=1 -DHAVE_LIMITS_H=1
&lt;br&gt;&amp;gt; -DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_LOCALE_H=1
&lt;br&gt;&amp;gt; -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_SEM_H=1 -DHAVE_STDARG_H=1
&lt;br&gt;&amp;gt; -DHAVE_VARARGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMEB_H=1
&lt;br&gt;&amp;gt; -DHAVE_TIME_H=1 -DHAVE_DIRENT_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1
&lt;br&gt;&amp;gt; -DHAVE_VPRINTF=1 -DHAVE_PUTENV=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1
&lt;br&gt;&amp;gt; -DHAVE_STRSTR=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_STRCHR=1
&lt;br&gt;&amp;gt; -DUNIXODBC_SOURCE=1 -I. -I. -I../include -I../../../include
&lt;br&gt;&amp;gt; -DTHEPREFIX=\&amp;quot;/usr/local\&amp;quot; -DSYSTEM_FILE_PATH=\&amp;quot;/usr/local/etc\&amp;quot;
&lt;br&gt;&amp;gt; -DDEFLIB_PATH=\&amp;quot;/usr/local/lib\&amp;quot; -DSHLIBEXT=\&amp;quot;.so\&amp;quot; -I../../../libltdl
&lt;br&gt;&amp;gt; -g -O2 -MT ODBCConsole.lo -MD -MP -MF .deps/ODBCConsole.Tpo -c
&lt;br&gt;&amp;gt; ODBCConsole.cpp &amp;nbsp;-fPIC -DPIC -o .libs/ODBCConsole.o
&lt;br&gt;&amp;gt; ODBCConsole.cpp: In member function `virtual bool
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;ODBCConsole::doExecuteShow(const SQLCHAR*)':
&lt;br&gt;&amp;gt; ODBCConsole.cpp:751: invalid conversion from `SQLCHAR*' to `const char*'
&lt;br&gt;&amp;gt; ODBCConsole.cpp:846: invalid conversion from `SQLCHAR*' to `const char*'
&lt;br&gt;&amp;gt; make[3]: *** [ODBCConsole.lo] Error 1
&lt;br&gt;&amp;gt; make[3]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers/CPP/Library'
&lt;br&gt;&amp;gt; make[2]: *** [install-recursive] Error 1
&lt;br&gt;&amp;gt; make[2]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers/CPP'
&lt;br&gt;&amp;gt; make[1]: *** [install-recursive] Error 1
&lt;br&gt;&amp;gt; make[1]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers'
&lt;br&gt;&amp;gt; make: *** [install-recursive] Error 1
&lt;/div&gt;&lt;br&gt;Just returned from an day/night at the farm. I have the kids all day today 
&lt;br&gt;(they do not start school until tomorrow) but I should be able try another 
&lt;br&gt;build NOT using wide-char (last build I did was with wide-char).
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Peter
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19259266&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Wrappers-ODBCDataManagerQ4-tp19245401p19259266.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19256441</id>
	<title>Re: Wrappers/ODBCDataManagerQ4</title>
	<published>2008-09-01T08:20:15Z</published>
	<updated>2008-09-01T08:20:15Z</updated>
	<author>
		<name>Nick Gorham</name>
	</author>
	<content type="html">Peter Harvey wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;On Sunday 31 August 2008 13:24:59 Nick Gorham wrote:
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Peter Harvey wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;Nick,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;I noticed that you removed Wrappers and ODBCDataManagerQ4 from
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;Makefile.am. I assume that it was because of all the changes I was making
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;in those directories. With this in mind I have added them back - as they
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;now build fine. Even still - I am doing work on Vista much of the time to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;ensure that things are ok there and then checking the changes in before
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;switching over to Linux to ensure portability... so there may be times
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;when things break for some hours (possibly 24hrs).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;Hopefully this is ok. Alternatively; I could just yank this work from the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;project (as we had discussed) and start working in a new project.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;Its all good from where I am sitting - I just need to stay focused on
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;making progress as fast as possible.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Yes, I was trying to get a build that built :-) so I could release it.
&lt;br&gt;&amp;gt;&amp;gt;It failed with some TEXT() macros.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;It would help getting the 2.2.13 out if you could hold back for the
&lt;br&gt;&amp;gt;&amp;gt;moment though, or if its in a state of flux, maybe it would be better to
&lt;br&gt;&amp;gt;&amp;gt;remove for the moment, as then it will get released quicker and we can
&lt;br&gt;&amp;gt;&amp;gt;do the plit we talked about, There is not much point in a release if
&lt;br&gt;&amp;gt;&amp;gt;part of it is a work in progress.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Well it builds for me at this moment so I can just leave it as is and start 
&lt;br&gt;&amp;gt;working from another project or take steps to actually remove some of it now. 
&lt;br&gt;&amp;gt;Your preference?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I am definitely a huge fan of getting a release out :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Where should we draw the line between the unixODBC of 'tomorrow' and the 
&lt;br&gt;&amp;gt;optional stuff? I suppose unixODBC could be reduced to the following 
&lt;br&gt;&amp;gt;deliverables.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Libraries
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;- odbc
&lt;br&gt;&amp;gt;- odbcinst
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Executables
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;- isql
&lt;br&gt;&amp;gt;- uisql
&lt;br&gt;&amp;gt;- odbcinst
&lt;br&gt;&amp;gt;- odbc_config
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Includes
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;- sql.h
&lt;br&gt;&amp;gt;- sqlext.h
&lt;br&gt;&amp;gt;- sqltypes.h
&lt;br&gt;&amp;gt;- sqlucode.h
&lt;br&gt;&amp;gt;- odbcinst.h
&lt;br&gt;&amp;gt;- odbcinstext.h
&lt;br&gt;&amp;gt;- unixodbc_conf.h
&lt;br&gt;&amp;gt;- uodbc_extras.h
&lt;br&gt;&amp;gt;- uodbc_stats.h
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;This would leave, at least, the following features to be put into one or more 
&lt;br&gt;&amp;gt;projects;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;- drivers
&lt;br&gt;&amp;gt;- driver config
&lt;br&gt;&amp;gt;- Qt gui bits
&lt;br&gt;&amp;gt;- gtk gui bits
&lt;br&gt;&amp;gt;- wrappers
&lt;br&gt;&amp;gt;- FDB stuff
&lt;br&gt;&amp;gt;- SQL parser
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;...basically anything not needed to support the basic functionality of DM and 
&lt;br&gt;&amp;gt;odbcinst.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Thoughts?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;I would leave the original ODBCConfig (so libodbcinstQ), odbctest and 
&lt;br&gt;maybe one DataManager in the main build.
&lt;br&gt;&lt;br&gt;The current CVS fails to build for me still.
&lt;br&gt;&lt;br&gt;&amp;nbsp;g++ -DPACKAGE_NAME=\&amp;quot;\&amp;quot; -DPACKAGE_TARNAME=\&amp;quot;\&amp;quot; -DPACKAGE_VERSION=\&amp;quot;\&amp;quot; 
&lt;br&gt;-DPACKAGE_STRING=\&amp;quot;\&amp;quot; -DPACKAGE_BUGREPORT=\&amp;quot;\&amp;quot; -DPACKAGE=\&amp;quot;unixODBC\&amp;quot; 
&lt;br&gt;-DVERSION=\&amp;quot;2.2.13pre\&amp;quot; -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 
&lt;br&gt;-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
&lt;br&gt;-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
&lt;br&gt;-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
&lt;br&gt;-DHAVE_SYS_SEM_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ICONV=1 -DICONV_CONST= 
&lt;br&gt;-DHAVE_LIBCRYPT=1 -DHAVE_READLINE_HISTORY_H=1 -DHAVE_READLINE=1 
&lt;br&gt;-DHAVE_SCANDIR=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_TIME_H=1 
&lt;br&gt;-DSIZEOF_LONG=4 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_INT=4 
&lt;br&gt;-DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_VSNPRINTF=1 
&lt;br&gt;-DHAVE_STRTOL=1 -DHAVE_ATOLL=1 -DHAVE_STRTOLL=1 -DHAVE_ENDPWENT=1 
&lt;br&gt;-DHAVE_GETTIMEOFDAY=1 -DHAVE_FTIME=1 -DHAVE_TIME=1 -DHAVE_LIBPTHREAD=1 
&lt;br&gt;-D_REENTRANT=1 -DHAVE_LOCALTIME_R=1 -DHAVE_FTOK=1 -DHAVE_SEMGET=1 
&lt;br&gt;-DHAVE_SHMGET=1 -DHAVE_SEMOP=1 -DHAVE_SNPRINTF=1 -DNEED_SEMUNDO_UNION=1 
&lt;br&gt;-DCOLLECT_STATS=1 -DQT_V4LAYOUT=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 
&lt;br&gt;-DHAVE_UNISTD_H=1 -DHAVE_PWD_H=1 -DHAVE_CRYPT_H=1 -DHAVE_LIMITS_H=1 
&lt;br&gt;-DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_LOCALE_H=1 
&lt;br&gt;-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_SEM_H=1 -DHAVE_STDARG_H=1 
&lt;br&gt;-DHAVE_VARARGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMEB_H=1 
&lt;br&gt;-DHAVE_TIME_H=1 -DHAVE_DIRENT_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 
&lt;br&gt;-DHAVE_VPRINTF=1 -DHAVE_PUTENV=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 
&lt;br&gt;-DHAVE_STRSTR=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_STRCHR=1 
&lt;br&gt;-DUNIXODBC_SOURCE=1 -I. -I. -I../include -I../../../include 
&lt;br&gt;-DTHEPREFIX=\&amp;quot;/usr/local\&amp;quot; -DSYSTEM_FILE_PATH=\&amp;quot;/usr/local/etc\&amp;quot; 
&lt;br&gt;-DDEFLIB_PATH=\&amp;quot;/usr/local/lib\&amp;quot; -DSHLIBEXT=\&amp;quot;.so\&amp;quot; -I../../../libltdl 
&lt;br&gt;-g -O2 -MT ODBCConsole.lo -MD -MP -MF .deps/ODBCConsole.Tpo -c 
&lt;br&gt;ODBCConsole.cpp &amp;nbsp;-fPIC -DPIC -o .libs/ODBCConsole.o
&lt;br&gt;ODBCConsole.cpp: In member function `virtual bool
&lt;br&gt;&amp;nbsp; &amp;nbsp;ODBCConsole::doExecuteShow(const SQLCHAR*)':
&lt;br&gt;ODBCConsole.cpp:751: invalid conversion from `SQLCHAR*' to `const char*'
&lt;br&gt;ODBCConsole.cpp:846: invalid conversion from `SQLCHAR*' to `const char*'
&lt;br&gt;make[3]: *** [ODBCConsole.lo] Error 1
&lt;br&gt;make[3]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers/CPP/Library'
&lt;br&gt;make[2]: *** [install-recursive] Error 1
&lt;br&gt;make[2]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers/CPP'
&lt;br&gt;make[1]: *** [install-recursive] Error 1
&lt;br&gt;make[1]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers'
&lt;br&gt;make: *** [install-recursive] Error 1
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Nick Gorham
&lt;br&gt;Easysoft Limited
&lt;br&gt;&lt;a href=&quot;http://www.easysoft.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.easysoft.com&lt;/a&gt;, &lt;a href=&quot;http://www.unixODBC.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.unixODBC.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19256441&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Wrappers-ODBCDataManagerQ4-tp19245401p19256441.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19246336</id>
	<title>Re: Wrappers/ODBCDataManagerQ4</title>
	<published>2008-08-31T14:30:15Z</published>
	<updated>2008-08-31T14:30:15Z</updated>
	<author>
		<name>Peter Harvey-5</name>
	</author>
	<content type="html">On Sunday 31 August 2008 13:24:59 Nick Gorham wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Peter Harvey wrote:
&lt;br&gt;&amp;gt; &amp;gt;Nick,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;I noticed that you removed Wrappers and ODBCDataManagerQ4 from
&lt;br&gt;&amp;gt; &amp;gt; Makefile.am. I assume that it was because of all the changes I was making
&lt;br&gt;&amp;gt; &amp;gt; in those directories. With this in mind I have added them back - as they
&lt;br&gt;&amp;gt; &amp;gt; now build fine. Even still - I am doing work on Vista much of the time to
&lt;br&gt;&amp;gt; &amp;gt; ensure that things are ok there and then checking the changes in before
&lt;br&gt;&amp;gt; &amp;gt; switching over to Linux to ensure portability... so there may be times
&lt;br&gt;&amp;gt; &amp;gt; when things break for some hours (possibly 24hrs).
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;Hopefully this is ok. Alternatively; I could just yank this work from the
&lt;br&gt;&amp;gt; &amp;gt;project (as we had discussed) and start working in a new project.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;Its all good from where I am sitting - I just need to stay focused on
&lt;br&gt;&amp;gt; &amp;gt; making progress as fast as possible.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yes, I was trying to get a build that built :-) so I could release it.
&lt;br&gt;&amp;gt; It failed with some TEXT() macros.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It would help getting the 2.2.13 out if you could hold back for the
&lt;br&gt;&amp;gt; moment though, or if its in a state of flux, maybe it would be better to
&lt;br&gt;&amp;gt; remove for the moment, as then it will get released quicker and we can
&lt;br&gt;&amp;gt; do the plit we talked about, There is not much point in a release if
&lt;br&gt;&amp;gt; part of it is a work in progress.
&lt;/div&gt;&lt;br&gt;Well it builds for me at this moment so I can just leave it as is and start 
&lt;br&gt;working from another project or take steps to actually remove some of it now. 
&lt;br&gt;Your preference?
&lt;br&gt;&lt;br&gt;I am definitely a huge fan of getting a release out :)
&lt;br&gt;&lt;br&gt;Where should we draw the line between the unixODBC of 'tomorrow' and the 
&lt;br&gt;optional stuff? I suppose unixODBC could be reduced to the following 
&lt;br&gt;deliverables.
&lt;br&gt;&lt;br&gt;Libraries
&lt;br&gt;&lt;br&gt;- odbc
&lt;br&gt;- odbcinst
&lt;br&gt;&lt;br&gt;Executables
&lt;br&gt;&lt;br&gt;- isql
&lt;br&gt;- uisql
&lt;br&gt;- odbcinst
&lt;br&gt;- odbc_config
&lt;br&gt;&lt;br&gt;Includes
&lt;br&gt;&lt;br&gt;- sql.h
&lt;br&gt;- sqlext.h
&lt;br&gt;- sqltypes.h
&lt;br&gt;- sqlucode.h
&lt;br&gt;- odbcinst.h
&lt;br&gt;- odbcinstext.h
&lt;br&gt;- unixodbc_conf.h
&lt;br&gt;- uodbc_extras.h
&lt;br&gt;- uodbc_stats.h
&lt;br&gt;&lt;br&gt;This would leave, at least, the following features to be put into one or more 
&lt;br&gt;projects;
&lt;br&gt;&lt;br&gt;- drivers
&lt;br&gt;- driver config
&lt;br&gt;- Qt gui bits
&lt;br&gt;- gtk gui bits
&lt;br&gt;- wrappers
&lt;br&gt;- FDB stuff
&lt;br&gt;- SQL parser
&lt;br&gt;&lt;br&gt;...basically anything not needed to support the basic functionality of DM and 
&lt;br&gt;odbcinst.
&lt;br&gt;&lt;br&gt;Thoughts?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Peter
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19246336&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Wrappers-ODBCDataManagerQ4-tp19245401p19246336.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19245807</id>
	<title>Re: Wrappers/ODBCDataManagerQ4</title>
	<published>2008-08-31T13:24:59Z</published>
	<updated>2008-08-31T13:24:59Z</updated>
	<author>
		<name>Nick Gorham-2</name>
	</author>
	<content type="html">Peter Harvey wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;Nick,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I noticed that you removed Wrappers and ODBCDataManagerQ4 from Makefile.am. I 
&lt;br&gt;&amp;gt;assume that it was because of all the changes I was making in those 
&lt;br&gt;&amp;gt;directories. With this in mind I have added them back - as they now build 
&lt;br&gt;&amp;gt;fine. Even still - I am doing work on Vista much of the time to ensure that 
&lt;br&gt;&amp;gt;things are ok there and then checking the changes in before switching over to 
&lt;br&gt;&amp;gt;Linux to ensure portability... so there may be times when things break for 
&lt;br&gt;&amp;gt;some hours (possibly 24hrs).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Hopefully this is ok. Alternatively; I could just yank this work from the 
&lt;br&gt;&amp;gt;project (as we had discussed) and start working in a new project.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Its all good from where I am sitting - I just need to stay focused on making 
&lt;br&gt;&amp;gt;progress as fast as possible.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;Yes, I was trying to get a build that built :-) so I could release it. 
&lt;br&gt;It failed with some TEXT() macros.
&lt;br&gt;&lt;br&gt;It would help getting the 2.2.13 out if you could hold back for the 
&lt;br&gt;moment though, or if its in a state of flux, maybe it would be better to 
&lt;br&gt;remove for the moment, as then it will get released quicker and we can 
&lt;br&gt;do the plit we talked about, There is not much point in a release if 
&lt;br&gt;part of it is a work in progress.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Nick
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19245807&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Wrappers-ODBCDataManagerQ4-tp19245401p19245807.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19245401</id>
	<title>Wrappers/ODBCDataManagerQ4</title>
	<published>2008-08-31T12:43:32Z</published>
	<updated>2008-08-31T12:43:32Z</updated>
	<author>
		<name>Peter Harvey-5</name>
	</author>
	<content type="html">Nick,
&lt;br&gt;&lt;br&gt;I noticed that you removed Wrappers and ODBCDataManagerQ4 from Makefile.am. I 
&lt;br&gt;assume that it was because of all the changes I was making in those 
&lt;br&gt;directories. With this in mind I have added them back - as they now build 
&lt;br&gt;fine. Even still - I am doing work on Vista much of the time to ensure that 
&lt;br&gt;things are ok there and then checking the changes in before switching over to 
&lt;br&gt;Linux to ensure portability... so there may be times when things break for 
&lt;br&gt;some hours (possibly 24hrs).
&lt;br&gt;&lt;br&gt;Hopefully this is ok. Alternatively; I could just yank this work from the 
&lt;br&gt;project (as we had discussed) and start working in a new project.
&lt;br&gt;&lt;br&gt;Its all good from where I am sitting - I just need to stay focused on making 
&lt;br&gt;progress as fast as possible.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Peter
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19245401&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Wrappers-ODBCDataManagerQ4-tp19245401p19245401.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19203127</id>
	<title>Re: Isql - connecting to SQL Server 2005 named instance</title>
	<published>2008-08-28T08:33:58Z</published>
	<updated>2008-08-28T08:33:58Z</updated>
	<author>
		<name>Nick987</name>
	</author>
	<content type="html">Were you ever able to connect to a sql server 2005 named instance using unixodbc and freetds? &amp;nbsp;I am facing the exact same issue:
&lt;br&gt;&lt;br&gt;&lt;i&gt;[S1000][unixODBC][FreeTDS][SQL Server]Unable to connect to data source
&lt;br&gt;[37000][unixODBC][FreeTDS][SQL Server]Login failed for user 'myuser'.
&lt;br&gt;[ISQL]ERROR: Could not SQLConnect&lt;/i&gt;&lt;br&gt;&lt;br&gt;I'm able to connect fine usign the freetds tsql client, but I'm unable to connect using the unixocbc isql client. &amp;nbsp;
&lt;br&gt;&lt;br&gt;The following is visible ing the freetds log, but doesn't make sense because I connect fine when using freetds alone:
&lt;br&gt;&lt;br&gt;&lt;i&gt;login.c:735:quietly sending TDS 7+ login packet
&lt;br&gt;token.c:312:tds_process_login_tokens()
&lt;br&gt;net.c:592:Received header
&lt;br&gt;0000 04 01 00 6e 00 00 01 00- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|...n....|
&lt;br&gt;&lt;br&gt;net.c:671:Received packet
&lt;br&gt;&amp;lt;&amp;lt;Packet here&amp;gt;&amp;gt;
&lt;br&gt;0060 00 00 00 00 00 00 &amp;nbsp; &amp;nbsp; &amp;nbsp;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|......|
&lt;br&gt;&lt;br&gt;token.c:316:looking for login token, got &amp;nbsp;aa(ERROR)
&lt;br&gt;token.c:108:tds_process_default_tokens() marker is aa(ERROR)&lt;/i&gt;&lt;br&gt;&lt;br&gt;Thanks. &amp;nbsp;-Nick
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Andy Pflueger wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hello,
&lt;br&gt;&lt;br&gt;The other day, I posted an issue with setting up unixODBC &amp; freeTDS for
&lt;br&gt;accessing a SQL Server database. In that post, I don't believe I mentioned
&lt;br&gt;that our database is defined in a &amp;quot;named instance&amp;quot; of SQL Server. Tsql works
&lt;br&gt;just fine and I'm able to communicate after setting up freeTDS as follows:
&lt;br&gt;&lt;br&gt;[CIRSTEST]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; host = 172.20.1.192
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; instance = cinnetsql_test
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tds version = 8.0
&lt;br&gt;&lt;br&gt;Then, once tsql worked, I proceeded to setup odbc.ini as follows and test
&lt;br&gt;isql connectivity. This results in error.
&lt;br&gt;&lt;br&gt;$ cat odbc.ini
&lt;br&gt;[CIRSTEST]
&lt;br&gt;Driver &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= FreeTDS
&lt;br&gt;Description &amp;nbsp; &amp;nbsp; = ODBC connection via FreeTDS
&lt;br&gt;Trace &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = No
&lt;br&gt;Servername &amp;nbsp; &amp;nbsp; &amp;nbsp;= CIRSTEST
&lt;br&gt;Database &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= cinram_it_request_system_test
&lt;br&gt;&lt;br&gt;$ cat odbcinst.ini
&lt;br&gt;[FreeTDS]
&lt;br&gt;Description &amp;nbsp; &amp;nbsp; = TDS driver (Sybase/MS SQL)
&lt;br&gt;Driver &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= /usr/local/lib/libtdsodbc.so
&lt;br&gt;Setup &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = /usr/local/lib/libtdsS.so
&lt;br&gt;CPTimeout &amp;nbsp; &amp;nbsp; &amp;nbsp; =
&lt;br&gt;CPReuse &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =
&lt;br&gt;FileUsage &amp;nbsp; &amp;nbsp; &amp;nbsp; = 1
&lt;br&gt;&lt;br&gt;$ isql CIRSTEST reqsysUser PASSWORD_HERE -v
&lt;br&gt;[S1000][unixODBC][FreeTDS][SQL Server]Unable to connect to data source
&lt;br&gt;[37000][unixODBC][FreeTDS][SQL Server]Login failed for user 'reqsysUser'.
&lt;br&gt;[ISQL]ERROR: Could not SQLConnect
&lt;br&gt;&lt;br&gt;I am VERY certain I'm using the same password and username spelling when I
&lt;br&gt;use tsql, but isql keeps returning the above error each time. Is there
&lt;br&gt;something special in my odbc.ini or odbcinst.ini I'm missing in order to
&lt;br&gt;connect to a SQL Server named instance? I thought maybe adding &amp;quot;Instance =
&lt;br&gt;INSTANCE_NAME&amp;quot; would help but that hadn't. I've also tried putting the
&lt;br&gt;Server, Port, User, and Password in odbc.ini as well and no luck.
&lt;br&gt;&lt;br&gt;We would like to try and host our application on Linux/Apache but if we
&lt;br&gt;can't get this owrking may have to resort back to setting up IIS for Ruby
&lt;br&gt;support and then use its build-in ADO library which works just fine when
&lt;br&gt;we're on our localhost (Netbeans w/ WEBrick web server).
&lt;br&gt;&lt;br&gt;Thanks again in advance,
&lt;br&gt;&lt;br&gt;Andy Pflueger
&lt;br&gt;Sr System Admin
&lt;br&gt;Ivy Hill - Louisville
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-support mailing list
&lt;br&gt;unixODBC-support@easysoft.com
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-support&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-support&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Support-f808.html&quot; embed=&quot;fixTarget[808]&quot; target=&quot;_top&quot; &gt;unixODBC - Support&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Isql---connecting-to-SQL-Server-2005-named-instance-tp18527738p19203127.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19176254</id>
	<title>Re: SQLDriverConnect()</title>
	<published>2008-08-27T00:38:25Z</published>
	<updated>2008-08-27T00:38:25Z</updated>
	<author>
		<name>Nick Gorham-2</name>
	</author>
	<content type="html">Igor Korot wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;Hi, (Nick),
&lt;br&gt;&amp;gt;This is the code from unixODBC 2.2.12 SQLDriverConnect:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Will a dialog shows up in 2.2.13?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Thank you.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;No, its still a do later, as far as I know you are the only one who 
&lt;br&gt;needs the dialogs, so help yourself. There is code in the odbcinst lib 
&lt;br&gt;that shows how to try and call the entry points into ODBCConfig, though 
&lt;br&gt;a entry point will need adding to allow the selection of the driver.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Nick
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19176254&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/SQLDriverConnect%28%29-tp19174367p19176254.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19174367</id>
	<title>SQLDriverConnect()</title>
	<published>2008-08-26T20:58:23Z</published>
	<updated>2008-08-26T20:58:23Z</updated>
	<author>
		<name>Igor Korot</name>
	</author>
	<content type="html">Hi, (Nick),
&lt;br&gt;This is the code from unixODBC 2.2.12 SQLDriverConnect:
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* look for some keywords
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* TO_DO FILEDSN's
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* have we got a DRIVER= attribute
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; driver = __get_attribute_value( &amp;con_struct, &amp;quot;DRIVER&amp;quot; );
&lt;br&gt;&amp;nbsp; &amp;nbsp; if ( driver )
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* look up the driver in the ini file
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; strcpy( driver_name, driver );
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SQLGetPrivateProfileString( driver, &amp;quot;Driver&amp;quot;, &amp;quot;&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lib_name, sizeof( lib_name ), &amp;quot;ODBCINST.INI&amp;quot; );
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ( lib_name[ 0 ] == '\0' )
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* at this point a box could pop up to allow the selection of a driver
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* do this later
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dm_log_write( __FILE__, 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __LINE__, 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_INFO, 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_INFO, 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;Error: IM002&amp;quot; );
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __post_internal_error( &amp;connection -&amp;gt; error,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ERROR_IM002, NULL,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; connection -&amp;gt; environment -&amp;gt; requested_version );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __release_conn( &amp;con_struct );
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return function_return( SQL_HANDLE_DBC, connection, SQL_ERROR );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;Will a dialog shows up in 2.2.13?
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19174367&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/SQLDriverConnect%28%29-tp19174367p19174367.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19163612</id>
	<title>Re: Does unixODBC support IPv6 for postgresql?</title>
	<published>2008-08-26T07:44:04Z</published>
	<updated>2008-08-26T07:44:04Z</updated>
	<author>
		<name>Alexander Medina</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;Are you using a DNS server to resolve names? &amp;nbsp;That would be the first thing I&amp;#39;d check. &amp;nbsp;Or try connecting with the IP instead.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I use UnixODBC to connect to PSQL with an IPv6 connection. &amp;nbsp;This may be a shot in the dark but do you have your pg_hba.conf and postgresql.conf files to allow connections from the system trying to make the connection? &amp;nbsp;There&amp;#39;s a section in the pg_hba.conf file to specify IPv6 connections. &amp;nbsp;Also, I had to use the &lt;a href=&quot;http://libodbcpsql.2.0.0.so&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;libodbcpsql.2.0.0.so&lt;/a&gt; driver that came with unixodbc. &amp;nbsp;&lt;br&gt;
&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Alex-&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Aug 25, 2008 at 10:48 PM, HU Ivan &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19163612&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;huming@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;&lt;br&gt;
Hi,&lt;br&gt;
&lt;br&gt;
I am currently use UnixODBC to connect to PSQL.&lt;br&gt;
While when configing in IPv6 env, Error pops up with &amp;quot;Culd not connect&lt;br&gt;
to the server;Could not resolve hostname.&amp;quot;&lt;br&gt;
&lt;br&gt;
Is that mean unixODBC does not support IPv6 or caused by my wrong&lt;br&gt;
configuration? Thanks a lot.&lt;br&gt;
&lt;br&gt;
The version I used is&lt;br&gt;
unixODBC 2.2.11&lt;br&gt;
psql (PostgreSQL) 8.0.3&lt;br&gt;
&lt;br&gt;
Best Regards&lt;br&gt;
Ivan&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
_______________________________________________&lt;br&gt;
unixODBC-support mailing list&lt;br&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19163612&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-support@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-support&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-support&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;unixODBC-support mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19163612&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-support@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-support&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-support&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Support-f808.html&quot; embed=&quot;fixTarget[808]&quot; target=&quot;_top&quot; &gt;unixODBC - Support&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Does-unixODBC-support-IPv6-for-postgresql--tp19155055p19163612.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19155055</id>
	<title>Does unixODBC support IPv6 for postgresql?</title>
	<published>2008-08-25T19:48:16Z</published>
	<updated>2008-08-25T19:48:16Z</updated>
	<author>
		<name>Hu, Ming (Ivan)-2</name>
	</author>
	<content type="html">&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;I am currently use UnixODBC to connect to PSQL. 
&lt;br&gt;While when configing in IPv6 env, Error pops up with &amp;quot;Culd not connect
&lt;br&gt;to the server;Could not resolve hostname.&amp;quot;
&lt;br&gt;&lt;br&gt;Is that mean unixODBC does not support IPv6 or caused by my wrong
&lt;br&gt;configuration? Thanks a lot.
&lt;br&gt;&lt;br&gt;The version I used is 
&lt;br&gt;unixODBC 2.2.11
&lt;br&gt;psql (PostgreSQL) 8.0.3
&lt;br&gt;&lt;br&gt;Best Regards
&lt;br&gt;Ivan
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-support mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19155055&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-support@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-support&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-support&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Support-f808.html&quot; embed=&quot;fixTarget[808]&quot; target=&quot;_top&quot; &gt;unixODBC - Support&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Does-unixODBC-support-IPv6-for-postgresql--tp19155055p19155055.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19117091</id>
	<title>SQLInstallerError confusion</title>
	<published>2008-08-22T16:28:08Z</published>
	<updated>2008-08-22T16:28:08Z</updated>
	<author>
		<name>Igor Korot</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;MSDN says in regards to SQLInstallerError:
&lt;br&gt;&lt;br&gt;[Quote]
&lt;br&gt;Arguments:
&lt;br&gt;&amp;nbsp; iError
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[Input] Error record number. Valid numbers are from 1 to 8
&lt;br&gt;[/Quote]
&lt;br&gt;&lt;br&gt;However in the file odbcinst/SQLInstallerError.c there are following lines:
&lt;br&gt;&lt;br&gt;[Code]
&lt;br&gt;if ( nError != 1 || pnErrorCode == NULL || pszErrorMsg == NULL )
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return SQL_NO_DATA;
&lt;br&gt;[/Code]
&lt;br&gt;&lt;br&gt;nError variable is a first parameter (i.e. iError).
&lt;br&gt;Which means that unixODBC accepts only &amp;quot;1&amp;quot; as iError.
&lt;br&gt;&lt;br&gt;The biffest question here is that MSDN does NOT say when the parameter
&lt;br&gt;should be 1 and when - 8. But since it is used only for SQLConfigDataSource,
&lt;br&gt;my guess is that it somehow related to the config function second parameter -
&lt;br&gt;whether we working with user or system DSN, and what operation is performed.
&lt;br&gt;&lt;br&gt;Probably, since it was not available at the time of this code was written
&lt;br&gt;it is written thhis way.
&lt;br&gt;&lt;br&gt;I will try to talk to either M$ or someone who is familiar with this stuff
&lt;br&gt;over at CodeGuru/CodeProject to figure out what parameter belongs where.
&lt;br&gt;&lt;br&gt;Please confirm my suspicion about lack of documentation or otherwise
&lt;br&gt;why the code accepts only &amp;quot;1&amp;quot;.
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19117091&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/SQLInstallerError-confusion-tp19117091p19117091.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19116058</id>
	<title>64-bit Linux Support</title>
	<published>2008-08-22T14:36:57Z</published>
	<updated>2008-08-22T14:36:57Z</updated>
	<author>
		<name>Kevin Crow</name>
	</author>
	<content type="html">I'm adding 64-bit ODBC support for an application and need to know how unixODBC 
&lt;br&gt;data types differ from Windows. &amp;nbsp;Does unixODBC support SQLLEN, SQLULEN, etc. for 
&lt;br&gt;SQLBindCol, etc. or do I just leave them as is for both 32-bit/64-bit. &amp;nbsp;I have 
&lt;br&gt;had mixed results with the DB2/FreeTDS/MySQL/Oracle drivers when leaving data 
&lt;br&gt;type defs as is.
&lt;br&gt;&lt;br&gt;Kevin
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-support mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19116058&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-support@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-support&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-support&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Support-f808.html&quot; embed=&quot;fixTarget[808]&quot; target=&quot;_top&quot; &gt;unixODBC - Support&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/64-bit-Linux-Support-tp19116058p19116058.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19109560</id>
	<title>Re: (no subject)</title>
	<published>2008-08-22T08:23:16Z</published>
	<updated>2008-08-22T08:23:16Z</updated>
	<author>
		<name>Igor Korot</name>
	</author>
	<content type="html">OK, thank you for this info.
&lt;br&gt;Now what will happen if the driver does not have this function? Will it
&lt;br&gt;generate the default dialog (generic one)? Or just fail?
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;From: Nick Gorham &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19109560&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nick@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;Sent: Aug 22, 2008 1:50 AM
&lt;br&gt;&amp;gt;To: Igor Korot &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19109560&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ikorot@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;Cc: Development issues and topics for unixODBC &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19109560&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixodbc-dev@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;Subject: Re: [unixODBC-dev] (no subject)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Igor Korot wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Nick,
&lt;br&gt;&amp;gt;&amp;gt;Did you look at this one?
&lt;br&gt;&amp;gt;&amp;gt;Or maybe I'm expecting too much from this function?
&lt;br&gt;&amp;gt;&amp;gt;I just want to see the standard dialog - the same as if you tried to create DSN from ODBCConfig...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Thank you.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;If the driver you are using supports the ConfigDSN entry point in its 
&lt;br&gt;&amp;gt;setup lib, then it should work. Very few do.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;-- 
&lt;br&gt;&amp;gt;Nick
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19109560&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%28no-subject%29-tp18993574p19109560.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19103691</id>
	<title>Re: (no subject)</title>
	<published>2008-08-22T01:50:12Z</published>
	<updated>2008-08-22T01:50:12Z</updated>
	<author>
		<name>Nick Gorham-2</name>
	</author>
	<content type="html">Igor Korot wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;Nick,
&lt;br&gt;&amp;gt;Did you look at this one?
&lt;br&gt;&amp;gt;Or maybe I'm expecting too much from this function?
&lt;br&gt;&amp;gt;I just want to see the standard dialog - the same as if you tried to create DSN from ODBCConfig...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Thank you.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;If the driver you are using supports the ConfigDSN entry point in its 
&lt;br&gt;setup lib, then it should work. Very few do.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Nick
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19103691&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%28no-subject%29-tp18993574p19103691.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19101622</id>
	<title>Re: (no subject)</title>
	<published>2008-08-21T22:22:04Z</published>
	<updated>2008-08-21T22:22:04Z</updated>
	<author>
		<name>Igor Korot</name>
	</author>
	<content type="html">Nick,
&lt;br&gt;Did you look at this one?
&lt;br&gt;Or maybe I'm expecting too much from this function?
&lt;br&gt;I just want to see the standard dialog - the same as if you tried to create DSN from ODBCConfig...
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;From: Igor Korot &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19101622&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ikorot@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;Sent: Aug 15, 2008 4:21 PM
&lt;br&gt;&amp;gt;To: Nick Gorham &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19101622&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nick@...&lt;/a&gt;&amp;gt;, Development issues and topics for unixODBC &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19101622&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixodbc-dev@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;Subject: Re: [unixODBC-dev] (no subject)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Nick,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;-----Original Message-----
&lt;br&gt;&amp;gt;&amp;gt;From: Nick Gorham &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19101622&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nick@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Sent: Aug 15, 2008 12:10 AM
&lt;br&gt;&amp;gt;&amp;gt;To: Igor Korot &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19101622&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ikorot@...&lt;/a&gt;&amp;gt;, Development issues and topics for unixODBC &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19101622&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixodbc-dev@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Subject: Re: [unixODBC-dev] (no subject)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Igor Korot wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;Hi, (Nick),
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;What is the proper way to call SQLConfigDataSource()?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;My code (pseudo-code):
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;SQLWCHAR *dsn = &amp;quot;mySQL&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;SQLWCHAR param[254];
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;ret = SQLConfigDataSource( HWND, ODBC_ADD_DSN, dsn, param );
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;if( ret != SQL_SUCCESS )
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;{
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;// show error message
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;}
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;The code executes fine, according to the log file: function gives SQL_SUCCESS 2 times from SQLDataSourceW.c
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;But then the program crashes.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;Doing &amp;quot;bt&amp;quot; in gdb shows that the crash occuring in the libodbcinst.so.1.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;Any thoughts?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Seems ok, can you provide any code I can run that causes the problem?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Do you set param to be empty first ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;That's pretty much it.
&lt;br&gt;&amp;gt;The only reason I said it's a pseudo-code, is because I am using wxWidgets library
&lt;br&gt;&amp;gt;for development. They using UTF8 in SVN TRUNK.
&lt;br&gt;&amp;gt;So, basically, I am converting initial string to be UTF16 (SQLWCHAR *dsn).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Variable &amp;quot;param&amp;quot; is declared only, it is not initialized.
&lt;br&gt;&amp;gt;Does it has to be like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;SQLWCHAR param[254] = &amp;quot;&amp;quot;;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;-- 
&lt;br&gt;&amp;gt;&amp;gt;Nick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Thank you.
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19101622&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%28no-subject%29-tp18993574p19101622.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19099768</id>
	<title>Re: Re: Dynamic vs static linkage</title>
	<published>2008-08-21T17:50:55Z</published>
	<updated>2008-08-21T17:50:55Z</updated>
	<author>
		<name>Igor Korot</name>
	</author>
	<content type="html">Thank you.
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;From: Nick Gorham &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19099768&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nick.gorham@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;Sent: Aug 21, 2008 5:13 PM
&lt;br&gt;&amp;gt;To: Igor Korot &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19099768&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ikorot@...&lt;/a&gt;&amp;gt;, Development issues and topics for unixODBC &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19099768&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixodbc-dev@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;Subject: Re: [unixODBC-dev] Re: Dynamic vs static linkage
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Igor Korot wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Nick,
&lt;br&gt;&amp;gt;&amp;gt;I just looked at the source. The call failing at the line 191 according to the log:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;if ( environment -&amp;gt; requested_version == 0 )
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;What am I missing?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Thank you.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Is it calling SQLALlocEnv or SQLAllocHandle to allocate the environment 
&lt;br&gt;&amp;gt;handle?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;if its the latter, it needs to call SQLSetEnvAttr to specify ODBC2 or ODBC3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;As to why there is a difference between the .a or .so I don't know.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;-- 
&lt;br&gt;&amp;gt;Nick
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19099768&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Dynamic-vs-static-linkage-tp19080399p19099768.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19099377</id>
	<title>Re: Re: Dynamic vs static linkage</title>
	<published>2008-08-21T17:13:48Z</published>
	<updated>2008-08-21T17:13:48Z</updated>
	<author>
		<name>Nick Gorham</name>
	</author>
	<content type="html">Igor Korot wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;Nick,
&lt;br&gt;&amp;gt;I just looked at the source. The call failing at the line 191 according to the log:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;if ( environment -&amp;gt; requested_version == 0 )
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;What am I missing?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Thank you.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Is it calling SQLALlocEnv or SQLAllocHandle to allocate the environment 
&lt;br&gt;handle?
&lt;br&gt;&lt;br&gt;if its the latter, it needs to call SQLSetEnvAttr to specify ODBC2 or ODBC3
&lt;br&gt;&lt;br&gt;As to why there is a difference between the .a or .so I don't know.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Nick
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19099377&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Dynamic-vs-static-linkage-tp19080399p19099377.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19096428</id>
	<title>Re: build for UNICODE</title>
	<published>2008-08-21T13:38:34Z</published>
	<updated>2008-08-21T13:38:34Z</updated>
	<author>
		<name>Peter Harvey-5</name>
	</author>
	<content type="html">&amp;gt;
&lt;br&gt;&amp;gt; Does it work as expected without the UNICODE flag?
&lt;br&gt;&lt;br&gt;Will see... currently reworking some wrapper code.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Peter
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19096428&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/build-for-UNICODE-tp19054322p19096428.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19081927</id>
	<title>Re: Dynamic vs static linkage</title>
	<published>2008-08-20T20:23:46Z</published>
	<updated>2008-08-20T20:23:46Z</updated>
	<author>
		<name>Igor Korot</name>
	</author>
	<content type="html">Nick,
&lt;br&gt;I just looked at the source. The call failing at the line 191 according to the log:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; if ( environment -&amp;gt; requested_version == 0 )
&lt;br&gt;&lt;br&gt;What am I missing?
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;From: Igor Korot &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19081927&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ikorot@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;Sent: Aug 20, 2008 8:06 PM
&lt;br&gt;&amp;gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19081927&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixodbc-dev@...&lt;/a&gt;
&lt;br&gt;&amp;gt;Cc: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19081927&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nick@...&lt;/a&gt;
&lt;br&gt;&amp;gt;Subject: Dynamic vs static linkage
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Hi, (Nick),
&lt;br&gt;&amp;gt;Is there a difference between running unixODBC in dynamic (.so) vs static (.a) library?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I tried following code:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;RETCODE ret;
&lt;br&gt;&amp;gt;SQLWCHAR driverDesc[1024];
&lt;br&gt;&amp;gt;ret = SQLDriwers( m_henv, SQL_FETCH_FIRST, driverDesc, sizeof( driverDesc ) -1, 0, 0, 0, 0 );
&lt;br&gt;&amp;gt;if( ret != SQL_SUCCESS )
&lt;br&gt;&amp;gt;// &amp;nbsp; generate error message
&lt;br&gt;&amp;gt;else
&lt;br&gt;&amp;gt;// &amp;nbsp; call the same function with SQL_FETCH_NEXT
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;When I call this code inside .so, it runs and executes fine, however, when I do this in .a library
&lt;br&gt;&amp;gt;it returns HY090.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I'm working with KDevelop and whatever it generated for my project.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Thank you.
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19081927&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Dynamic-vs-static-linkage-tp19080399p19081927.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19080399</id>
	<title>Dynamic vs static linkage</title>
	<published>2008-08-20T17:06:38Z</published>
	<updated>2008-08-20T17:06:38Z</updated>
	<author>
		<name>Igor Korot</name>
	</author>
	<content type="html">Hi, (Nick),
&lt;br&gt;Is there a difference between running unixODBC in dynamic (.so) vs static (.a) library?
&lt;br&gt;&lt;br&gt;I tried following code:
&lt;br&gt;&lt;br&gt;RETCODE ret;
&lt;br&gt;SQLWCHAR driverDesc[1024];
&lt;br&gt;ret = SQLDriwers( m_henv, SQL_FETCH_FIRST, driverDesc, sizeof( driverDesc ) -1, 0, 0, 0, 0 );
&lt;br&gt;if( ret != SQL_SUCCESS )
&lt;br&gt;// &amp;nbsp; generate error message
&lt;br&gt;else
&lt;br&gt;// &amp;nbsp; call the same function with SQL_FETCH_NEXT
&lt;br&gt;&lt;br&gt;When I call this code inside .so, it runs and executes fine, however, when I do this in .a library
&lt;br&gt;it returns HY090.
&lt;br&gt;&lt;br&gt;I'm working with KDevelop and whatever it generated for my project.
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19080399&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Dynamic-vs-static-linkage-tp19080399p19080399.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19077927</id>
	<title>unixODBC bug with PHP, Postgres?</title>
	<published>2008-08-20T13:57:05Z</published>
	<updated>2008-08-20T13:57:05Z</updated>
	<author>
		<name>Justin Bailey-4</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I am using unixODBC 2.2.9, &amp;nbsp;PHP 5.2.3 and Postgres 8.2.4. &amp;nbsp; I believe
&lt;br&gt;I have found a bug when using prepared statements with autocommit
&lt;br&gt;turned off. It appears all queries executed will be rolled back,
&lt;br&gt;except the last one. The rest of this email shows how it happens.
&lt;br&gt;&lt;br&gt;I am executing prepared statements via PHP's ODBC interface. I am not
&lt;br&gt;using this facility to prepare statements and re-use them - I only
&lt;br&gt;want the parameter binding facility. Therefore, I prepare a statement,
&lt;br&gt;execute it, get the results, and throw away the statement. In my brief
&lt;br&gt;reading of the ODBC reference on MSDN this seems OK.
&lt;br&gt;&lt;br&gt;I am using SELECT queries to execute user-defined functions (postgres
&lt;br&gt;does not allow them be executed any other way). When I try to execute
&lt;br&gt;multiple queries in one transaction, &amp;nbsp;logs show these statements
&lt;br&gt;(remember, autocommit is off):
&lt;br&gt;&lt;br&gt;postgres[7615]: [21-1] LOG: &amp;nbsp;statement: BEGIN;SELECT
&lt;br&gt;myFunction(CAST(NULL AS bigint),CAST(NULL AS bigint),NULL) as result
&lt;br&gt;postgres[7615]: [22-1] LOG: &amp;nbsp;statement: ROLLBACK
&lt;br&gt;postgres[7615]: [23-1] LOG: &amp;nbsp;statement: BEGIN;SELECT myFunction(CAST(
&lt;br&gt;'616013000000000136' AS bigint),CAST('616013000000000064' AS bigint),
&lt;br&gt;'xxx') as result
&lt;br&gt;postgres[7615]: [24-1] LOG: &amp;nbsp;statement: SELECT myFunction(CAST(NULL AS
&lt;br&gt;bigint),CAST(NULL AS bigint),NULL) as result
&lt;br&gt;postgres[7615]: [25-1] LOG: &amp;nbsp;statement: ROLLBACK
&lt;br&gt;postgres[7615]: [26-1] LOG: &amp;nbsp;statement: BEGIN;SELECT myFunction(CAST(
&lt;br&gt;'616013000000000139' AS bigint),CAST( '616013000000000064' AS bigint),
&lt;br&gt;'xxx') as result
&lt;br&gt;postgres[7615]: [27-1] LOG: &amp;nbsp;statement: COMMIT
&lt;br&gt;&lt;br&gt;The log shows this sequence of events:
&lt;br&gt;&lt;br&gt;&amp;nbsp;1) Issue a query with all parameters set to NULL.
&lt;br&gt;&amp;nbsp;2) ROLLBACK
&lt;br&gt;&amp;nbsp;3) Issue the same query with the real parameters. This is the end of
&lt;br&gt;the first query I issued.
&lt;br&gt;&amp;nbsp;4) Issue a new query with parameters again set to NULL.
&lt;br&gt;&amp;nbsp;5) &amp;nbsp;ROLLBACK
&lt;br&gt;&amp;nbsp;6) Again, Issue the same query with real parameters. This is the end
&lt;br&gt;of my second query.
&lt;br&gt;&amp;nbsp;7) COMMIT
&lt;br&gt;&lt;br&gt;It looks like preparing a statement causes a rollback, for each
&lt;br&gt;statement prepared. When multiple statements are executed, only the
&lt;br&gt;results of the last statement are committed.
&lt;br&gt;&lt;br&gt;Does anyone have any comments or workarounds? &amp;nbsp;Otherwise please
&lt;br&gt;consider this a bug report.
&lt;br&gt;&lt;br&gt;Justin
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-support mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19077927&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-support@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-support&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-support&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Support-f808.html&quot; embed=&quot;fixTarget[808]&quot; target=&quot;_top&quot; &gt;unixODBC - Support&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/unixODBC-bug-with-PHP%2C-Postgres--tp19077927p19077927.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19068851</id>
	<title>thread safety</title>
	<published>2008-08-20T05:50:42Z</published>
	<updated>2008-08-20T05:50:42Z</updated>
	<author>
		<name>Tomáš Macek</name>
	</author>
	<content type="html">Hello, I'd like to know, if unixODBC is thread safe. I found something 
&lt;br&gt;in ChangeLog redarding thread safety, but no finish statement saying 
&lt;br&gt;&amp;quot;yes, thread safe&amp;quot;.
&lt;br&gt;&lt;br&gt;I'm programming an application, that needs to have threads over 
&lt;br&gt;libpthreads in Linux. Can I use the ODBC connection in threads passed 
&lt;br&gt;as parameter? Something like
&lt;br&gt;&lt;br&gt;SQLHDBC conn = NULL;
&lt;br&gt;SQLHENV env = NULL;
&lt;br&gt;&lt;br&gt;int main(...) {
&lt;br&gt;&amp;nbsp; &amp;nbsp;...
&lt;br&gt;&amp;nbsp; &amp;nbsp;SQLConnect(conn, (SQLCHAR *)dsn, SQL_NTS, NULL, 0, NULL, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp;...
&lt;br&gt;&amp;nbsp; &amp;nbsp;pthread_create(&amp;thread_id, NULL, &amp;conn, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp;...
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;Can I pass the connection parameter into each newly created thread?
&lt;br&gt;&lt;br&gt;Thanks, Tomas
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-support mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19068851&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-support@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-support&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-support&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Support-f808.html&quot; embed=&quot;fixTarget[808]&quot; target=&quot;_top&quot; &gt;unixODBC - Support&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/thread-safety-tp19068851p19068851.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19065949</id>
	<title>Re: build for UNICODE</title>
	<published>2008-08-20T02:39:18Z</published>
	<updated>2008-08-20T02:39:18Z</updated>
	<author>
		<name>Nick Gorham-2</name>
	</author>
	<content type="html">Peter Harvey wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;On Tuesday 19 August 2008 14:40:09 Nick Gorham wrote:
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Peter Harvey wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;Nick,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;I am not doing anything particularly special... just building for UNICODE
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;and with native char support.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;1. I turn this on by some env vars in my bashrc as follows...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;	# Enable this to build with support for systems wide-char...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;	export CFLAGS=&amp;quot;-DUNICODE -DSQL_WCHART_CONVERT=1&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;2. The usual...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;	$ make -f Makefile.cvs
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;	$ ./configure --prefix=/usr --libdir=/usr/lib64
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;	$ make
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;--
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;Peter
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Ok, I think the -DUNICODE is the problem. Thats normally used when
&lt;br&gt;&amp;gt;&amp;gt;building apps to signal that the normal unadorned functions (SQLConnect
&lt;br&gt;&amp;gt;&amp;gt;for example) and sliently mapped to their wide version (SQLConnectW) and
&lt;br&gt;&amp;gt;&amp;gt;thats causing the conflict here.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Right. I think the 'unadorned' functions should NOT exist... just be defined 
&lt;br&gt;&amp;gt;to point to the A or W version as dictated by the UNICODE 'flag'. That would 
&lt;br&gt;&amp;gt;get me going again ;)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;Well, as always I am trying to replicate what happens on windows and I 
&lt;br&gt;think what we have now is closer than what you are suggesting. I think 
&lt;br&gt;its reasnable to allow the environment when building the driver manager 
&lt;br&gt;(which most folk will only do once) to be different from building apps, 
&lt;br&gt;or even drivers.
&lt;br&gt;&lt;br&gt;Does it work as expected without the UNICODE flag?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Nick
&lt;br&gt;_______________________________________________
&lt;br&gt;unixODBC-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19065949&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Dev-f806.html&quot; embed=&quot;fixTarget[806]&quot; target=&quot;_top&quot; &gt;unixODBC - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/build-for-UNICODE-tp19054322p19065949.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19062644</id>
	<title>make: Fatal error: Command failed for target `all-recursive' on solaris10</title>
	<published>2008-08-19T21:00:09Z</published>
	<updated>2008-08-19T21:00:09Z</updated>
	<author>
		<name>Tempo-3</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;I am able to run :&lt;br&gt;&lt;br&gt;./configure --prefix=/appl/unixODBC --enable-gui=no&lt;br&gt;&lt;br&gt;I am using this make:&lt;br&gt;&lt;br&gt;bash-3.00$ which make&lt;br&gt;/usr/ccs/bin/make&lt;br&gt;&lt;br&gt;It throws errors for make and exits:&lt;br&gt;&lt;br&gt;
ld: fatal: File processing errors. No output written to .libs/isql&lt;br&gt;*** Error code 1&lt;br&gt;make: Fatal error: Command failed for target `isql&amp;#39;&lt;br&gt;Current working directory /appl/installs/unixODBC-2.2.12/exe&lt;br&gt;*** Error code 1&lt;br&gt;
The following command caused the error:&lt;br&gt;failcom=&amp;#39;exit 1&amp;#39;; \&lt;br&gt;for f in x $MAKEFLAGS; do \&lt;br&gt;&amp;nbsp; case $f in \&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *=* | --[!k]*);; \&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *k*) failcom=&amp;#39;fail=yes&amp;#39;;; \&lt;br&gt;&amp;nbsp; esac; \&lt;br&gt;done; \&lt;br&gt;dot_seen=no; \&lt;br&gt;
target=`echo all-recursive | sed s/-recursive//`; \&lt;br&gt;list=&amp;#39;extras&amp;nbsp; log&amp;nbsp; lst&amp;nbsp; ini&amp;nbsp; libltdl&amp;nbsp; odbcinst&amp;nbsp; DriverManager&amp;nbsp; odbcinstQ&amp;nbsp; sqp&amp;nbsp; exe&amp;nbsp; cur&amp;nbsp; DRVConfig&amp;nbsp; Drivers&amp;nbsp; include&amp;nbsp; doc&amp;nbsp; ODBCConfig&amp;nbsp; DataManager&amp;nbsp; DataManagerII&amp;nbsp; odbctest&amp;nbsp; autotest&amp;nbsp; samples&amp;#39;; for subdir in $list; do \&lt;br&gt;
&amp;nbsp; echo &amp;quot;Making $target in $subdir&amp;quot;; \&lt;br&gt;&amp;nbsp; if test &amp;quot;$subdir&amp;quot; = &amp;quot;.&amp;quot;; then \&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dot_seen=yes; \&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; local_target=&amp;quot;$target-am&amp;quot;; \&lt;br&gt;&amp;nbsp; else \&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; local_target=&amp;quot;$target&amp;quot;; \&lt;br&gt;
&amp;nbsp; fi; \&lt;br&gt;&amp;nbsp; (cd $subdir &amp;amp;&amp;amp; /usr/ccs/bin/make&amp;nbsp; $local_target) \&lt;br&gt;&amp;nbsp; || eval $failcom; \&lt;br&gt;done; \&lt;br&gt;if test &amp;quot;$dot_seen&amp;quot; = &amp;quot;no&amp;quot;; then \&lt;br&gt;&amp;nbsp; /usr/ccs/bin/make&amp;nbsp; &amp;quot;$target-am&amp;quot; || exit 1; \&lt;br&gt;
fi; test -z &amp;quot;$fail&amp;quot;&lt;br&gt;make: Fatal error: Command failed for target `all-recursive&amp;#39;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;unixODBC-support mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19062644&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;unixODBC-support@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.easysoft.com/mailman/listinfo/unixodbc-support&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.easysoft.com/mailman/listinfo/unixodbc-support&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/unixODBC---Support-f808.html&quot; embed=&quot;fixTarget[808]&quot; target=&quot;_top&quot; &gt;unixODBC - Support&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/make%3A-Fatal-error%3A-Command-failed-for-target-%60all-recursive%27-on-solaris10-tp19062644p19062644.html" />
</entry>

</feed>
