Install monkeycoder in Archlinux

Monkey Forums/Monkey Programming/Install monkeycoder in Archlinux

Luis(Posted 2014) [#1]
help manjaro/archlinux


dawlane(Posted 2014) [#2]
help manjaro/archlinux
You would get a better response by giving more details. Like the distributions architecture for a start.
If your new to Linux, then ArchLinux or it's derivatives are not the best choice if you want to do things quickly, even more so if it is a 64bit version. And any desktop software written on it, is not guaranteed to work across all Linux distributions. If you build against Debian 7 then the chance of it working without too much fuss is much higher.

First the Monkey archive is in zip format. This format does not preserve file permissions and the execute permission needs to be set for each binary of Monkey-X that is for use with Linux (the Monkey executable in the Monkey-X root directory, In the Monkey /bin directory makedocs_linux, mserver_linux, Ted and transcc_linux).
Most 32bit distributions have everything installed already for Monkey-X to work out of the box. You will have to ensure that you have the development libraries installed for libGLU, OpenAL and the gcc compiler suite (gcc/g++)..

The Monkey-X IDE on a 64bit distribution will not work out of the box. The same applies to most of the tools unless the 32bit version of libc6/libstdc++6 are installed. It's actually faster and less of a hassle to rebuild the IDE by installing QtCreator and rebuilding it as a 64bit binary, than to install the 32bit dependencies it requires.
The core tools should work once the 32bit libc6/libstdc++6 are installed, but the html5 mserver_linux that comes with Monkey was written using BlitzMax (that only produces 32bit executables) and requires the 32bit version of libxpm.so.4, which if I remember has to be download from the ArchLinux User Repository (AUR) and built from scratch. You will find information on installing these types of package from the ArchLinux web site.
mserver_linux also requires that the 32bit version of libGL.so.1 is installed. This is usually supplied by the graphic hardware driver package. If not then look for the 32bit version of the mesa GL library. You may need to create system link to the library once it is installed as not all distributions will have these binaries in the search path.
Again you will have to have the development libraries installed, and if I recall ArchLinux packages include these when you download the main package.
Using a 64bit distribution gives you the opportunity to build both 32bit and 64bit binaries with Monkey-X. All it takes is to make small changes to the makefile.


dawlane(Posted 2014) [#3]
Look here http://www.monkey-x.com/Community/posts.php?topic=7600&post=92955


Luis(Posted 2014) [#4]
64 bits
manjaro + xfce