SqueakDBX

The relational access answer for Squeak/Pharo

News

New support for Firebird!!!

We are glad to announce that we now support Firebird as backend. The good news for us is that it just took 4 hours to get it working and even with the 100% of the tests in green.

OpenDBX supports Firebird since a lot of time but we didn’t have too much time to try it. I wanted to "give a hand" to Norbert generating all dlls for each new release. I didn’t have ever used Firebird neither Sybase. So, I started with Firebird and now it is working like a charm.

I have only tested in Windows (sorry, I am having some problems with my Linux machine) but it should work also in Linux and Mac.

To use Firebird you must be sure to use the version OpenDBX-Core-MarianoMartinezPeck.252. You can install the latests version of SqueakDBX using our new Metacello configuration. To do this, take a Pharo image and evaluate the following:

Gofer new

squeaksource: ’MetacelloRepository’;

addPackage: ’ConfigurationOfSqueakDBX’;

load.

And then evaluate:

(ConfigurationOfSqueakDBX project version: ’1.1-baseline’) load

This will download the latest version, which will be 1.1 and is still in development.

Finally, I wrote all my notes of how to compile OpenDBX with Firebird in Windows using MinGW. Of course, you don’t need to do this as you have already the dll, but just in case. The link is: http://www.squeakdbx.org/Firebird%20for%20Win

Cheers

Posted by SqueakDBX at 20 December 2009, 4:53 pm with tags backend, firebird 1 comment link

New OpenDBX 1.5.0 release

Hi folks. Just wanted to let you know that Norbert released a new version of OpenDBX. This version is the first one of the new series 1.5. I have tested all backends in Linux and Windows and works perfect with the latets versions of SqueakDBX.

However, I will look deeper in the new features because maybe there are some improvements I can do in SqueakDBX because of this new release.

This release is important because it shows that OpenDBX is alive, with a lot of work and good progress.

Here is the link of the ANN: http://www.linuxnetworks.de/doc/index.php/News and here you can see the changelog: http://linuxnetworks.de/opendbx/download/ChangeLog-devel

Thanks Norbert!

Mariano

Posted by SqueakDBX at 20 December 2009, 4:46 pm with tags OpenDBX, release comment link

Metacello configurations

Hi folks!

We just wanted to let you know that we have just build Metacello configurations for SqueakDBX and GlorpDBX. You can find both in the repository

http://www.squeaksource.com/MetacelloRepository

You can download the configurations and evaluate something like this:

(ConfigurationOfSqueakDBX project version: ’1.1’) load

And that will loaded all the necesarry stuff for SqueakDBX version 1.1.

The same with GlorpDBX:

(ConfigurationOfGlorpDBX project version: ’0.9.1’) load

Cheers,

Posted by SqueakDBX at 10 December 2009, 5:02 pm with tags Metacello, installation comment link

SqueakDBX with MySQL in Snow Leopard 64 bits

As you may know, there are some problems with the SqueakVM on 64 bits and FFI. So, if you have a 64 architecture, the most common approach is to use a 32 bits Squeak/Pharo VM. The problem here is how to install OpenDBX and the client libraries.

In this case, we had:

  • Mac Snow Leopard 64 bits
  • SqueakVM is 32 bits.
  • MySQL

So, let’s start installing the MySQL client libraries. To do that, you should do something like:

sudo port install mysql5-devel

But...that library is compiled with 64 bits by default. Thus, when OpenDBX tries to load that library, you may get the following error:

oLoadModule(libopendbx.dylib): dlopen(libopendbx.dylib, 10): no suitable image found. Did find: libopendbx.dylib: mach-o, but wrong architecture /usr/local/lib/libopendbx.dylib: mach-o, but wrong architecture

So, we tried to do something like this:

CFLAGS="-m32" CXXFLAGS="-m32" sudo port install mysql5-devel

but we got the same results. Probably the flags are ignored :(

So, the solution we found was to download a precompiled MySQL client library for 32 bits. It is here: http://dev.mysql.com/downloads/mysql/5.1.html and download the file titled: "Mac OS X 10.5 (x86)"

Install it.

After that, you should compile OpenDBX like this:

CFLAGS="-m32" CXXFLAGS="-m32" CPPFLAGS="-I/usr/local/mysql-5.1.40-osx10.5-x86/include" LDFLAGS="-L/usr/local/mysql-5.1.40-osx10.5-x86/lib" ./configure --enable-singlelib --disable-utils --with-backends="mysql"

With this, you should have all SqueakDBX tests in green :)

Posted by SqueakDBX at 27 October 2009, 3:38 pm with tags 64bits, MacOS, OpenDBX, MySQL comment link

Dolphin port is in progress

Hi folks! We wanted to let you know that Marcelo Cortez has already started to do the SqueakDBX port to Dolphin. So far he could move the code to Dolphin and he is still working. The good news is that at least for now, he spent little time to do it :)

Thanks Marcelo for the help!!!

Posted by SqueakDBX at 12 October 2009, 2:45 pm with tags squeakdbx, port, dolphin comment link
<< 1 2 >>