John, you must certain that you have the file Python.h. Check if you have installed python-dev package and also check if your PYTHONPATH is setting correctly as showed below
PYTHONPATH =.:$TOSROOT/support/sdk/python:$PYTHONPATH Rafael de Oliveira Costa, D.Sc. Student PPGI - UFRJ Rio de Janeiro, RJ, Brazil http://www.labnet.nce.ufrj.br "Enquanto permanecerem lutando por alguma coisa, os homens estarĂ£o sempre cometendo erros", Goethe On Mon, Oct 8, 2012 at 6:37 PM, John K. Russ <[email protected]> wrote: > Here is the error I get: > > ++ -c -shared -fPIC -o simbuild/micaz/pytossim.o -g -O0 > -DIDENT_APPNAME=\"BlinkTaskAppC\" -DIDENT_USERNAME=\"ubuntu\" > -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0xf67b89f7L > -DIDENT_TIMESTAMP=0x50733b88L -DIDENT_UIDHASH=0x8e29bfbaL > /opt/tinyos-2.1.2/tos/lib/tossim/tossim_wrap.cxx -I/include/python2.7 > -I/opt/tinyos-2.1.2/tos/lib/tossim -DHAVE_CONFIG_H > /opt/tinyos-2.1.2/tos/lib/tossim/tossim_wrap.cxx:139:20: fatal error: > Python.h: No such file or directory > compilation terminated. > make[1]: *** [sim-exe] Error 1 > make[1]: Leaving directory `/opt/tinyos-2.1.2/apps/tutorials/BlinkTask' > > Any help would be appreciated!!!! > > -- > John Kenneth Russ > College of Liberal Arts & Sciences COMPUTING > Wayne State University > [email protected] > (313)-577-0274 > > "If you can control a man's thinking you do not have to worry about his > action. When you determine what a man shall think you do not have to > concern yourself about what he will do. If you make a man feel that he is > inferior, you do not have to compel him to accept an inferior status, for > he will seek it himself. If you make a man think that he is justly an > outcast, you do not have to order him to the back door. He will go without > being told; and if there is no back door, his very nature will demand one." > -- Carter G. Woodson > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
