Mantis - Squeak
Viewing Issue Advanced Details
7567 VM minor always 11-01-10 21:52 11-25-10 09:20
ShlomiFish  
lewis  
normal  
assigned 4.1  
open  
none    
none  
0007567: Linux (Mandriva 2010.1, x86-64) Squeak cannot find the sources file in directories that are 5 components deep.
After I run "inisqueak -b" from here: /home/shlomif/Download/unpack/default I get that Squeak VM cannot find the sources even though they are there. It also happens after subsequent runs. This does not happen while using /home/shlomif/progs/default and other 4-component runs. It also happens here:

home/shlomif/progs/smalltalk/default

and in all other 5-component-or-deeper-from-the-/-or-more directories I tried.

Notes
(0013900)
ShlomiFish   
11-01-10 22:20   
OK, I've now tried it on my Mandriva Cooker P4-2.4GHz (x86-32) machine and I'm getting the same result there. I'll try to investigate further.

I'm using these packages:

squeak-sources-3.9-5mdv2010.0
squeak-vm-4.0.3.2202-3mdv2011.0
squeak-image-4.1-1mdv2011.0
(0013940)
ShlomiFish   
11-20-10 15:19   
Ping! Is anyone investigating this issue?
(0013941)
lewis   
11-20-10 16:13   
I cannot reproduce the problem on my system just running the VM directly, so possibly it is an issue in the inisqueak script. From where did you download the VM?
(0013946)
ShlomiFish   
11-25-10 09:07   
lewis: I've installed the Mandriva 2010.1 and Mandriva Cooker packages of Squeak (see the rpm versions there) from the Mandriva package repository. How do I run the VM directly? I think I tried running it on the image and got the same problem, but I'll try again on Mandriva Cooker.
(0013947)
ShlomiFish   
11-25-10 09:20   
After some investigation, I found out that inisqueak was not the problem:

[shell]

shlomif:~/progs/smalltalk/default/foobar$ ls -l
total 13988
-rw-r--r-- 1 shlomif shlomif 693 Nov 25 11:15 squeak.changes
-rw-r--r-- 1 shlomif shlomif 14318568 Nov 25 11:10 squeak.image
lrwxrwxrwx 1 shlomif shlomif 35 Nov 25 11:10 SqueakV41.sources -> /usr/share/squeak/SqueakV41.sources
shlomif:~/progs/smalltalk/default/foobar$ /usr/lib/squeak/4.0.3-2202/squeakvm
# Boom - errors about missing .sources.
[/shell]

And /usr/lib/squeak/4.0.3-2202/squeakvm is a binary. This does not happen if I try it under ~/progs/smalltalk/ .