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]
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to