[Newbies] FFI, ODBC

goran at krampe.se goran at krampe.se
Fri Dec 21 08:21:25 UTC 2007


"Miron Brezuleanu" <mbrezu at gmail.com> wrote:
> Hi,
> On Dec 20, 2007 9:28 PM,  <goran at krampe.se> wrote:
> > > 3) squeak vm 3.10 with image 3.10.gamma.7159 also gives the sha1 error
> > > when installing FFI.
> >
> > Hmmm. Make sure your map is updated btw - if it is not then that would
> > explain this I guess.
> That's a bit weird - shouldn't squeak download the content and the
> checksum, then calculate the content checksum and compare to
> downloaded checksum? It sounds like I need to download the checksum
> separately :-)

All meta data is in the map - including the checksums. Generally you
would never experience this problem even with an outdated map - unless
maintainers *remove* package releases or *change the URL/file* that the
release references. Both behaviors are odd.

AFAICT in your case the URL was modified, with a new file, and
presumably the old file has been deleted from the file store.

Now... disregarding all the above - using an outdated map is quite
silly. :)

> After updateing the map the FFI downloads OK, but it still takes
> forever to download ODBC. I can interrupt it with Alt + '.' and it
> looks like it's waiting forever while trying to DNS resolve
> 'wiki.squeak.org' (which is resolved instantly if I try to ping that
> host from a shell).
> The method is waitForCompletionUntil: in class NetNameResolver, and it
> seems to be locked in the waitTimeoutMSecs message right after the
> "wait for resolver to be available" comment. (using the 3.10 image and
> VM)

Dunno, I saw you mentioned that a restart solves it - odd indeed.

> Any clues on what to try next? :-) (I've downloaded and installed the
> SqueakV39 sources, where do I find the V310 sources?)

There is no such thing - for 3.9+ you use the V39 file.

There are at this point only V3 and V39. This file very seldom changes,
and we have used V3 for a loooong time, but with version 3.9 a new
sources file was generated since the chnages file was getting too large.
The changes file contains all modifications since the generation of the
sources file.

regards, Göran

More information about the Beginners mailing list