dewitters / MysticMine

MIT License
76 stars 23 forks source link

Compilation Fedora 20 #9

Closed Kedrigern closed 10 years ago

Kedrigern commented 10 years ago

Hello,

I try to compile and run but:

  1. $ make rm -f monorail/ai.c monorail/ai.so rm -rf monorail/data running build_ext pyrexc monorail/ai.pyx --> monorail/ai.c /home/keddie/src/MysticMine/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 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -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,-z,relro build/temp.linux-x86_64-2.7/monorail/ai.o -L/usr/lib64 -lpython2.7 -o /home/keddie/src/MysticMine/monorail/ai.so ln -s /home/keddie/src/MysticMine/data/800x600/ monorail/data
  2. $ ./MysticMine Error: ai module not present. Run 'make' first!

What I can do with this? It is clear for me that there is error in linking, but how can i fixed it?

My os: Fedora 20, Python 2.7.5, code actual master c7592a3af3095dd53b15f65b61b5ce81816fc34b

Kedrigern commented 10 years ago

I figured out what the problem is I had not instaled pygame lib.