[Vm-dev] Notes from compiling on ARM / Fedora 18 (OLPC XO-4)

Denis Kudriashov dionisiydk at gmail.com
Wed Nov 7 16:48:34 UTC 2012


Hello Bert.

Is prebuilt VM available somewhere?
For what ARM version you build VM? (I need ARMv7)
Is it interpreter VM or cog family?

Best regards,
Denis

2012/11/7 Bert Freudenberg <bert at freudenbergs.de>

>
> TL;DR:
>
> * please declare project language in CMakeLists.txt
> * please fix punctuation in "4.10.2-"
> * please enable/add ImmX11Plugin, OggPlugin, KedamaPlugin, KedamaPlugin2
> * please disable vm-display-custom and vm-sound-custom
>
> Thanks!
>
> =================
>
> Here's my build dependencies install line:
>
> yum install subversion make gcc cmake libX11-devel libXext-devel
> libXrender-devel libXi-devel pulseaudio-libs-devel alsa-lib-devel nas-devel
> libogg-devel libvorb-devel speex-devel libuuid-devel dbus-devel pango-devel
> gstreamer-devel mesa-libGL-devel libffi-devel
>
> =================
>
> This is building from subversion:
>
> [olpc at xo-93-20-bc bld]$ ../platforms/unix/cmake/configure
> cat: ../platforms/unix/svnversion: No such file or directory
> -- Configuring squeak 4.10.2- for armv7l-unknown-linux-gnu
> ...
> -- The C compiler identification is GNU 4.7.2
> -- The CXX compiler identification is unknown
> ...
> CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not
> found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
> ...
> -- Configuring incomplete, errors occurred!
>
>
> SOLUTION: declare Squeak as a C-only project in CMakeLists.txt:
>
>         PROJECT (squeak C)
>
> ==================
>
> Why is it installing in
>
>         /usr/local/lib/squeak/4.10.2-/
>
> instead of
>
>         /usr/local/lib/squeak/4.10-2/
>
> ?
>
> ===================
>
> Missing plugins:
>
> ImmX11Plugin (just missing from plugins.ext)
> OggPlugin (just missing from plugins.ext)
> KedamaPlugin (missing src)
> KedamaPlugin2 (missing src)
> npsqueak.so (no CMake file)
>
> Superfluous plugins (should be disabled from building):
>
> vm-display-custom
> vm-sound-custom
>
> ===================
>
> (after adding ImmX11Plugin to plugins.ext)
> CMake Error: CMake can not determine linker language for
> target:ImmX11Plugin
> CMake Error: Cannot determine link language for target "ImmX11Plugin".
>
> ... which means that there are no source files. Indeed there is no source
> file - I guess a VMMaker package was missing?
>
> ===================
>
> (after adding OggPlugin to plugins.ext)
> compiles just fine
>
> ===================
>
> Otherwise it works great! :)
>
> Disclaimer: I did not test all plugins yet.
>
> - Bert -
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20121107/499b5c4c/attachment.htm


More information about the Vm-dev mailing list