<br><br><div class="gmail_quote">On Fri, Apr 8, 2011 at 4:01 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;">
Hi,<br>
<br>
OK after a few weeks hiatus I&#39;ve managed to get all the SqueakDBX<br>
tests to pass (ok two are still failing but they don&#39;t look like a big<br>
deal. ) Yayyyyyyy! It helped using the right backend. I&#39;ve all but<br>
given up compiling openDBX. If I have time I&#39;ll go back to it for<br>
completeness. I&#39;ll suggest some changes to the windows specific<br>
documentation, or make them myself. How do you want to proceed?<br>
<br></blockquote><div><br>Let me check with the rest of the team.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Soooooo now I have two questions that have occured to me.<br>
1. Is SqueakDBX ported to GemStone? (I&#39;m guessing not)..<br></blockquote><div><br>The problem is FFI. What do you want to do exacly ?  I mean, why (for what) you need SqueakDBX in Gemstone ?<br>  <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

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