help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Re: Smalltalk mailing list & compilation


From: L. Rotger
Subject: [Help-smalltalk] Re: Smalltalk mailing list & compilation
Date: Tue, 20 Jun 2006 08:11:42 +0200
User-agent: Thunderbird 1.5 (Windows/20051201)

Hi,

Paolo Bonzini wrote:
to compile interp.c, so you may want to upgrade anyway. But I can modify the libffi configure script to provide __LONG_LONG_MAX__ if it is not provided by the compiler.

Thanks, you may save some people some time :)

Now, here goes the newbie questions, please bear with me: I am new to Smalltalk and have looked at the manual page at http://www.gnu.org/software/smalltalk/gst-manual/gst.html and I can't make the examples work. I've run the test suite and all test pass but when I try to run Blox as stated in 3.7.1 (gst -qK blox/Run.st) these files don't exist, I think it's equivalent to run

gst -qK browser/Run.st

but the I get this:

$ gst -qK browser/Run.st
"Scavenging... 89% reclaimed, done"
"Scavenging... 89% reclaimed, done"
"Scavenging... 87% reclaimed, done"
"Scavenging... 89% reclaimed, done"
"Scavenging... 88% reclaimed, done"
Loading package BloxTK
Object: DLD error: requested module blox-tk was not found
Smalltalk.DLD class(Smalltalk.Object)>>#primError:
SystemExceptions.CInterfaceError(Smalltalk.Exception)>>#defaultAction
optimized [] in Smalltalk.Exception class>>#coreException
SystemExceptions.CInterfaceError(Smalltalk.Signal)>>#activateHandler:
SystemExceptions.CInterfaceError(Smalltalk.Exception)>>#signal
SystemExceptions.CInterfaceError class(Smalltalk.Exception class)>>#signal:
Smalltalk.DLD class>>#addModule:
optimized [] in Smalltalk.Package>>#fileIn
Smalltalk.Set(Smalltalk.HashedCollection)>>#do:
Smalltalk.Package>>#fileIn
optimized [] in Smalltalk.PackageLoader class>>#fileInPackages:
Smalltalk.OrderedCollection(Smalltalk.SequenceableCollection)>>#do:
Smalltalk.PackageLoader class>>#fileInPackages:
Smalltalk.PackageLoader class>>#fileInPackage:
Smalltalk.UndefinedObject>>#executeStatements
/usr/local/share/smalltalk/browser/Run.st:44: invalid scope resolution

I have a directory named blox-tk and I'm sure I'm missing something but how can I correct this? How does Smalltalk look for packages, how does it know 'Browser' corresponds to browser-tk? The manual does not explain this or I haven't found it.

Another problem is I seem unable to type examples at the st> prompt. If I type

x := Array new: 20 !

I get

stdin:1: assignment to undeclared variable x

but I thought you don't have to declare anything in Smalltalk!?

Thanks for your help and sorry for the long message but I'm totally new to this.

Thanks
Lucia




reply via email to

[Prev in Thread] Current Thread [Next in Thread]