Closure VM on XO (was Re: [squeak-dev] Squeak/Pharo/Cuis on Android)

Igor Stasenko siguctua at gmail.com
Fri Mar 4 13:13:14 UTC 2011


In latest CMakeVMMaker you can find
CogUnixNoGLConfig

which , if you generate it, will build the 'vm-display-X11' module
without dependency from opengl:

 ldd vm-display-X11
	linux-gate.so.1 =>  (0x00690000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0x007d0000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0x007dc000)
	libdl.so.2 => /lib/libdl.so.2 (0x00449000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x006c4000)
	libm.so.6 => /lib/libm.so.6 (0x00c2e000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x00636000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00110000)
	libc.so.6 => /lib/libc.so.6 (0x0022d000)
	libuuid.so.1 => /lib/libuuid.so.1 (0x00e04000)
	/lib/ld-linux.so.2 (0x00a61000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x009c6000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00837000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00aa1000)



On 4 March 2011 04:04, Casey Ransberger <casey.obrien.r at gmail.com> wrote:
> I had a VM installed, installed a second VM, and had the same error with the
> same library, unless my memory wants debugging. I wasn't in a stock config
> either, I backported and tweaked a lot of stuff to make Ubuntu work well for
> me on it. I know I ripped out compiz and fusion, can't remember if I let
> OpenGL live. I could have accidentally broken it while breaking things I
> intended to break:)
> Anyway, we'll never know. I gave the machine away, which is my favorite
> thing to do with extra computers. Now I wish I'd have kept it another month,
> just to know.
>
> On Thu, Mar 3, 2011 at 6:36 PM, Bert Freudenberg <bert at freudenbergs.de>
> wrote:
>>
>> On 03.03.2011, at 18:29, Casey Ransberger wrote:
>>
>> And, now I know why I didn't get Cog to work on the EeePC. Ah well. Thanks
>> for educating me, Bert:)
>>
>> You do? I'd be surprised if you really got the libGLU error there.
>> - Bert -
>>
>> On Thu, Mar 3, 2011 at 6:10 PM, Bert Freudenberg <bert at freudenbergs.de>
>> wrote:
>>>
>>> On 03.03.2011, at 17:30, Juan Vuletich wrote:
>>>
>>> > I guess I succeeded installing it. Now trying to run like this
>>> > sh squeak.sh ../../imagename.image (in .../bin/) gives 'libGLU.so.1:
>>> > cannot open shared object file: No such file or directory / could not find
>>> > display driver vm-display-x11; wither: / -check that
>>> > /udr/local/lib/squeak/4.4.7-2357/vm-display-x11.so exists or / ...'
>>> > There's no vm-display-x11.so in the folder from the installation, but
>>> > there is a so.vm-display... so copying this to have the '.so' at the end...
>>> > Get the same error. I'm almost giving up.
>>>
>>> Well, you're almost there ;)
>>>
>>> You need either the tar.gz or the .sh, not both. After extracting, you
>>> can either install it, or run directly from where you installed it.
>>>
>>> The libGLU error you are getting now indicates the VM loads successfully.
>>> But the vm-display-x11 is linked to OpenGL. The XO has no OpenGL libraries
>>> installed. So what you need to do is copy the system's so.vm-display-x11
>>> (from /usr/lib/squeak) to your new VM directory, overwriting the current
>>> version. Then everything should be fine. The system version was compiled
>>> without OpenGL support.
>>>
>>> - Bert -
>>>
>>>
>>>
>>
>>
>>
>> --
>> Casey Ransberger
>>
>>
>>
>>
>>
>>
>
>
>
> --
> Casey Ransberger
>
>
>
>



-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list