Re: [Pharo-users] Examples of Garage for DB2

2018-01-05 Thread Andrei Stebakov
Thanks, Esteban, it works in my Pharo 6.1. Odbc connection works as well. On Jan 5, 2018 6:28 AM, "Esteban Lorenzano" wrote: this: SmalltalkImage compilerClass: Compiler. Metacello new smalltalkhubUser: 'PharoExtras' project: 'ODBC'; configuration: 'ODBC'; version:

Re: [Pharo-users] Examples of Garage for DB2

2018-01-05 Thread Esteban Lorenzano
this: SmalltalkImage compilerClass: Compiler. Metacello new smalltalkhubUser: 'PharoExtras' project: 'ODBC'; configuration: 'ODBC'; version: #bleedingEdge; load. SmalltalkImage compilerClass: OpalCompiler. loads for me (after proceeding a warning) in Pharo7. no

Re: [Pharo-users] Examples of Garage for DB2

2018-01-04 Thread Andrei Stebakov
Thank you, Pierce I got similar ffi exceptions when I call Gofer new smalltalkhubUser: 'PharoExtras' project: 'ODBC'; package: 'ConfigurationOfODBC'; load. (Smalltalk at: #ConfigurationOfODBC) load. On Jan 4, 2018 11:41 AM, "Pierce Ng" wrote: > On Wed, Jan 03,

Re: [Pharo-users] Examples of Garage for DB2

2018-01-04 Thread Pierce Ng
On Wed, Jan 03, 2018 at 11:42:22AM -0500, Andrei Stebakov wrote: > I tried before to install odbc. > Gofer new > squeaksource: 'ODBC'; Not Squeaksource. Load the version from Smalltalkhub: Gofer new smalltalkhubUser: 'PharoExtras' project: 'ODBC'; ... Hopefully this version

Re: [Pharo-users] Examples of Garage for DB2

2018-01-03 Thread Esteban Lorenzano
I think if you use old compiler it will work: SmalltalkImage compilerClass: Compiler. Esteban > On 3 Jan 2018, at 17:42, Andrei Stebakov wrote: > > I tried before to install odbc. > Gofer new > squeaksource: 'ODBC'; > package: 'ConfigurationOfODBC'; load. >

Re: [Pharo-users] Examples of Garage for DB2

2018-01-03 Thread Andrei Stebakov
I tried before to install odbc. Gofer new squeaksource: 'ODBC'; package: 'ConfigurationOfODBC'; load. (Smalltalk at: #ConfigurationOfODBC) load. When I execute the code above I got an exception doesNotUnderstand: #selector in RBParser>>externalFunctionDeclaration. Looks like currentScope

Re: [Pharo-users] Examples of Garage for DB2

2018-01-03 Thread Pierce Ng
On Wed, Jan 03, 2018 at 10:12:32AM -0500, Andrei Stebakov wrote: > Pierce, I couldn't find any smalltalk framework to work with DB2 at this > point. I couldn't also find any Pharo odbc library. That's why at this > point I am looking for any ideas how to connect to DB2 from Pharo. I suppose

Re: [Pharo-users] Examples of Garage for DB2

2018-01-03 Thread Andrei Stebakov
Pierce, I couldn't find any smalltalk framework to work with DB2 at this point. I couldn't also find any Pharo odbc library. That's why at this point I am looking for any ideas how to connect to DB2 from Pharo. On Jan 3, 2018 09:52, "Pierce Ng" wrote: > On Tue, Jan 02,

Re: [Pharo-users] Examples of Garage for DB2

2018-01-03 Thread Pierce Ng
On Tue, Jan 02, 2018 at 02:10:03PM -0500, Andrei Stebakov wrote: > I downloaded Garage to my Pharo 6.1 on windows. But in Garage I only see > drivers for MySql, Postgres and Sqlite3. > Does it mean that for DB2 I should look somewhere else or there is a way to > create a connection for DB2 using

[Pharo-users] Examples of Garage for DB2

2018-01-02 Thread Andrei Stebakov
I need to be able to navigate DB2 connection. As we discussed it a few days ago on the mailing list, the suggestion was to use Garage. I downloaded Garage to my Pharo 6.1 on windows. But in Garage I only see drivers for MySql, Postgres and Sqlite3. Does it mean that for DB2 I should look somewhere