What is the easiest way to get SQLite3 support in Pharo7? (Ubuntu)

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

What is the easiest way to get SQLite3 support in Pharo7? (Ubuntu)

Hannes Hirzel
Hello

What is the easiest way to get SQLite3 support in Pharo7 (Ubuntu Linux)?

The screen shot shows catalog entries I get in Pharo 7.

I do not mind if Glorp is loaded in addition.

I use Ubuntu 16.04 and the catalog entry refers to Microsoft Windows.

I have installed

     sudo apt-get install libsqlite3-dev

The setup in Squeak works fine (all tests green).

I want to move data forth and back.

Thank you for the answer in advance

--Hannes

sqlite_catalog_entries_Pharo_7_Screenshot from 2018-10-11.png (78K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: What is the easiest way to get SQLite3 support in Pharo7? (Ubuntu)

Pierce Ng-3
On Thu, Oct 11, 2018 at 03:38:21PM +0200, H. Hirzel wrote:
> What is the easiest way to get SQLite3 support in Pharo7 (Ubuntu Linux)?

Hi Hannes,

Until the catalog is updated, the snippet way is as follows:

  Metacello new
    repository: 'github://pharo-rdbms/glorp-sqlite3';
    baseline: 'GlorpSQLite';
    load.

I'm on Ubuntu 18.04. I've just run the above for Pharo7.0 f8ef5eb
images, both 32- and 64-bit. After installing, in Test Runner, I
selected UDBC and ran the SQLite tests: all 82 UDBCSQLite tests passed.
For Glorp, on both, 891 run, 881 passes, 10 errors. For good measure, I
did the same in a fresh Pharo-60543 image, and this time all 891 Glorp
tests passed. So need to look into Glorp on Pharo 7.

Pierce


Reply | Threaded
Open this post in threaded view
|

Re: What is the easiest way to get SQLite3 support in Pharo7? (Ubuntu)

Hannes Hirzel
Hi Pierce

Great! Just this very minute before I saw your mail I found your
website with a lot of Pharo related SQLite posts.

For example
http://www.samadhiweb.com/blog/2018.05.20.sqlite.boolean.html

Are you the maintainer of GlorpSQLite?

--Hannes

On 10/11/18, Pierce Ng <[hidden email]> wrote:

> On Thu, Oct 11, 2018 at 03:38:21PM +0200, H. Hirzel wrote:
>> What is the easiest way to get SQLite3 support in Pharo7 (Ubuntu Linux)?
>
> Hi Hannes,
>
> Until the catalog is updated, the snippet way is as follows:
>
>   Metacello new
>     repository: 'github://pharo-rdbms/glorp-sqlite3';
>     baseline: 'GlorpSQLite';
>     load.
>
> I'm on Ubuntu 18.04. I've just run the above for Pharo7.0 f8ef5eb
> images, both 32- and 64-bit. After installing, in Test Runner, I
> selected UDBC and ran the SQLite tests: all 82 UDBCSQLite tests passed.
> For Glorp, on both, 891 run, 881 passes, 10 errors. For good measure, I
> did the same in a fresh Pharo-60543 image, and this time all 891 Glorp
> tests passed. So need to look into Glorp on Pharo 7.
>
> Pierce
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: What is the easiest way to get SQLite3 support in Pharo7? (Ubuntu)

Pierce Ng-3
On Thu, Oct 11, 2018 at 06:27:21PM +0200, H. Hirzel wrote:
> Great! Just this very minute before I saw your mail I found your
> website with a lot of Pharo related SQLite posts.

Enjoy! :-)

> Are you the maintainer of GlorpSQLite?

Yes, I wrote it and I am maintaining it.

Pierce