First, I untarred the source in /root/, producing the directory
/root/uqm-0.7.0. Then, as per the directions in
/root/uqm-0.7.0/doc/users/unixinstall, I copied
/root/uqm-0.7.0/content/packages (having to create the packages subdirectory, as it didn't exist).
I've also installed a few dependencies, although I may not be able to remember all of them at this point. But certainly I've done
autoconf, while building/installing the low memory branch of Tremor myself for audio (I've also got
libvorbis installed, but the
uqm installer refuses to notice them).
When I run the build script's configuration, I get:
/root/uqm-0.7.0/build.sh uqm config 'echo -n' capable echo found. Sed stream editor found. tr found. Make found. GNU C compiler found. We have a C preprocessor. We have a C dependency generator. We have a C compiler. We have a linker. Little-endian machine detected. Simple DirectMedia Layer version 1.2.15 found. SDL_image found. Symbol 'readdir_r' found. Symbol 'setenv' found. Symbol 'strupr' not found. Symbol 'strcasecmp' found. Symbol 'stricmp' not found. Symbol 'iswgraph' found. Type 'wchar_t' found. Type 'wint_t' found. Symbol 'getopt_long' found. Header 'regex.h' found. Type '_Bool' found. Preprocessor macro 'WIN32' not found. Preprocessor macro '__MINGW32__' not found. OpenGL found. libmikmod found. tremor found. Platform-specific network libraries found. -= Main menu =- 1. Type of build Optimised release build 2. OpenGL graphics support Include OpenGL graphics support 3. Sound backend Use MixSDL for sound (internal) 4. Tracker music support System libmikmod 5. Ogg Vorbis codec Tremor (avoids floating point math) 6. Network Supermelee support IPv4 and IPv6 7. Joystick support enabled 8. Supported file i/o methods Only direct file i/o 9. Graphics/Sound optimizations Platform acceleration (asm, etc.) 10. Thread library SDL-controlled thread library 11. Installation paths [...]
Note that I've changed the default
1. Debug Build to
Optimized Release Build. When I
/root/uqm-0.7.0/build.sh uqm install, all goes well. But then when I try to run it (
/root/uqm-0.7.0/uqm), I get:
*** FATAL ERROR: Could not load basic content *** UQM requires at least the base content pack to run properly. This file is typically called uqm-0.7.0-content.uqm. UQM was expecting it in the /root/uqm-0.7.0/content/packages directory. Either your installation did not install the content pack at all, or it installed it in a different directory. Fix your installation and rerun UQM.
When I very clearly have:
ls -l /root/uqm-0.7.0/content/packages/ total 11272 -rwxr-xr-x 1 root root 11538533 Sep 12 01:47 uqm-0.7.0-content.uqm
(I've heard this problem could also occur if
zlib weren't installed, but I have
whereis zlib return
zlib: /usr/include/zlib.h /usr/share/man/man3/zlib.3.gz.)
So my question, after all that, is how do I get
uqm running on my Arch-based Raspberry Pi? It doesn't have to be by building from source, I just couldn't find any packages for it in the ARM repository. I know it's possible since it's available for i686 Arch and I've seen people getting it working under Raspbian, so there must be something I'm missing. Because as I'm only recently finding out, Star Control II was a masterpiece. Thanks.