Linux vm default plugins directory

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Linux vm default plugins directory

Schwab,Wilhelm K
A recurring theme is that I encounter a problem for which there is no explanation from the system, hack the vm sources to add some tracing, and correct the problem.  As a result, I end up building the vm from source and so tend to use a shell script that runs it.

FWIW, without a -plugins option, this is what happens with the current sources:

Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.vm-sound-OSS
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.vm-sound-MacOSX
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.vm-sound-Sun
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.vm-sound-pulse
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.vm-sound-ALSA
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.MiscPrimitivePlugin
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.FilePlugin
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.SecurityPlugin
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.LargeIntegers
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.BitBltPlugin
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.B2DPlugin
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.LocalePlugin
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.SocketPlugin
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.FloatArrayPlugin
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.Matrix2x3Plugin

Note the extra / in the paths.  Some of the plugins should fail to load; the point is that *all* of them fail to load.

Bill

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Linux vm default plugins directory

Schwab,Wilhelm K
Bert, Eliot,

FWIW, I have had terrible results with LD_LIBRARY_PATH on Ubuntu - maybe I'm just missing something.  I probably should let the squeak script handle it, but it seems silly to use a script to call a script, so I've typically gone straight to the vm; that appears to be getting harder to do with time.

About plugins not loading, my big point is that we should not have to guess about what is or is not happening.  The vm does not provide enough information to reliably fix problems.

Bill



On 01.09.2010, at 21:12, Eliot Miranda wrote:

> Hi Wilhelm,
>
> On Wed, Sep 1, 2010 at 12:01 PM, Schwab,Wilhelm K <bschwab at anest.ufl.edu> wrote:
>
>> A recurring theme is that I encounter a problem for which there is no explanation from the system, hack the vm sources to add some tracing, and correct the problem.  As a result, I end up building the vm from source and so tend to use a shell script that runs it.
>>
> Set LD_LIBRARY_PATH to include the relevant directory.  Here's the script I use at Teleplace

The current "squeak" script fills in the plugins path, so there is no need to fiddle with LD_LIBRARY_PATH.
 
http://squeakvm.org/svn/squeak/trunk/platforms/unix/cmake/squeak.in

However, I occasionally too see a plugin that inexplicably does not want to load.

- Bert -



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project