python - Does anyone know how to compile Megahal on Ubuntu? -


i have been trying compile megahal few hours , dont seem getting anywhere. has had success this? http://megahal.alioth.debian.org/

i keep getting error says :

inlined ‘load_personality.constprop’ @ megahal.c:3283:8, inlined ‘change_personality.constprop’ @ megahal.c:3332:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:293:2: warning: call      ‘__fread_chk_warn’ declared attribute warning: fread called bigger size * nmemb length of destination buffer return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream);  ^ cc1: warnings being treated errors error: command 'x86_64-linux-gnu-gcc' failed exit status 1 makefile:44: recipe target 'pythonmodule' failed make: *** [pythonmodule] error 1 

i have installed python via sudo apt-get , have been on every thread talks "'x86_64-linux-gnu-gcc' have found no solution

you getting these errors because don't have python development headers installed. can install using following command

sudo apt-get install python-dev ( python 2.x )

sudo apt-get install python3-dev ( python 3 )


Comments