[Vm-dev] FreeBSD problems with latest VM

Bert Freudenberg bert at freudenbergs.de
Thu Apr 1 12:23:17 UTC 2010


On 01.04.2010, at 13:44, Gary Dunn wrote:
> 
> 
> On Wed, 2010-03-31 at 17:22 +0200, Bert Freudenberg wrote:
>> (please remember to change the subject if you change the subject)
>> 
>> On 31.03.2010, at 09:59, Gary Dunn wrote:
>>> 
>>> 
>>> On Sun, 2010-03-28 at 13:59 -0700, Andreas Raab wrote:
>>>> Folks -
>>>> 
>>>> I've built a new Windows VM for the upcoming release (mostly to fix the 
>>>> SqueakMap problem). 
>>> 
>>> Any guess when a new Unix VM will be available for testing with 4.1?
>>> 
>>> With the current 3.11.3-2135 on FreeBSD 8.0 STABLE I get two errors on
>>> the command line:
>>> 
>>> $ squeak Squeak4.1-9863-alpha.image
>>> pulseaudio: not found
>>> + exec /usr/local/lib/squeak/3.11.3-2135/squeakvm -pathenc UTF-8
>>> -encoding UTF-8 -plugins /usr/local/lib/squeak/3.11.3-2135
>>> Squeak4.1-9863-alpha.image
>>> /usr/local/lib/squeak/3.11.3-2135/so.ImmX11Plugin: Undefined symbol
>>> "setNEncoding"
>>> 
>>> A ps -x shows pulseaudio running:
>>> 1403  ??  Is     0:00.16/usr/local/bin/pulseaudio --start
>>> --log-target=syslog
>>> 
>>> Can't say how bad the setNEncoding error is.
>> 
>> So I guess these are just warnings, apart from them it works?
>> 
>> In the FreeBSD version of the "squeak" script, what is "useoss" set to?
>> 
>> And "pulseaudio --check 2>/dev/null" should actually be silent if not found, or does that work only in bash?
>> 
>> Besides, why can't it execute "pulseaudio" if it's in /usr/local/bin ?
>> 
>> - Bert -
> 
> Progress, sort of. The pulseaudio test fails because the shell script
> has
> 
> PATH=/usr/bin:/bin
> 
> and FreeBSD has 
> 
> $ which pulseaudio
> /usr/local/bin/pulseaudio
> 
> But fixing the path results in a core dump (stuff in CAPS are my debug
> echos)
> 
> $ squeak Squeak4.1-9863-alpha.image
> HAVE PULSEAUDIO
> HAVE PADSP
> MOVE ON
> + exec padsp /usr/local/lib/squeak/3.11.3-2135/squeakvm -pathenc UTF-8
> -encoding UTF-8 -plugins /usr/local/lib/squeak/3.11.3-2135 -vm-sound-oss
> Squeak4.1-9863-alpha.image
> could not find module vm-sound-OSS
> Abort trap (core dumped)
> 
> And the lib folder contains
> 
> $ ls /usr/local/lib/squeak/3.11.3-2135
> SqueakV39.sources		so.PseudoTTYPlugin
> so.AioPlugin			so.RomePlugin
> so.B3DAcceleratorPlugin		so.Squeak3D
> so.ClipboardExtendedPlugin	so.SqueakFFIPrims
> so.DBusPlugin			so.UUIDPlugin
> so.FileCopyPlugin		so.UnixOSProcessPlugin
> so.GStreamerPlugin		so.XDisplayControlPlugin
> so.HostWindowPlugin		so.vm-display-X11
> so.ImmX11Plugin			so.vm-display-custom
> so.KedamaPlugin			so.vm-display-null
> so.KedamaPlugin2		so.vm-sound-NAS
> so.MIDIPlugin			so.vm-sound-custom
> so.Mpeg3Plugin			so.vm-sound-null
> so.OggPlugin			squeakvm
> 
> 
> My VM is from
> 
> http://www.squeakvm.org/unix/
> 
> and not the FreeBSD port.
> 
> I hope this is useful.

Interesting. Where is vm-sound-OSS? And who is modifying the PATH?

I have no experience with running Linux binaries on BSD so I can't really help ...

- Bert -




More information about the Vm-dev mailing list