---------- Forwarded message ---------- From: Zongyi LIU <[email protected]> Date: 2014-08-06 16:52 GMT+02:00 Subject: Re: [Discuss-gnuradio] Install UCLA-gr-802.15.4 into E100 has error To: Tom Rondeau <[email protected]>
Hi, Tom: Thanks for your reply. Yes, your caution is reasonable, UCLA-802.15.4 has been developed about 8 years. Recently I read a paper, this code has been transplanted on E100, So I want to have a try.. The development package for python you mentioned is python-dev? But, it has already the package in embedded system of E100. // root@usrp-e1xx:~# opkg install python-dev Package python-dev (2.6.6-ml12.4.9) installed in root is up to date. Best Zongyi 2014-08-05 18:07 GMT+02:00 Tom Rondeau <[email protected]>: On Tue, Aug 5, 2014 at 11:51 AM, Zongyi LIU <[email protected]> wrote: > >> Hello everyone: >> >> Recently, I want to install UCLA-gr-ieee802.15.4 module into my USRP E100. >> >> When I was configuring it, UCLA-gr-ieee802.15.4 had some error. I modify >> the PATH as follow: >> //"C_INCLUDE_PATH=/usr/include/python2.6 >> //export C_INCLUDE_PATH" >> Beside, I modify the Makefile.common as follow to fix it: >> //"# includes >> //grincludedir = $(includedir)/gnuradio -I/usr/include/gnuradio >> //# swig includes >> //swigincludedir = $(grincludedir)/swig -I/usr/include/gnuradio/swig" >> >> But, after "./configure". there is a fatal error in >> "make"----:*"ucla.cc:149:20: >> fatal error: Python.h: No such file or directory"* >> // >> root@usrp-e1xx:~/UCLA-gr-ieee802-15-4/gr-ieee802-15-4# make >> make all-recursive >> make[1]: Entering directory >> `/home/root/UCLA-gr-ieee802-15-4/gr-ieee802-15-4' >> Making all in config >> make[2]: Entering directory >> `/home/root/UCLA-gr-ieee802-15-4/gr-ieee802-15-4/config' >> make[2]: Nothing to be done for `all'. >> make[2]: Leaving directory >> `/home/root/UCLA-gr-ieee802-15-4/gr-ieee802-15-4/config' >> Making all in src >> make[2]: Entering directory >> `/home/root/UCLA-gr-ieee802-15-4/gr-ieee802-15-4/src' >> Making all in lib >> make[3]: Entering directory >> `/home/root/UCLA-gr-ieee802-15-4/gr-ieee802-15-4/src/lib' >> make all-am >> make[4]: Entering directory >> `/home/root/UCLA-gr-ieee802-15-4/gr-ieee802-15-4/src/lib' >> /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H >> -I. -I../.. -I/usr/include/gnuradio -I/usr/include/python2.6 -g -O2 >> -Wall -Woverloaded-virtual -pthread -MT ucla.lo -MD -MP -MF .deps/ucla.Tpo >> -c -o ucla.lo ucla.cc >> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. >> -I/usr/include/gnuradio "-I/usr/include/python2.6" -g -O2 -Wall >> -Woverloaded-virtual -pthread -MT ucla.lo -MD -MP -MF .deps/ucla.Tpo -c >> ucla.cc -fPIC -DPIC -o .libs/ucla.o >> *ucla.cc:149:20: fatal error: Python.h: No such file or directory* >> compilation terminated. >> make[4]: *** [ucla.lo] Error 1 >> make[4]: Leaving directory >> `/home/root/UCLA-gr-ieee802-15-4/gr-ieee802-15-4/src/lib' >> make[3]: *** [all] Error 2 >> make[3]: Leaving directory >> `/home/root/UCLA-gr-ieee802-15-4/gr-ieee802-15-4/src/lib' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory >> `/home/root/UCLA-gr-ieee802-15-4/gr-ieee802-15-4/src' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory >> `/home/root/UCLA-gr-ieee802-15-4/gr-ieee802-15-4' >> make: *** [all] Error 2 >> // >> I searched on google, the solution is install python-dev, but E100 has >> python2.6 in facroty default. >> So, it really confuse me a lot. >> Thank you in advance! >> >> -- >> Zongyi LIU >> Doctorant >> Institut de Recherche en Informatique de Toulouse (IRIT) >> Université Paul Sabatier, 118 Route de Narbonne, F-31062 TOULOUSE CEDEX 9 >> Email : [email protected] >> > > Just a word of caution: this is a very old project and not likely to work > with the latest GNU Radio code. > > You're problem is indeed that you don't have the development package for > Python installed. You have the normal, runtime package, but this doesn't > include the development header files. > > Tom > > -- Zongyi LIU Doctorant Institut de Recherche en Informatique de Toulouse (IRIT) Université Paul Sabatier, 118 Route de Narbonne, F-31062 TOULOUSE CEDEX 9 Email : [email protected] -- Zongyi LIU Doctorant Institut de Recherche en Informatique de Toulouse (IRIT) Université Paul Sabatier, 118 Route de Narbonne, F-31062 TOULOUSE CEDEX 9 Email : [email protected]
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
