|
List Info
Thread: A problem with gst-convert (total newbie)
|
|
| A problem with gst-convert (total
newbie) |
  Poland |
2008-04-12 16:59:53 |
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)>>signa
l
SystemExceptions.PackageNotAvailable(Exception)>>signa
l:
SystemExceptions.PackageNotAvailable
class(SystemExceptions.NotFound
class)>>signalOn:what:
SystemExceptions.PackageNotAvailable class>>signal:
optimized [] in PackageLoader class>>fileInPackages:
[] in
Kernel.PackageDirectories(Kernel.PackageGroup)>>extrac
tDependenciesFor:ifMissing:
Kernel.PackageDirectories>>at:ifAbsent:
[] in
Kernel.PackageDirectories(Kernel.PackageGroup)>>extrac
tDependenciesFor:ifMissing:
Array(SequenceableCollection)>>do:
Kernel.PackageDirectories(Kernel.PackageGroup)>>extrac
tDependenciesFor: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.s
queaksource.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
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|
|
| Re: A problem with gst-convert (total
newbie) |
  Poland |
2008-04-13 07:28:25 |
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="$/USR"
MANDIR="$/USR/SHARE/MAN"
INFODIR="$/USR/SHARE/INFO"
LISPDIR="$/USR/SHARE/EMACS/SITE-LISP/GNU-SMALLTALK&q
uot; LIBDIR="$/USR/LIB" INSTALL
BUT THIS CAUSES DIRECTORY SYSTEMKERNEL TO BE
$/USR/SHARE/SMALLTALK/KERNEL, SO IS THERE SOME VARIABLE
TO BE PASSED
TO MAKE THAT FIXES THAT ?
_______________________________________________
HELP-SMALLTALK MAILING LIST
HELP-SMALLTALK GNU.ORG
HTTP://LISTS.GNU.ORG/MAILMAN/LISTINFO/HELP-SMALLTALK
|
|
| Re: A problem with gst-convert (total
newbie) |
  Italy |
2008-04-13 06:40:04 |
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.s
queaksource.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
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|
|
| Re: A problem with gst-convert (total
newbie) |
  Italy |
2008-04-13 08:26:24 |
> ./configure --prefix=/usr <a few enables>
> make
> make prefix="$/usr"
mandir="$/usr/share/man"
infodir="$/usr/share/info"
lispdir="$/usr/share/emacs/site-lisp/gnu-smalltalk&q
uot; libdir="$/usr/lib" install
>
> But this causes Directory systemKernel to be
> $/usr/share/smalltalk/kernel, so is there some
variable to be passed
> to make that fixes that ?
What's $? Why is it being used instead of
make DESTDIR="$" install
Paolo
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|
|
| Re: A problem with gst-convert (total
newbie) |
  Poland |
2008-04-13 11:20:33 |
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
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|
|
| Re: A problem with gst-convert (total
newbie) |
  Italy |
2008-04-13 15:53:32 |
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
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|
|
[1-6]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|