<br><br><div class="gmail_quote">On Wed, Mar 23, 2011 at 11:39 PM, Miguel Sanchez <span dir="ltr">&lt;<a href="mailto:mikey.sanchez@gmail.com">mikey.sanchez@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
So it&#39;s a feature and not a bug.... ;-)<br>
<br></blockquote><div><br>heheheheh<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I&#39;ve got some stuff on compiling freeTDS and if I ever manage to<br>
compile openDBX I&#39;ll put together a howto.<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br>Ok. We can then integrate them where they should go: <a href="http://www.squeakdbx.org/Compiling%20for%20different%20backends">http://www.squeakdbx.org/Compiling%20for%20different%20backends</a><br>
 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div class="h5">
On 23 March 2011 23:34, Mariano Martinez Peck &lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt; wrote:<br>
&gt; ehehehhehe  Pharo &gt; 1.1  is broken with this...this is a known bug (check<br>
&gt; Pharo issue tracker)<br>
&gt; But don&#39;t worry, just evaluate: DBXPlatform<br>
&gt; disableAutomaticConnectionReleaseOnGC  and that&#39;s all. It is safe, don&#39;t<br>
&gt; worry.<br>
&gt;<br>
&gt; BTW...if you have something to improve our documentation in the website,<br>
&gt; please let us know.<br>
&gt;<br>
&gt; Cheers<br>
&gt;<br>
&gt; Mariano<br>
&gt;<br>
&gt; On Wed, Mar 23, 2011 at 11:29 PM, Miguel Sanchez &lt;<a href="mailto:mikey.sanchez@gmail.com">mikey.sanchez@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; OK so after struggling to build openDBX (that one is ongoing), on your<br>
&gt;&gt; instruction I switched to using DBXOdbcPlatform and ......... SUCCESS!<br>
&gt;&gt;<br>
&gt;&gt; Well ok partial success. I managed to open the connection and while<br>
&gt;&gt; investigating the resultset of a select I started getting an error. In<br>
&gt;&gt; DBXConnection&gt;&gt;connect<br>
&gt;&gt; On the line<br>
&gt;&gt;        self platform class isAutomaticConnectionReleaseOnGC ifTrue: [<br>
&gt;&gt;                SqueakDBXSmalltalkDialect current<br>
&gt;&gt; addObjectToGarbageCollect: self].<br>
&gt;&gt; /*during addObjectToGarbageCollect:*/<br>
&gt;&gt; I get the error: &quot;Error: There is no free space in this set.&quot;<br>
&gt;&gt;<br>
&gt;&gt; Do I need to force a garbage collect?<br>
&gt;&gt;<br>
&gt;&gt; Best Regards,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Miguel<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 15 March 2011 18:22, Miguel Sanchez &lt;<a href="mailto:mikey.sanchez@gmail.com">mikey.sanchez@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; OK so I&#39;ve had no luck getting to the bottom of the problem so far. I<br>
&gt;&gt; &gt; still get thrown into  &quot;DBXRecovereableError: RECOVERABLE OpenDBX:<br>
&gt;&gt; &gt; Connecting to server failed&quot; when calling DBXConnection&gt;&gt;open.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I can connect with the Windows command-line tsql equivalent<br>
&gt;&gt; &gt; (sqlcmd.exe) so the DB  user and permissions are correct.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I said I was going to try and build from sources instead of the<br>
&gt;&gt; &gt; precompiled binaries.<br>
&gt;&gt;        self platform class isAutomaticConnectionReleaseOnGC ifTrue: [<br>
&gt;&gt;                SqueakDBXSmalltalkDialect current<br>
&gt;&gt; addObjectToGarbageCollect: self].&gt;<br>
&gt;&gt; I&#39;ve downloaded and installed (finally) MinGW. I&#39;ve (finally!)<br>
&gt;&gt; &gt; downloaded sources of opendbx 1.4.5 and freetds-0.8.2.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; freetds built fine and put the headers in an accessible place. but now<br>
&gt;&gt; &gt; when I try to configure opendbx I get the following:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; checking for style of include used by make... GNU<br>
&gt;&gt; &gt; checking for gcc... gcc<br>
&gt;&gt; &gt; checking whether the C compiler works... no<br>
&gt;&gt; &gt; configure: error: in `/opendbx-1.4.5&#39;:<br>
&gt;&gt; &gt; configure: error: C compiler cannot create executables<br>
&gt;&gt; &gt; See `config.log&#39; for more details.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; config.log says the following:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; ===============================================<br>
&gt;&gt; &gt; &lt;snip&gt;<br>
&gt;&gt; &gt; configure:3972: gcc -qversion &gt;&amp;5<br>
&gt;&gt; &gt; gcc.exe: unrecognized option &#39;-qversion&#39;<br>
&gt;&gt; &gt; gcc.exe: no input files<br>
&gt;&gt; &gt; configure:3983: $? = 1<br>
&gt;&gt; &gt; configure:4003: checking whether the C compiler works<br>
&gt;&gt; &gt; configure:4025: gcc  /local/include  conftest.c  &gt;&amp;5<br>
&gt;&gt; &gt; c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe:<br>
&gt;&gt; &gt; cannot fin<br>
&gt;&gt; &gt; d C:/MinGW/msys/1.0/local/include: Permission denied^M<br>
&gt;&gt; &gt; collect2: ld returned 1 exit status^M<br>
&gt;&gt; &gt; configure:4029: $? = 1<br>
&gt;&gt; &gt; configure:4067: result: no<br>
&gt;&gt; &gt; configure: failed program was:<br>
&gt;&gt; &gt; | /* confdefs.h */<br>
&gt;&gt; &gt; &lt;snip&gt;<br>
&gt;&gt; &gt; ======================================<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The directory C:/MinGW/msys/1.0/local/include exists and is writable by<br>
&gt;&gt; &gt; me.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Right now it feels like I&#39;m trying to solve the problem of building<br>
&gt;&gt; &gt; opendbx without knowing if it&#39;s getting me any closer to getting<br>
&gt;&gt; &gt; squeakDBX working.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Any help would be appreciated.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Miguel<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>