|
|
Mozy Online Backup: 2GB Free. Automatic. Secure.
Subject: Re: GNU Smalltalk Blox not working as documented (2) - msg#00003
List: lang.smalltalk.gnu.general
Hilaire Fernandes wrote:
I also did:
./configure --with-tcl --with-tk
make
make install
Then the error is the same :
hilaire@video:~/download/smalltalk-2.2$ gst -qK browser/Run.st
"Scavenging... 91% reclaimed, done"
"Scavenging... 89% reclaimed, done"
"Scavenging... 89% reclaimed, done"
"Scavenging... 88% reclaimed, done"
"Scavenging... 89% reclaimed, done"
"Scavenging... 88% reclaimed, done"
Loading package BloxTK
Object: DLD error: requested module blox-tk was not found
Could you please send the config.log file and the output f
find /usr/local/lib/*smalltalk*
Thanks,
Paolo
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
GNU Smalltalk Blox not working as documented (2)
I also did:
./configure --with-tcl --with-tk
make
make install
Then the error is the same :
hilaire@video:~/download/smalltalk-2.2$ gst -qK browser/Run.st
"Scavenging... 91% reclaimed, done"
"Scavenging... 89% reclaimed, done"
"Scavenging... 89% reclaimed, done"
"Scavenging... 88% 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
--
CDDP des Landes
Ingénierie Éducative
614, rue du Ruisseau - BP 401
40012 Mont de Marsan Cedex
Tél. 05.58.75.50.10
http://crdp.ac-bordeaux.fr/cddp40
Next Message by Date:
click to view message preview
Re: GNU Smalltalk Segfault with a Script I Wrote
Shlomi Fish wrote:
Hi!
The attached script causes GNU Smalltalk (version 2.1.12, installed from
source) to crash. I'm using Mandriva 2006.
You are not loading the SUnit package, so your MsfTest class a) does not
implement #run: and b) derives from nil. It is normal to have a crash
if you call a method that is not understood by a class that does not
implement #doesNotUnderstand:.
I am currently thinking of a scripting syntax that will catch mistakes
like this.
It works if you add a
PackageLoader fileInPackage: #SUnit!
line at the top, and change the last line to "t run".
Paolo
----
TestCase subclass: #MsfTest
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'SUnit-Tests'!
Object subclass: #SquaringFactors
instanceVariableNames: 'numbers'
classVariableNames: ''
poolDictionaries: ''
category: 'Program'!
!SquaringFactors methodsFor: 'initialization'!
from: myarr
numbers := (OrderedCollection new: myarr).
!
!MsfTest methodsFor: 'testing'!
testMultiply
|n m ret|
n := (SquaringFactors new) from: #(2).
m := (SquaringFactors new) from: #(3).
ret := ((n multiplyBy: m) getArray).
self assert: (ret at: 1) = 2.
self assert: (ret at: 2) = 3.
!!
|t|
t := (MsfTest new).
t run: #testMultiply.
---
!
Previous Message by Thread:
click to view message preview
GNU Smalltalk Blox not working as documented (2)
I also did:
./configure --with-tcl --with-tk
make
make install
Then the error is the same :
hilaire@video:~/download/smalltalk-2.2$ gst -qK browser/Run.st
"Scavenging... 91% reclaimed, done"
"Scavenging... 89% reclaimed, done"
"Scavenging... 89% reclaimed, done"
"Scavenging... 88% 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
--
CDDP des Landes
Ingénierie Éducative
614, rue du Ruisseau - BP 401
40012 Mont de Marsan Cedex
Tél. 05.58.75.50.10
http://crdp.ac-bordeaux.fr/cddp40
Next Message by Thread:
click to view message preview
Re: GNU Smalltalk Blox not working as documented(2)
Here are the config.log and the output of
find /usr/local/lib/*smalltalk*
Also note, that
dpkg -l |grep tk
produce:
ii tk8.0 8.0.5-11 Tk
toolkit for Tcl and X11, v8.0 - run-time
ii tk8.3 8.3.5-6 Tk
toolkit for Tcl and X11, v8.3 - run-time
ii tk8.4 8.4.11-1 Tk
toolkit for Tcl and X11, v8.4 - run-time
Also:
hilaire@video:~/download/smalltalk-2.2$ find /usr/local/lib/*smalltalk*
/usr/local/lib/smalltalk
/usr/local/lib/smalltalk/i18n-2.2.so
/usr/local/lib/smalltalk/i18n.so
/usr/local/lib/smalltalk/i18n.la
/usr/local/lib/smalltalk/i18n.a
/usr/local/lib/smalltalk/tcp-2.2.so
/usr/local/lib/smalltalk/tcp.so
/usr/local/lib/smalltalk/tcp.la
/usr/local/lib/smalltalk/tcp.a
/usr/local/lib/smalltalk/regex-2.2.so
/usr/local/lib/smalltalk/regex.so
/usr/local/lib/smalltalk/regex.la
/usr/local/lib/smalltalk/regex.a
/usr/local/lib/smalltalk/md5-2.2.so
/usr/local/lib/smalltalk/md5.so
/usr/local/lib/smalltalk/md5.la
/usr/local/lib/smalltalk/md5.a
/usr/local/lib/smalltalk/libc.la
/usr/local/lib/smalltalk/gst-gtk-2.2.so
/usr/local/lib/smalltalk/gst-gtk.so
/usr/local/lib/smalltalk/gst-gtk.la
/usr/local/lib/smalltalk/gst-gtk.a
Thanks so much for your help!
Hilaire Fernandes
Le jeudi 01 juin 2006 à 17:43 +0200, Paolo Bonzini a écrit :
> Hilaire Fernandes wrote:
> > I also did:
> >
> > ./configure --with-tcl --with-tk
> > make
> > make install
> >
> >
> > Then the error is the same :
> >
> > hilaire@video:~/download/smalltalk-2.2$ gst -qK browser/Run.st
> > "Scavenging... 91% reclaimed, done"
> > "Scavenging... 89% reclaimed, done"
> > "Scavenging... 89% reclaimed, done"
> > "Scavenging... 88% reclaimed, done"
> > "Scavenging... 89% reclaimed, done"
> > "Scavenging... 88% reclaimed, done"
> > Loading package BloxTK
> > Object: DLD error: requested module blox-tk was not found
> >
> Could you please send the config.log file and the output f
>
> find /usr/local/lib/*smalltalk*
>
> Thanks,
>
> Paolo
--
CDDP des Landes
Ingénierie Éducative
614, rue du Ruisseau - BP 401
40012 Mont de Marsan Cedex
Tél. 05.58.75.50.10
http://crdp.ac-bordeaux.fr/cddp40
config.log
Description: Text Data
_______________________________________________
help-smalltalk mailing list
help-smalltalk@xxxxxxx
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|
|