MysticMine
MysticMine copied to clipboard
Linux: can't run or compile
Hi,
I can't run on Linux, even though make seems to run ok.
$ make rm -f monorail/ai.c monorail/ai.so rm -rf monorail/data running build_ext pyrexc monorail/ai.pyx --> monorail/ai.c /home/qubodup/MysticMine-master/monorail/ai.pyx:22:24: Warning: 'not None' will become the default in a future version of Pyrex. Use 'or None' to allow passing None. building 'monorail.ai' extension gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -I/usr/include/python2.7 -c monorail/ai.c -o build/temp.linux-x86_64-2.7/monorail/ai.o gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro build/temp.linux-x86_64-2.7/monorail/ai.o -L/usr/lib -lpython2.7 -o /home/qubodup/MysticMine-master/monorail/ai.so ln -s /home/qubodup/MysticMine-master/data/800x600/ monorail/data $ ./MysticMine Error: ai module not present. Run 'make' first!
I'm on ArchLinux. Perhaps this has something to do with the python2/python
=python3 chaos.
Hey, I had the same issue and worked around by installing python2-numarray and replacing line 4 of monorail/koon/gfx.py with from numarray import array Possibly related Also, dependencies may be missing so see the output of python2 -c "import monorail.ai" if that doesn't work.
@Joooo Thanks! That solves it for me. I can't determine whether this is because of an issue with Arch Linux though, so I'll leave closing to somebody else :)