Attached is the output of strace
El lun, 25-05-2009 a las 16:01 +0200, Giuseppe Luigi Punzi escribió:
Ok, I think I know what is the problem, but I don't know how to solve.
When try to run squeak, I get:
- check that /usr/local/lib/squeak/3.10-4/vm-display-X11.so exists, or
Investigating, seems that I have 2 libs directories for squeak. "/usr/local/lib/squeak/3.10-4" and "/usr/lib/squeak/3.10-3".
Squeak by default, is searching on "/usr/local/lib/squeak/3.10-4" and trying to running with -plugins /usr/local/lib/squeak/3.10-4 doesn't works.
But, if I do -plugins /usr/lib/squeak/3.10-3 it works. This directory comes from the OLPC VM.
Here are the 2 directories: OLPC glpunzi@info01:~> ls /usr/lib/squeak/3.10-3/ AioPlugin GStreamerPlugin KedamaPlugin2 OggPlugin Squeak3D vm-display-fbdev vm-sound-ALSA ClipboardExtendedPlugin ImmX11Plugin MIDIPlugin RomePlugin UUIDPlugin vm-display-null vm-sound-null DBusPlugin KedamaPlugin npsqueak.so squeak VideoForLinuxPlugin vm-display-X11 vm-sound-OSS
Squeak tar.gz glpunzi@info01:~> ls /usr/local/lib/squeak/3.10-4/ AioPlugin FileCopyPlugin KedamaPlugin2 OggPlugin Squeak3D VideoForLinuxPlugin vm-sound-ALSA XDisplayControlPlugin B3DAcceleratorPlugin GStreamerPlugin MIDIPlugin PseudoTTYPlugin SqueakFFIPrims vm-display-fbdev vm-sound-NAS ClipboardExtendedPlugin ImmX11Plugin Mpeg3Plugin RomePlugin UnixOSProcessPlugin vm-display-null vm-sound-null DBusPlugin KedamaPlugin npsqueak.so squeak UUIDPlugin vm-display-X11 vm-sound-OSS
El lun, 25-05-2009 a las 14:31 +0100, Derek O'Connell escribió:
Well then my next guess is that vm-display-X11 is making a call to a missing function. I can't check anything atm but maybe there is a debug option when compiling the VM that would display the failure. Alternatively if you have "strace" installed then use that and look at the output for failures. I typically use the following...
"strace -s 64 -o strace-results.txt <usual squeak stuff>"
...and then load up the results in an editor and start searching.
HTH
Giuseppe Luigi Punzi wrote:
Hi derek, I didn't changed nothing.
Was a clean install: http://www.nabble.com/-squeak-dev--Squeak-and-Linux-OpenSuse-11.1-td23597336...
El lun, 25-05-2009 a las 13:11 +0100, Derek O'Connell escribió:
Hi Giuseppe,
this is a guess but I had a similar situation with a plugin I was working on and in my case it turned out to be an unresolved reference due to a typo. Have you changed vm-display-X11 at all?
Giuseppe Luigi Punzi wrote:
Hi again,
Sorry, for the delay, but my OpenSuse box is at work, and I didn't have time to check this.
I didn't tried this option yet. Some minutes ago, tried specifying the plugins directory, and worked: squeak -plugins /usr/lib/squeak/3.10-3/
And squeak -h gives me this output: glpunzi@info01:~/desarrollo/squeak.3.10> squeak -help Usage: squeak [<option>...] [<imageName> [<argument>...]] squeak [<option>...] -- [<argument>...] . . [The diferent options] . .
Notes: <imageName> defaults to `squeak.image'. -vtlock disables keyboard vt switching even when -vtswitch is enabled If `-memory' is not specified then the heap will grow dynamically. <argument>s are ignored, but are processed by the Squeak image. The first <argument> normally names a Squeak `script' to execute. Precede <arguments> by `--' to use default image.
Available drivers: vm-sound-null vm-sound-ALSA vm-sound-OSS vm-display-null vm-display-fbdev
Seems, for some reason, don't find vm-display-X11 by default.
On mar, 2009-05-19 at 12:56 +0200, Bruce O'Neel wrote:
Hi,
Keep in mind that I do not use OpenSUSE so this might be completely wrong.
If you figure out which rpm you got /usr/lib64/libGL.so.1 from, you need to install that same RPM but the i568 one rather than x86_64 one.
Guessing, ie, proceed at your own risk, I think that Mesa-7.4.2-1.3.i586.rpm would do it.
It looks like you can get it from http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_11.1/i586/
cheers
bruce
On Mon, May 18, 2009 at 10:07:24PM +0200, Bruce O'Neel wrote: > Hi, > > As Bert recommended, the VM built without GL support might be the way to go. > > The other choice is to figure out what SuSE calls the 32 bit version of Mesa, > and install that. > > You can't call a 64 bit library from 32 bit code. Well, that's > not 100% true, but, let's just leave it there rather than add paragraphs which > won't really solve the problem anyway. > > cheers > > bruce > > > On Mon, May 18, 2009 at 06:19:04PM +0200, Giuseppe Luigi Punzi wrote: >> Don't works :( >> >> El Monday 18 May 2009 17:42:38 Mariano Martinez Peck escribió: >>> On Mon, May 18, 2009 at 2:38 PM, Giuseppe Luigi Punzi < >>> >>> glpunzi@lordzealon.com> wrote: >>>> Hi, thanks in advance for your answer. >>>> >>>> The output is: >>>> glpunzi@dhcppc2:~/descargas/Squeak-3.10-4/platforms/unix/src/vm> ldd >>>> /usr/local/lib/squeak/3.10-4/vm-display-X11 >>>> linux-gate.so.1 => (0xffffe000) >>>> libXrender.so.1 => /usr/lib/libXrender.so.1 (0xf7f6a000) >>>> libGL.so.1 => not found >>>> libXext.so.6 => /usr/lib/libXext.so.6 (0xf7f59000) >>>> libSM.so.6 => /usr/lib/libSM.so.6 (0xf7f50000) >>>> libICE.so.6 => /usr/lib/libICE.so.6 (0xf7f34000) >>>> libdl.so.2 => /lib/libdl.so.2 (0xf7f2f000) >>>> libm.so.6 => /lib/libm.so.6 (0xf7f06000) >>>> libnsl.so.1 => /lib/libnsl.so.1 (0xf7eed000) >>>> libX11.so.6 => /usr/lib/libX11.so.6 (0xf7dba000) >>>> libc.so.6 => /lib/libc.so.6 (0xf7c5e000) >>>> libXau.so.6 => /usr/lib/libXau.so.6 (0xf7c59000) >>>> libuuid.so.1 => /lib/libuuid.so.1 (0xf7c53000) >>>> /lib/ld-linux.so.2 (0xf7fab000) >>>> libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xf7c50000) >>>> libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf7c32000) >>>> >>>> Could be libGL the problem? >>>> >>>> libGL.so.1 is provided by Mesa package, but is installed. It puts the >>>> file on >>>> /usr/lib64 >>> what about doing an ln to /usr/lib ? just to see if works >>> >>>> El Monday 18 May 2009 17:27:02 Bruce O'Neel escribió: >>>>> Hi, >>>>> >>>>> Try a >>>>> >>>>> ldd /usr/local/lib/squeak/3.10-4/vm-display-X11.so >>>>> >>>>> or >>>>> >>>>> ldd /usr/local/lib/squeak/3.10-4/vm-display-X11 >>>>> >>>>> and look at what libraries vm-disply-X11 wants. That might point >>>>> you in some direction. >>>>> >>>>> cheers >>>>> >>>>> bruce >>>>> >>>>> On Mon, May 18, 2009 at 03:20:45PM +0200, Giuseppe Luigi Punzi wrote: >>>>>> Hi all, >>>>>> >>>>>> Recently I installed OpenSuse 11.1 in my work machine, and I'm trying >>>> to >>>> >>>>>> get Squeak working. >>>>>> >>>>>> I downloaded Squeak-3.10-4.i686-pc-linux-gnu.tar.gz from >>>>>> http://www.squeakvm.org/unix/ >>>>>> >>>>>> I tried to launch ./INSTALL but it told me: >>>>>> "Your architecture appears to be: x86_64-linux-gnu. >>>>>> >>>>>> No binaries/libraries found for x86_64-linux-gnu. >>>>>> You might have tell INSTALL whch cpu-vendor-os to use." >>>>>> >>>>>> To avoid to build a VM, I forced with >>>>>> ./INSTALL i686-pc-linux-gnu/ >>>>>> >>>>>> it installed, but, when I tried to start it, I get: >>>>>> glpunzi@dhcppc2:~/desarrollo/squeak.3.10> squeak >>>>>> Squeak3.10.2-7179-basic.image could not find display driver >>>>>> vm-display-X11; either: >>>>>> - check that /usr/local/lib/squeak/3.10-4/vm-display-X11.so exists, >>>> or >>>> >>>>>> - use the '-plugins <path>' option to tell me where it is, or >>>>>> - remove DISPLAY from your environment. >>>>>> Abortado >>>>>> >>>>>> My vm-display.X11 looks like: >>>>>> glpunzi@dhcppc2:~/desarrollo/squeak.3.10> ls >>>>>> /usr/local/lib/squeak/3.10-4/ AioPlugin DBusPlugin >>>>>> ImmX11Plugin MIDIPlugin OggPlugin squeak >>>>>> UnixOSProcessPlugin vm-display-fbdev vm- display-X11.do >>>>>> vm-sound-NAS XDisplayControlPlugin >>>>>> B3DAcceleratorPlugin FileCopyPlugin KedamaPlugin Mpeg3Plugin >>>>>> PseudoTTYPlugin Squeak3D UUIDPlugin vm-display-null >>>>>> vm- display-X11.so vm-sound-null >>>>>> ClipboardExtendedPlugin GStreamerPlugin KedamaPlugin2 npsqueak.so >>>>>> RomePlugin SqueakFFIPrims VideoForLinuxPlugin vm-display-X11 >>>>>> vm- sound-ALSA vm-sound-OSS >>>>>> glpunzi@dhcppc2:~/desarrollo/squeak.3.10> >>>>>> >>>>>> I had vm-display-X11 and I supposed about a symbolic link is needed, >>>> and >>>> >>>>>> I create it (the vm-display-X11.so above is my symlink), but still >>>> don't >>>> >>>>>> working. >>>>>> >>>>>> Someone could give me some advice? >>>>>> >>>>>> Cheers.