[Top][All Lists]

[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)


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 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/ these files don't exist, I think it's equivalent to run

gst -qK browser/

but the I get this:

$ gst -qK browser/
"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:
optimized [] in Smalltalk.Exception class>>#coreException
SystemExceptions.CInterfaceError class(Smalltalk.Exception class)>>#signal:
Smalltalk.DLD class>>#addModule:
optimized [] in Smalltalk.Package>>#fileIn
optimized [] in Smalltalk.PackageLoader class>>#fileInPackages:
Smalltalk.PackageLoader class>>#fileInPackages:
Smalltalk.PackageLoader class>>#fileInPackage:
/usr/local/share/smalltalk/browser/ 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.


reply via email to

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