I must stress that I know nothing about smalltalk.
I found a program, a mcz package, that I wanted to test. As far as I know it's written in squeak (well, the source file extracted from the package). When I try to run `gst-convert -f squeak <filename>` the result is: Object: PackageLoader class error: Invalid argument Parser: package not found SystemExceptions.PackageNotAvailable(Exception)>>signal SystemExceptions.PackageNotAvailable(Exception)>>signal: SystemExceptions.PackageNotAvailable class(SystemExceptions.NotFound class)>>signalOn:what: SystemExceptions.PackageNotAvailable class>>signal: optimized [] in PackageLoader class>>fileInPackages: [] in Kernel.PackageDirectories(Kernel.PackageGroup)>>extractDependenciesFor:ifMissing: Kernel.PackageDirectories>>at:ifAbsent: [] in Kernel.PackageDirectories(Kernel.PackageGroup)>>extractDependenciesFor:ifMissing: Array(SequenceableCollection)>>do: Kernel.PackageDirectories(Kernel.PackageGroup)>>extractDependenciesFor:ifMissing: PackageLoader class>>fileInPackages: PackageLoader class>>fileInPackage: UndefinedObject>>executeStatements /usr/share/smalltalk/kernel/../scripts/Convert.st:80: invalid scope resolution /usr/share/smalltalk/kernel/../scripts/Convert.st:104: invalid scope resolution /usr/share/smalltalk/kernel/../scripts/Convert.st:121: invalid scope resolution /usr/share/smalltalk/kernel/../scripts/Convert.st:145: invalid scope resolution /usr/share/smalltalk/kernel/../scripts/Convert.st:155: key STInST not found /usr/share/smalltalk/kernel/../scripts/Convert.st:155: expected Eval, Namespace or class definition /usr/share/smalltalk/kernel/../scripts/Convert.st:170: expected object I only installed smalltalk for this program. The program in question is DrGeoII-HilaireFernandes.113.mcz from http://www.squeaksource.com/DrGeoII.html There's a good chance it won't work anyway, as it seems that it's using squeak gui, but the question for now is why gst-convert doesn't work. And if you're willing to help, CC me, cause I turned off mail delivery. _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
Rafa? Mu?y?o wrote:
> I must stress that I know nothing about smalltalk. > > I found a program, a mcz package, that I wanted to test. > As far as I know it's written in squeak (well, the source file extracted > from the package). > When I try to run `gst-convert -f squeak <filename>` the result is: Yes, you have to extract the .st source file and pass it to gst-convert. > Object: PackageLoader class error: Invalid argument Parser: package not > found Can you 1) execute "Directory systemKernel" and see what it gives; 2) look on your disk for Parser.star and send the path? Also, did you install from a binary distribution, or from source? > The program in question is > DrGeoII-HilaireFernandes.113.mcz from > http://www.squeaksource.com/DrGeoII.html > There's a good chance it won't work anyway, Yes, but let's look at the other problem. Paolo _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
On Sun, Apr 13, 2008 at 01:40:04PM +0200, Paolo Bonzini wrote:
> Rafał Mużyło wrote: >> Object: PackageLoader class error: Invalid argument Parser: package not >> found > > Can you 1) execute "Directory systemKernel" and see what it gives; 2) look > on your disk for Parser.star and send the path? > > Also, did you install from a binary distribution, or from source? > Well, sort of both and that's the cause of the problem. I'm using Gentoo. The ebuild for gnu-smalltalk builds it in following way: ./configure --prefix=/usr <a few enables> make make prefix="${D}/usr" mandir="${D}/usr/share/man" infodir="${D}/usr/share/info" lispdir="${D}/usr/share/emacs/site-lisp/gnu-smalltalk" libdir="${D}/usr/lib" install But this causes Directory systemKernel to be ${D}/usr/share/smalltalk/kernel, so is there some variable to be passed to make that fixes that ? _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
> ./configure --prefix=/usr <a few enables> > make > make prefix="${D}/usr" mandir="${D}/usr/share/man" infodir="${D}/usr/share/info" lispdir="${D}/usr/share/emacs/site-lisp/gnu-smalltalk" libdir="${D}/usr/lib" install > > But this causes Directory systemKernel to be > ${D}/usr/share/smalltalk/kernel, so is there some variable to be passed > to make that fixes that ? What's ${D}? Why is it being used instead of make DESTDIR="${D}" install Paolo _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
On Sun, Apr 13, 2008 at 03:26:24PM +0200, Paolo Bonzini wrote:
> What's ${D}? Why is it being used instead of > > make DESTDIR="${D}" install > You're right, it should use it. I filed a bug in gentoo bugzilla and now I shall update it with this info. Now gst-convert works and gives: gst-convert: warning: superclass Morph is undefined gst-convert: warning: extensions for undefined class Morph gst-convert: warning: superclass StringMorph is undefined gst-convert: warning: superclass PolygonMorph is undefined gst-convert: error: <path>drgeo2.st:319: End of statement list encountered but I ran simply gst-convert -f squeak, so while the warnings will probably stay (as they are probably squeak-class related), maybe the error is something that needs one of those -r optins mentioned in the FAQ. Any idea ? _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
On Sun, Apr 13, 2008 at 05:31:17PM +0200, Paolo Bonzini wrote:
> The only known problem in gst-convert is that "1-2" is not supported an > should be written "1 - 2". Usually when I converted packages I found up to > 5 occurrences of this. > Well, that was it, after I corrected abot 4 instances of this problem, I got to the point were gst-convert output is: gst-convert: warning: superclass Morph is undefined gst-convert: warning: extensions for undefined class Morph gst-convert: warning: superclass StringMorph is undefined gst-convert: warning: superclass PolygonMorph is undefined gst-convert: warning: superclass SystemWindow is undefined gst-convert: warning: superclass PasteUpMorph is undefined gst-convert: warning: superclass Model is undefined gst-convert: warning: superclass Model is undefined gst-convert: warning: superclass Model is undefined gst-convert: warning: superclass PackageInfo is undefined gst-convert: warning: superclass BorderedMorph is undefined gst-convert: warning: superclass BorderedMorph is undefined gst-convert: error: Expecting a literal type No line number or anything else. What now ? _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
Rafa? Mu?y?o wrote:
> On Sun, Apr 13, 2008 at 05:31:17PM +0200, Paolo Bonzini wrote: >> The only known problem in gst-convert is that "1-2" is not supported an >> should be written "1 - 2". Usually when I converted packages I found up to >> 5 occurrences of this. >> > Well, that was it, after I corrected abot 4 instances of this problem, > I got to the point were gst-convert output is: > gst-convert: warning: superclass Morph is undefined > gst-convert: warning: extensions for undefined class Morph > gst-convert: warning: superclass StringMorph is undefined > gst-convert: warning: superclass PolygonMorph is undefined > gst-convert: warning: superclass SystemWindow is undefined > gst-convert: warning: superclass PasteUpMorph is undefined > gst-convert: warning: superclass Model is undefined > gst-convert: warning: superclass Model is undefined > gst-convert: warning: superclass Model is undefined > gst-convert: warning: superclass PackageInfo is undefined > gst-convert: warning: superclass BorderedMorph is undefined > gst-convert: warning: superclass BorderedMorph is undefined > gst-convert: error: Expecting a literal type > > No line number or anything else. What now ? A bug? :-) Attach the file to a bug report (with the 1-2's fixed). Paolo _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
Free forum by Nabble | Edit this page |