SqueakDBX installation questions (problems)?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

SqueakDBX installation questions (problems)?

John Chludzinski
First, I'm on Windows XP.

I went to http://www.squeaksource.com/SqueakDBX. and downloaded
OpenDBX-Core-MarianoMartinezPeck.252.mcz and loaded it.  When
installing OpenDBX-Core-MarianoMartinezPeck.252.mcz I never saw any
hiccups about FFI so I assumed the Croquet image has the necessary FFI
classes.

I then followed the link to
http://www.linuxnetworks.de/doc/index.php/OpenDBX/Setup/Windows and
downloaded the opendbx-1.4.4_win32.zip binaries.  This contains 2
dll's and a folder will more dll's.  I extracted the 2 top level dll's
into my bin-directory containing Croquet.exe.

After modifying MysqlTinyBenchmarks>>initializeConnection with the
appropriate info (password, database, host, etc.) I tried executing:
"MysqlTinyBenchmarks new benchmarkInsert". This died in DBXPlatform >>
createConnection: referencing OpenDBX.  When I went back and looked at
the Transcript window messages (about loading
OpenDBX-Core-MarianoMartinezPeck.252.mcz) I noticed "OpenDBX is
Undeclared" in multiple places.  I assumed this is a reference to a
class that wasn't included in OpenDBX-Core-MarianoMartinezPeck.252.mcz
package?

I wish there were a simple list of instructions to accomplish this?
(Or, maybe I'm not seeing the obvious?)

---John

Reply | Threaded
Open this post in threaded view
|

Re: SqueakDBX installation questions (problems)?

John Chludzinski
I also using MySQL on Windows XP.

Reply | Threaded
Open this post in threaded view
|

Re: SqueakDBX installation questions (problems)?

Mariano Martinez Peck
In reply to this post by John Chludzinski


On Wed, Jan 13, 2010 at 11:19 PM, John Chludzinski <[hidden email]> wrote:
First, I'm on Windows XP.

I went to http://www.squeaksource.com/SqueakDBX. and downloaded
OpenDBX-Core-MarianoMartinezPeck.252.mcz and loaded it.  When
installing OpenDBX-Core-MarianoMartinezPeck.252.mcz I never saw any
hiccups about FFI so I assumed the Croquet image has the necessary FFI
classes.

You cannot only install that package. There are several packages to install them.

In our website you can find almost all information: http://www.squeakdbx.org/

In this case, you should read: http://www.squeakdbx.org/Installation

But...it is something like this:

Installer ss project: ’SqueakDBX’; install: ’SqueakDBXPharoLoader’.    (or you can download it manually using monticello browser)

And then evaluate:

SqueakDBXPharoLoader loadSqueakDBX

Instead of using our own loaders you can also use the Metacello configuration. You have to download the package ConfigurationOfSqueakDBX from the repository MetacelloRepository in SqueakSource and then evaluate:

(ConfigurationOfSqueakDBX project version: '1.0') load.
 

I then followed the link to
http://www.linuxnetworks.de/doc/index.php/OpenDBX/Setup/Windows and
downloaded the opendbx-1.4.4_win32.zip binaries.  This contains 2
dll's and a folder will more dll's.  I extracted the 2 top level dll's
into my bin-directory containing Croquet.exe.

After modifying MysqlTinyBenchmarks>>initializeConnection with the
appropriate info (password, database, host, etc.) I tried executing:
"MysqlTinyBenchmarks new benchmarkInsert". This died in DBXPlatform >>
createConnection: referencing OpenDBX.  When I went back and looked at
the Transcript window messages (about loading
OpenDBX-Core-MarianoMartinezPeck.252.mcz) I noticed "OpenDBX is
Undeclared" in multiple places.  I assumed this is a reference to a
class that wasn't included in OpenDBX-Core-MarianoMartinezPeck.252.mcz
package?

Yes, the loader should fix this.
 

I wish there were a simple list of instructions to accomplish this?
(Or, maybe I'm not seeing the obvious?)


Almost all information is in the website. Just ask if you have further questions.
We have our own mailing list also (I have cc'ed it)

A little note: I have ever tested SqueakDBX on Croquet, so, I don't know if it works or not. I guess...but not tested (at least for our team).

Cheers!

Mariano

 
---John




Reply | Threaded
Open this post in threaded view
|

Re: SqueakDBX installation questions (problems)?

John Chludzinski
In reply to this post by John Chludzinski
Using SqueakMap I installed "SqueakDBX, version: 1.1"
(OpenDBX-Core-MarianoMartinezPeck.234.mcz).  I then installed
FFI-Win32-ar.2.mcz, just to make sure I had the necessary FFI support.
 Tried "MysqlTinyBenchmarks new benchmarkInsert" again and died with
'Loading backend library failed' in DBXPlatform>>createConnection:.

BTW, I checked and indeed libopendbx-1.dll is in the bin folder.

Any ideas?

---John


On Wed, Jan 13, 2010 at 5:32 PM, John Chludzinski
<[hidden email]> wrote:
> I also using MySQL on Windows XP.
>

Reply | Threaded
Open this post in threaded view
|

Re: SqueakDBX installation questions (problems)?

Andreas.Raab
John Chludzinski wrote:
> Using SqueakMap I installed "SqueakDBX, version: 1.1"
> (OpenDBX-Core-MarianoMartinezPeck.234.mcz).  I then installed
> FFI-Win32-ar.2.mcz, just to make sure I had the necessary FFI support.
>  Tried "MysqlTinyBenchmarks new benchmarkInsert" again and died with
> 'Loading backend library failed' in DBXPlatform>>createConnection:.
>
> BTW, I checked and indeed libopendbx-1.dll is in the bin folder.
>
> Any ideas?

You may need the "extra" dlls in the windows download of OpenDBX. I'm
thinking they implement the backend connections so if you're going to
use MySQL you'll likely need the mysql backend dll.

Cheers,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

Re: Re: SqueakDBX installation questions (problems)?

Mariano Martinez Peck


On Thu, Jan 14, 2010 at 1:28 AM, Andreas Raab <[hidden email]> wrote:
John Chludzinski wrote:
Using SqueakMap I installed "SqueakDBX, version: 1.1"
(OpenDBX-Core-MarianoMartinezPeck.234.mcz).  I then installed
FFI-Win32-ar.2.mcz, just to make sure I had the necessary FFI support.
 Tried "MysqlTinyBenchmarks new benchmarkInsert" again and died with
'Loading backend library failed' in DBXPlatform>>createConnection:.

BTW, I checked and indeed libopendbx-1.dll is in the bin folder.

Any ideas?

You may need the "extra" dlls in the windows download of OpenDBX. I'm thinking they implement the backend connections so if you're going to use MySQL you'll likely need the mysql backend dll.


That question is wrriten in the FAQ:  http://www.squeakdbx.org/FAQ

Yes, it is exactly what Andreas said. Think in OpenDBX like ODBC. You need the odbc.dll but also you will need then the odbc library of the backend. Here it is the same. You need opendbx dll  but also the mysql client library dlls.

You can download essential package from here: http://dev.mysql.com/downloads/mysql/5.0.html#win32
You may want to install only the client. Be sure also the that the dlls are "findable" by windows.

In my case, I installed  in C:/MySQL   and I put in $PATH   the directory C:\MySQL\bin\

Probably, this is done automatically done by windows.

Cheers

Mariano
 
Cheers,
 - Andreas




Reply | Threaded
Open this post in threaded view
|

Re: SqueakDBX installation questions (problems)?

John Chludzinski
In reply to this post by John Chludzinski
I have the following dll's in my bin folder (along with Croquet.exe):

libopendbx-1.dll
libmysqlbackend-1.dll

And I still have the problem?

---John


On Wed, Jan 13, 2010 at 6:48 PM, John Chludzinski
<[hidden email]> wrote:

> Using SqueakMap I installed "SqueakDBX, version: 1.1"
> (OpenDBX-Core-MarianoMartinezPeck.234.mcz).  I then installed
> FFI-Win32-ar.2.mcz, just to make sure I had the necessary FFI support.
>  Tried "MysqlTinyBenchmarks new benchmarkInsert" again and died with
> 'Loading backend library failed' in DBXPlatform>>createConnection:.
>
> BTW, I checked and indeed libopendbx-1.dll is in the bin folder.
>
> Any ideas?
>
> ---John
>
>
> On Wed, Jan 13, 2010 at 5:32 PM, John Chludzinski
> <[hidden email]> wrote:
>> I also using MySQL on Windows XP.
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Re: SqueakDBX installation questions (problems)?

Mariano Martinez Peck


On Thu, Jan 14, 2010 at 4:53 PM, John Chludzinski <[hidden email]> wrote:
I have the following dll's in my bin folder (along with Croquet.exe):

libopendbx-1.dll
libmysqlbackend-1.dll

And I still have the problem?


Yes. Those are opendbx libraries. For a better architecture you have one dll for the opendbx "core" and one more per each backend you use. This is cool if you have more than one backend. However, when you compile form scratch, you can put both dlls in a single one. Maybe this is a good idea. And I can upload a single lib per backend..

But anyway, that's NOT enough. You need the dlls from mysql. You need to install the MySQL client libraries. In Ubuntu/Debian is just  sudo apt-get install mysql-client  and in windows you have to install the client libraries if you haven't already installed. To do that, you have to install the link I already sent you.

Ask me if you have further questions.

Cheers

Mariano
 
---John


On Wed, Jan 13, 2010 at 6:48 PM, John Chludzinski
<[hidden email]> wrote:
> Using SqueakMap I installed "SqueakDBX, version: 1.1"
> (OpenDBX-Core-MarianoMartinezPeck.234.mcz).  I then installed
> FFI-Win32-ar.2.mcz, just to make sure I had the necessary FFI support.
>  Tried "MysqlTinyBenchmarks new benchmarkInsert" again and died with
> 'Loading backend library failed' in DBXPlatform>>createConnection:.
>
> BTW, I checked and indeed libopendbx-1.dll is in the bin folder.
>
> Any ideas?
>
> ---John
>
>
> On Wed, Jan 13, 2010 at 5:32 PM, John Chludzinski
> <[hidden email]> wrote:
>> I also using MySQL on Windows XP.
>>
>




Reply | Threaded
Open this post in threaded view
|

Re: Re: SqueakDBX installation questions (problems)?

Herbert König
In reply to this post by John Chludzinski
Hello John,

JC> libopendbx-1.dll
JC> libmysqlbackend-1.dll

JC> And I still have the problem?

libmysql.dll is missing. Comes with your mysql. If you use an old
mysql version, just use the libmysql.dll which comes with mysql5.

In my (non standard) setup I use mysql4.1 and had to use the newer
dll to make it work.


Best regards,

Herbert                            mailto:[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: SqueakDBX installation questions (problems)?

John Chludzinski
In reply to this post by John Chludzinski
I'm afraid I don't have time now to play a "Whac-A-Mole" dll game
trying to get this to work.  SORRY but I have a schedule breathing
down my neck!  I appreciate your eforts though.

If at some point you have a tried-and-true step by step method to
install SqueakDBX I'd certainly be interested.

THANKS again, John


On Thu, Jan 14, 2010 at 10:53 AM, John Chludzinski
<[hidden email]> wrote:

> I have the following dll's in my bin folder (along with Croquet.exe):
>
> libopendbx-1.dll
> libmysqlbackend-1.dll
>
> And I still have the problem?
>
> ---John
>
>
> On Wed, Jan 13, 2010 at 6:48 PM, John Chludzinski
> <[hidden email]> wrote:
>> Using SqueakMap I installed "SqueakDBX, version: 1.1"
>> (OpenDBX-Core-MarianoMartinezPeck.234.mcz).  I then installed
>> FFI-Win32-ar.2.mcz, just to make sure I had the necessary FFI support.
>>  Tried "MysqlTinyBenchmarks new benchmarkInsert" again and died with
>> 'Loading backend library failed' in DBXPlatform>>createConnection:.
>>
>> BTW, I checked and indeed libopendbx-1.dll is in the bin folder.
>>
>> Any ideas?
>>
>> ---John
>>
>>
>> On Wed, Jan 13, 2010 at 5:32 PM, John Chludzinski
>> <[hidden email]> wrote:
>>> I also using MySQL on Windows XP.
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: SqueakDBX installation questions (problems)?

John Chludzinski
Copied libmysql.dll into the bin directory, executed
"MysqlTinyBenchmarks new benchmarkInsert", and it crashed the VM.

---John

On Thu, Jan 14, 2010 at 12:05 PM, John Chludzinski
<[hidden email]> wrote:

> I'm afraid I don't have time now to play a "Whac-A-Mole" dll game
> trying to get this to work.  SORRY but I have a schedule breathing
> down my neck!  I appreciate your eforts though.
>
> If at some point you have a tried-and-true step by step method to
> install SqueakDBX I'd certainly be interested.
>
> THANKS again, John
>
>
> On Thu, Jan 14, 2010 at 10:53 AM, John Chludzinski
> <[hidden email]> wrote:
>> I have the following dll's in my bin folder (along with Croquet.exe):
>>
>> libopendbx-1.dll
>> libmysqlbackend-1.dll
>>
>> And I still have the problem?
>>
>> ---John
>>
>>
>> On Wed, Jan 13, 2010 at 6:48 PM, John Chludzinski
>> <[hidden email]> wrote:
>>> Using SqueakMap I installed "SqueakDBX, version: 1.1"
>>> (OpenDBX-Core-MarianoMartinezPeck.234.mcz).  I then installed
>>> FFI-Win32-ar.2.mcz, just to make sure I had the necessary FFI support.
>>>  Tried "MysqlTinyBenchmarks new benchmarkInsert" again and died with
>>> 'Loading backend library failed' in DBXPlatform>>createConnection:.
>>>
>>> BTW, I checked and indeed libopendbx-1.dll is in the bin folder.
>>>
>>> Any ideas?
>>>
>>> ---John
>>>
>>>
>>> On Wed, Jan 13, 2010 at 5:32 PM, John Chludzinski
>>> <[hidden email]> wrote:
>>>> I also using MySQL on Windows XP.
>>>>
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Re: SqueakDBX installation questions (problems)?

Mariano Martinez Peck
In reply to this post by John Chludzinski


On Thu, Jan 14, 2010 at 6:05 PM, John Chludzinski <[hidden email]> wrote:
I'm afraid I don't have time now to play a "Whac-A-Mole" dll game
trying to get this to work.  SORRY but I have a schedule breathing
down my neck!  I appreciate your eforts though.

If at some point you have a tried-and-true step by step method to
install SqueakDBX I'd certainly be interested.


No problem. You are not forced to use SqueakDBX. Continue with your ODBC driver.

Here: http://www.squeakdbx.org/Compiling%20for%20different%20backends

we have a step by step written for EACH backend, for EACH OS. MySQL in Windows was the last we did as we used to have troubles, and thus is not in that list. I should updated.

 
THANKS again, John


On Thu, Jan 14, 2010 at 10:53 AM, John Chludzinski
<[hidden email]> wrote:
> I have the following dll's in my bin folder (along with Croquet.exe):
>
> libopendbx-1.dll
> libmysqlbackend-1.dll
>
> And I still have the problem?
>
> ---John
>
>
> On Wed, Jan 13, 2010 at 6:48 PM, John Chludzinski
> <[hidden email]> wrote:
>> Using SqueakMap I installed "SqueakDBX, version: 1.1"
>> (OpenDBX-Core-MarianoMartinezPeck.234.mcz).  I then installed
>> FFI-Win32-ar.2.mcz, just to make sure I had the necessary FFI support.
>>  Tried "MysqlTinyBenchmarks new benchmarkInsert" again and died with
>> 'Loading backend library failed' in DBXPlatform>>createConnection:.
>>
>> BTW, I checked and indeed libopendbx-1.dll is in the bin folder.
>>
>> Any ideas?
>>
>> ---John
>>
>>
>> On Wed, Jan 13, 2010 at 5:32 PM, John Chludzinski
>> <[hidden email]> wrote:
>>> I also using MySQL on Windows XP.
>>>
>>
>




Reply | Threaded
Open this post in threaded view
|

Re: Re: SqueakDBX installation questions (problems)?

Mariano Martinez Peck
In reply to this post by John Chludzinski


On Thu, Jan 14, 2010 at 6:12 PM, John Chludzinski <[hidden email]> wrote:
Copied libmysql.dll into the bin directory, executed

First, I don't know what bin directory are you talking about.

Second, you shouldn't do that as libmysql may depend in another library that you don't copy.
If you find this difficult to do, is it is because you to use a crappy OS.

 
"MysqlTinyBenchmarks new benchmarkInsert", and it crashed the VM.

third, these benchmarks are for the mysql native driver, not for SqueakDBX. The same as the PG*Benchmarks, which are for the native Postgresql driver. We build them to compare results to our driver. Our benchmarks are DBX*Benchmarks.

Finally, it has no sense to run benchmarks if you don't first run tests and be sure eveything works ok.

Cheers

Mariano
 

---John

On Thu, Jan 14, 2010 at 12:05 PM, John Chludzinski
<[hidden email]> wrote:
> I'm afraid I don't have time now to play a "Whac-A-Mole" dll game
> trying to get this to work.  SORRY but I have a schedule breathing
> down my neck!  I appreciate your eforts though.
>
> If at some point you have a tried-and-true step by step method to
> install SqueakDBX I'd certainly be interested.
>
> THANKS again, John
>
>
> On Thu, Jan 14, 2010 at 10:53 AM, John Chludzinski
> <[hidden email]> wrote:
>> I have the following dll's in my bin folder (along with Croquet.exe):
>>
>> libopendbx-1.dll
>> libmysqlbackend-1.dll
>>
>> And I still have the problem?
>>
>> ---John
>>
>>
>> On Wed, Jan 13, 2010 at 6:48 PM, John Chludzinski
>> <[hidden email]> wrote:
>>> Using SqueakMap I installed "SqueakDBX, version: 1.1"
>>> (OpenDBX-Core-MarianoMartinezPeck.234.mcz).  I then installed
>>> FFI-Win32-ar.2.mcz, just to make sure I had the necessary FFI support.
>>>  Tried "MysqlTinyBenchmarks new benchmarkInsert" again and died with
>>> 'Loading backend library failed' in DBXPlatform>>createConnection:.
>>>
>>> BTW, I checked and indeed libopendbx-1.dll is in the bin folder.
>>>
>>> Any ideas?
>>>
>>> ---John
>>>
>>>
>>> On Wed, Jan 13, 2010 at 5:32 PM, John Chludzinski
>>> <[hidden email]> wrote:
>>>> I also using MySQL on Windows XP.
>>>>
>>>
>>
>




Reply | Threaded
Open this post in threaded view
|

Re: SqueakDBX installation questions (problems)?

Andreas.Raab
Mariano Martinez Peck wrote:
> If you find this difficult to do, is it is because you to use a crappy OS.

Or perhaps it's because your instructions are so poorly written?
Seriously, blaming your users for their OS when it's your instructions
that don't tell them what and how to do it is pretty cheap. And it won't
do anything for your future user base if people have to assume to be
insulted when they can't cope with your instructions.

Cheers,
   - Andreas


>     "MysqlTinyBenchmarks new benchmarkInsert", and it crashed the VM.
>
>
> third, these benchmarks are for the mysql native driver, not for
> SqueakDBX. The same as the PG*Benchmarks, which are for the native
> Postgresql driver. We build them to compare results to our driver. Our
> benchmarks are DBX*Benchmarks.
>
> Finally, it has no sense to run benchmarks if you don't first run tests
> and be sure eveything works ok.
>
> Cheers
>
> Mariano
>  
>
>
>     ---John
>
>     On Thu, Jan 14, 2010 at 12:05 PM, John Chludzinski
>     <[hidden email] <mailto:[hidden email]>> wrote:
>      > I'm afraid I don't have time now to play a "Whac-A-Mole" dll game
>      > trying to get this to work.  SORRY but I have a schedule breathing
>      > down my neck!  I appreciate your eforts though.
>      >
>      > If at some point you have a tried-and-true step by step method to
>      > install SqueakDBX I'd certainly be interested.
>      >
>      > THANKS again, John
>      >
>      >
>      > On Thu, Jan 14, 2010 at 10:53 AM, John Chludzinski
>      > <[hidden email] <mailto:[hidden email]>>
>     wrote:
>      >> I have the following dll's in my bin folder (along with
>     Croquet.exe):
>      >>
>      >> libopendbx-1.dll
>      >> libmysqlbackend-1.dll
>      >>
>      >> And I still have the problem?
>      >>
>      >> ---John
>      >>
>      >>
>      >> On Wed, Jan 13, 2010 at 6:48 PM, John Chludzinski
>      >> <[hidden email] <mailto:[hidden email]>>
>     wrote:
>      >>> Using SqueakMap I installed "SqueakDBX, version: 1.1"
>      >>> (OpenDBX-Core-MarianoMartinezPeck.234.mcz).  I then installed
>      >>> FFI-Win32-ar.2.mcz, just to make sure I had the necessary FFI
>     support.
>      >>>  Tried "MysqlTinyBenchmarks new benchmarkInsert" again and died
>     with
>      >>> 'Loading backend library failed' in DBXPlatform>>createConnection:.
>      >>>
>      >>> BTW, I checked and indeed libopendbx-1.dll is in the bin folder.
>      >>>
>      >>> Any ideas?
>      >>>
>      >>> ---John
>      >>>
>      >>>
>      >>> On Wed, Jan 13, 2010 at 5:32 PM, John Chludzinski
>      >>> <[hidden email]
>     <mailto:[hidden email]>> wrote:
>      >>>> I also using MySQL on Windows XP.
>      >>>>
>      >>>
>      >>
>      >
>
>
>
> ------------------------------------------------------------------------
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Re: SqueakDBX installation questions (problems)?

Miguel Cobá
El jue, 14-01-2010 a las 20:45 -0800, Andreas Raab escribió:
> Mariano Martinez Peck wrote:
> > If you find this difficult to do, is it is because you to use a crappy OS.
>
> Or perhaps it's because your instructions are so poorly written?

Well, that is the same for 80% of code from smalltalk, very good code,
crappy documentation or tutorials.

And the fact is that windows is a very poorly environment to write
generalized instructions that serve well to every user. Updated OS,
non-updated OS, conflicting DLLS, overwriten DLLs, no way to "easily"
know what is installed. No way to ask the users versions of packages
installed, etc, etc, etc. And at least there is some documentation and
Mariano isn't directing the user to read the "class comments" for help.


So, it takes effort from the documentation to reach a point when there
is completely error-free. I'm sure that this, if needed, will force the
SqueakDBX team to improve the documentation so that this won't happen
again to other user of SqueakDBX.

Cheers


> Seriously, blaming your users for their OS when it's your instructions
> that don't tell them what and how to do it is pretty cheap. And it won't
> do anything for your future user base if people have to assume to be
> insulted when they can't cope with your instructions.
>
> Cheers,
>    - Andreas
>
>
> >     "MysqlTinyBenchmarks new benchmarkInsert", and it crashed the VM.
> >
> >
> > third, these benchmarks are for the mysql native driver, not for
> > SqueakDBX. The same as the PG*Benchmarks, which are for the native
> > Postgresql driver. We build them to compare results to our driver. Our
> > benchmarks are DBX*Benchmarks.
> >
> > Finally, it has no sense to run benchmarks if you don't first run tests
> > and be sure eveything works ok.
> >
> > Cheers
> >
> > Mariano
> >  
> >
> >
> >     ---John
> >
> >     On Thu, Jan 14, 2010 at 12:05 PM, John Chludzinski
> >     <[hidden email] <mailto:[hidden email]>> wrote:
> >      > I'm afraid I don't have time now to play a "Whac-A-Mole" dll game
> >      > trying to get this to work.  SORRY but I have a schedule breathing
> >      > down my neck!  I appreciate your eforts though.
> >      >
> >      > If at some point you have a tried-and-true step by step method to
> >      > install SqueakDBX I'd certainly be interested.
> >      >
> >      > THANKS again, John
> >      >
> >      >
> >      > On Thu, Jan 14, 2010 at 10:53 AM, John Chludzinski
> >      > <[hidden email] <mailto:[hidden email]>>
> >     wrote:
> >      >> I have the following dll's in my bin folder (along with
> >     Croquet.exe):
> >      >>
> >      >> libopendbx-1.dll
> >      >> libmysqlbackend-1.dll
> >      >>
> >      >> And I still have the problem?
> >      >>
> >      >> ---John
> >      >>
> >      >>
> >      >> On Wed, Jan 13, 2010 at 6:48 PM, John Chludzinski
> >      >> <[hidden email] <mailto:[hidden email]>>
> >     wrote:
> >      >>> Using SqueakMap I installed "SqueakDBX, version: 1.1"
> >      >>> (OpenDBX-Core-MarianoMartinezPeck.234.mcz).  I then installed
> >      >>> FFI-Win32-ar.2.mcz, just to make sure I had the necessary FFI
> >     support.
> >      >>>  Tried "MysqlTinyBenchmarks new benchmarkInsert" again and died
> >     with
> >      >>> 'Loading backend library failed' in DBXPlatform>>createConnection:.
> >      >>>
> >      >>> BTW, I checked and indeed libopendbx-1.dll is in the bin folder.
> >      >>>
> >      >>> Any ideas?
> >      >>>
> >      >>> ---John
> >      >>>
> >      >>>
> >      >>> On Wed, Jan 13, 2010 at 5:32 PM, John Chludzinski
> >      >>> <[hidden email]
> >     <mailto:[hidden email]>> wrote:
> >      >>>> I also using MySQL on Windows XP.
> >      >>>>
> >      >>>
> >      >>
> >      >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> >
>
>

--
Miguel Cobá
http://miguel.leugim.com.mx


Reply | Threaded
Open this post in threaded view
|

Re: Re: SqueakDBX installation questions (problems)?

Miguel Cobá
El vie, 15-01-2010 a las 09:53 -0600, Miguel Enrique Cobá Martinez
escribió:

> El jue, 14-01-2010 a las 20:45 -0800, Andreas Raab escribió:
> > Mariano Martinez Peck wrote:
> > > If you find this difficult to do, is it is because you to use a crappy OS.
> >
> > Or perhaps it's because your instructions are so poorly written?
>
> Well, that is the same for 80% of code from smalltalk, very good code,
> crappy documentation or tutorials.
>
> And the fact is that windows is a very poorly environment to write
> generalized instructions that serve well to every user. Updated OS,
> non-updated OS, conflicting DLLS, overwriten DLLs, no way to "easily"
> know what is installed. No way to ask the users versions of packages
> installed, etc, etc, etc. And at least there is some documentation and
> Mariano isn't directing the user to read the "class comments" for help.
>

And BTW, now that I checked the squeakdbx site, I find it very well
documented, in fact the documentation is very professional given
smalltalk standards:

http://www.squeakdbx.org/Compiling%20and%20installing%20OpenDBX
http://www.squeakdbx.org/Compiling%20for%20different%20backends
<a href="http://www.squeakdbx.org/Compiling%20for%20different%">http://www.squeakdbx.org/Compiling%20for%20different%
20backends/Different%20backends%20under%20Windows

Have you read it?

Cheers

>
> So, it takes effort from the documentation to reach a point when there
> is completely error-free. I'm sure that this, if needed, will force the
> SqueakDBX team to improve the documentation so that this won't happen
> again to other user of SqueakDBX.
>
> Cheers
>
>
> > Seriously, blaming your users for their OS when it's your instructions
> > that don't tell them what and how to do it is pretty cheap. And it won't
> > do anything for your future user base if people have to assume to be
> > insulted when they can't cope with your instructions.
> >
> > Cheers,
> >    - Andreas
> >
> >
> > >     "MysqlTinyBenchmarks new benchmarkInsert", and it crashed the VM.
> > >
> > >
> > > third, these benchmarks are for the mysql native driver, not for
> > > SqueakDBX. The same as the PG*Benchmarks, which are for the native
> > > Postgresql driver. We build them to compare results to our driver. Our
> > > benchmarks are DBX*Benchmarks.
> > >
> > > Finally, it has no sense to run benchmarks if you don't first run tests
> > > and be sure eveything works ok.
> > >
> > > Cheers
> > >
> > > Mariano
> > >  
> > >
> > >
> > >     ---John
> > >
> > >     On Thu, Jan 14, 2010 at 12:05 PM, John Chludzinski
> > >     <[hidden email] <mailto:[hidden email]>> wrote:
> > >      > I'm afraid I don't have time now to play a "Whac-A-Mole" dll game
> > >      > trying to get this to work.  SORRY but I have a schedule breathing
> > >      > down my neck!  I appreciate your eforts though.
> > >      >
> > >      > If at some point you have a tried-and-true step by step method to
> > >      > install SqueakDBX I'd certainly be interested.
> > >      >
> > >      > THANKS again, John
> > >      >
> > >      >
> > >      > On Thu, Jan 14, 2010 at 10:53 AM, John Chludzinski
> > >      > <[hidden email] <mailto:[hidden email]>>
> > >     wrote:
> > >      >> I have the following dll's in my bin folder (along with
> > >     Croquet.exe):
> > >      >>
> > >      >> libopendbx-1.dll
> > >      >> libmysqlbackend-1.dll
> > >      >>
> > >      >> And I still have the problem?
> > >      >>
> > >      >> ---John
> > >      >>
> > >      >>
> > >      >> On Wed, Jan 13, 2010 at 6:48 PM, John Chludzinski
> > >      >> <[hidden email] <mailto:[hidden email]>>
> > >     wrote:
> > >      >>> Using SqueakMap I installed "SqueakDBX, version: 1.1"
> > >      >>> (OpenDBX-Core-MarianoMartinezPeck.234.mcz).  I then installed
> > >      >>> FFI-Win32-ar.2.mcz, just to make sure I had the necessary FFI
> > >     support.
> > >      >>>  Tried "MysqlTinyBenchmarks new benchmarkInsert" again and died
> > >     with
> > >      >>> 'Loading backend library failed' in DBXPlatform>>createConnection:.
> > >      >>>
> > >      >>> BTW, I checked and indeed libopendbx-1.dll is in the bin folder.
> > >      >>>
> > >      >>> Any ideas?
> > >      >>>
> > >      >>> ---John
> > >      >>>
> > >      >>>
> > >      >>> On Wed, Jan 13, 2010 at 5:32 PM, John Chludzinski
> > >      >>> <[hidden email]
> > >     <mailto:[hidden email]>> wrote:
> > >      >>>> I also using MySQL on Windows XP.
> > >      >>>>
> > >      >>>
> > >      >>
> > >      >
> > >
> > >
> > >
> > > ------------------------------------------------------------------------
> > >
> > >
> >
> >
>

--
Miguel Cobá
http://miguel.leugim.com.mx


Reply | Threaded
Open this post in threaded view
|

Re: Re: SqueakDBX installation questions (problems)?

Mariano Martinez Peck
OpenDBX author answered me about Asynchronous queries. If someone is interested:

http://www.squeakdbx.org/documentation/Asynchronous%20queries

Cheers

Mariano

2010/1/15 Miguel Enrique Cobá Martinez <[hidden email]>
El vie, 15-01-2010 a las 09:53 -0600, Miguel Enrique Cobá Martinez
escribió:
> El jue, 14-01-2010 a las 20:45 -0800, Andreas Raab escribió:
> > Mariano Martinez Peck wrote:
> > > If you find this difficult to do, is it is because you to use a crappy OS.
> >
> > Or perhaps it's because your instructions are so poorly written?
>
> Well, that is the same for 80% of code from smalltalk, very good code,
> crappy documentation or tutorials.
>
> And the fact is that windows is a very poorly environment to write
> generalized instructions that serve well to every user. Updated OS,
> non-updated OS, conflicting DLLS, overwriten DLLs, no way to "easily"
> know what is installed. No way to ask the users versions of packages
> installed, etc, etc, etc. And at least there is some documentation and
> Mariano isn't directing the user to read the "class comments" for help.
>

And BTW, now that I checked the squeakdbx site, I find it very well
documented, in fact the documentation is very professional given
smalltalk standards:

http://www.squeakdbx.org/Compiling%20and%20installing%20OpenDBX
http://www.squeakdbx.org/Compiling%20for%20different%20backends
<a href="http://www.squeakdbx.org/Compiling%20for%20different%" target="_blank">http://www.squeakdbx.org/Compiling%20for%20different%
20backends/Different%20backends%20under%20Windows

Have you read it?

Cheers
>
> So, it takes effort from the documentation to reach a point when there
> is completely error-free. I'm sure that this, if needed, will force the
> SqueakDBX team to improve the documentation so that this won't happen
> again to other user of SqueakDBX.
>
> Cheers
>
>
> > Seriously, blaming your users for their OS when it's your instructions
> > that don't tell them what and how to do it is pretty cheap. And it won't
> > do anything for your future user base if people have to assume to be
> > insulted when they can't cope with your instructions.
> >
> > Cheers,
> >    - Andreas
> >
> >
> > >     "MysqlTinyBenchmarks new benchmarkInsert", and it crashed the VM.
> > >
> > >
> > > third, these benchmarks are for the mysql native driver, not for
> > > SqueakDBX. The same as the PG*Benchmarks, which are for the native
> > > Postgresql driver. We build them to compare results to our driver. Our
> > > benchmarks are DBX*Benchmarks.
> > >
> > > Finally, it has no sense to run benchmarks if you don't first run tests
> > > and be sure eveything works ok.
> > >
> > > Cheers
> > >
> > > Mariano
> > >
> > >
> > >
> > >     ---John
> > >
> > >     On Thu, Jan 14, 2010 at 12:05 PM, John Chludzinski
> > >     <[hidden email] <mailto:[hidden email]>> wrote:
> > >      > I'm afraid I don't have time now to play a "Whac-A-Mole" dll game
> > >      > trying to get this to work.  SORRY but I have a schedule breathing
> > >      > down my neck!  I appreciate your eforts though.
> > >      >
> > >      > If at some point you have a tried-and-true step by step method to
> > >      > install SqueakDBX I'd certainly be interested.
> > >      >
> > >      > THANKS again, John
> > >      >
> > >      >
> > >      > On Thu, Jan 14, 2010 at 10:53 AM, John Chludzinski
> > >      > <[hidden email] <mailto:[hidden email]>>
> > >     wrote:
> > >      >> I have the following dll's in my bin folder (along with
> > >     Croquet.exe):
> > >      >>
> > >      >> libopendbx-1.dll
> > >      >> libmysqlbackend-1.dll
> > >      >>
> > >      >> And I still have the problem?
> > >      >>
> > >      >> ---John
> > >      >>
> > >      >>
> > >      >> On Wed, Jan 13, 2010 at 6:48 PM, John Chludzinski
> > >      >> <[hidden email] <mailto:[hidden email]>>
> > >     wrote:
> > >      >>> Using SqueakMap I installed "SqueakDBX, version: 1.1"
> > >      >>> (OpenDBX-Core-MarianoMartinezPeck.234.mcz).  I then installed
> > >      >>> FFI-Win32-ar.2.mcz, just to make sure I had the necessary FFI
> > >     support.
> > >      >>>  Tried "MysqlTinyBenchmarks new benchmarkInsert" again and died
> > >     with
> > >      >>> 'Loading backend library failed' in DBXPlatform>>createConnection:.
> > >      >>>
> > >      >>> BTW, I checked and indeed libopendbx-1.dll is in the bin folder.
> > >      >>>
> > >      >>> Any ideas?
> > >      >>>
> > >      >>> ---John
> > >      >>>
> > >      >>>
> > >      >>> On Wed, Jan 13, 2010 at 5:32 PM, John Chludzinski
> > >      >>> <[hidden email]
> > >     <mailto:[hidden email]>> wrote:
> > >      >>>> I also using MySQL on Windows XP.
> > >      >>>>
> > >      >>>
> > >      >>
> > >      >
> > >
> > >
> > >
> > > ------------------------------------------------------------------------
> > >
> > >
> >
> >
>

--
Miguel Cobá
http://miguel.leugim.com.mx