Hello! Well it seems like you are facing a Python version mismatch and it has happened because the "sim.extra" which is a file inside your tinyos make directory which is usually at /opt/tinyos-2.x/support/make has a hard coded line which says "PYTHON_VERSION". Yuo gotta change that to 2.6 or whichever the python version yu use. After this change, try "make micaz sim" and do report if it solves your problem. I hope it does :)
talk2kish wrote: > > I tried the commands you mentioned but ended up at the same problem. > > mkdir -p simbuild/micaz > make: python2.5-config: Command not found > make: python2.5-config: Command not found > make: python2.5-config: Command not found > > any suggestions? > > > Sam Azzaro wrote: >> >> >> Hello,i had the same error,you must install python2.5-devif you are using >> TOSSIM with ubento, you just have to tape:> sudo apt-cache search >> python>sudo apt-get install python2.5-dev >> Regards Sam, >> Date: Thu, 20 May 2010 12:59:18 +0200 >> From: [email protected] >> To: [email protected] >> Subject: [Tinyos-help] cant run : make micaz sim >> >> hi people, >> when i type make micaz sim on the promt i get this error. >> my Python version ist : 2.6.5 >> >> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx >> -I/usr/include/python2.5 -I/opt/tinyos-2.x/tos/lib/tossim >> -DHAVE_CONFIG_H >> >> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:26:20: error: >> Python.h: No such file or directory >> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:296: >> error: ISO C++ forbids declaration of ‘PyObject’ with no type >> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:296: >> error: expected ‘;’ before ‘*’ token >> >> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:297: error: >> ‘PyObject’ has not been declared >> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:302: >> error: ‘PyObject_HEAD’ does not name a type >> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:306: >> error: expected initializer before ‘*’ token >> >> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:313: error: ‘FILE’ >> has not been declared >> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: >> In function ‘int swig_varlink_print(swig_varlinkobject*, int*, >> int)’: >> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:316: >> error: ‘fprintf’ was not declared in this scope >> >> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:317: error: ‘struct >> swig_varlinkobject’ has no member named ‘vars’ >> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: >> At global scope: >> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:325: >> error: expected initializer before ‘*’ token >> >> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3496: error: >> expected ‘}’ at end of input >> make: *** [sim-exe] Fehler 1 >> _________________________________________________________________ >> Votre messagerie et bien plus où que vous soyez. Passez à Windows Live >> Hotmail, c'est gratuit ! >> https://signup.live.com/signup.aspx?id=60969 >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > > -- View this message in context: http://old.nabble.com/cant-run-%3A-make-micaz-sim-tp28628756p30026886.html Sent from the TinyOS - Help mailing list archive at Nabble.com. _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
