[Vm-dev] Re: Linux VM built, but can't run
David T. Lewis
lewis at mail.msen.com
Wed Apr 28 01:28:10 UTC 2010
On Wed, Apr 28, 2010 at 03:58:15AM +0300, Igor Stasenko wrote:
> Whoever built the
> I'd like to ask.
> Why /lib/ subdir contains files with so. prefix?
I think that Ian chose this naming convention to distinguish the plugins
from "normal" foo.so shared libraries.
> and why, when i building my own VM and installing it, it producing
> files like that instead:
> sig at sig-desktop:/usr/local/lib/squeak/3.10-6$ ls -la
> total 4004
> drwxr-xr-x 2 root root 4096 2010-04-28 03:52 .
> drwxr-xr-x 3 root root 4096 2010-04-28 03:25 ..
> -rwxr-xr-x 1 root root 63183 2010-04-28 03:25 FT2Plugin
> -rwxr-xr-x 1 root root 22052 2010-04-28 03:25 npsqueak.so
> -rwxr-xr-x 1 root root 226575 2010-04-28 03:45 so.vm-display-X11
> -rwxr-xr-x 1 root root 3185155 2010-04-28 03:25 squeak
> -rwxr-xr-x 1 root root 68841 2010-04-28 03:25 SqueakFFIPrims
> -rwxr-xr-x 1 root root 86447 2010-04-28 03:25 VideoForLinuxPlugin
> -rwxr-xr-x 1 root root 90518 2010-04-28 03:25 vm-display-fbdev
> -rwxr-xr-x 1 root root 21917 2010-04-28 03:25 vm-display-null
> -rwxr-xr-x 1 root root 226575 2010-04-28 03:25 vm-display-X11
> -rwxr-xr-x 1 root root 14521 2010-04-28 03:25 vm-sound-null
> -rwxr-xr-x 1 root root 32739 2010-04-28 03:25 vm-sound-pulse
> (also, see how much less files my build producing).
> that is really pissing me off.. after spending 4 hours fighting with
> CMAKE, configs, compiler and other stuff and finally making the
> 'maker' happy and building a vm, i can't run it for no reason...
Double check that you are using platforms/unix/cmake/configure and *not*
the old platforms/unix/config/configure. It looks to me like you have
some sort of wierd mix of the two.
Also, run "platforms/unix/cmake/configure --help" for hints.
If you are tring to build from the saved sources in platforms/unix/src,
don't do that. The saved sources in platforms/unix/src will go obsolete
as soon as any significant change happens in the rest of the Subversion
sources, which is exactly what happened two days ago.
Load VMMaker and use it to generate your sources. Use the "--src=XXX"
flag to tell configure where you put the sources that you generated
p.s As long as you are loading VMMaker, you should also load SlangBrowser
from SqS/VMMaker so you can look at the generated C for your NativeBoost
plugin without leaving Squeak.
More information about the Vm-dev