Install UCLA-gr-802.15.4 into E100 has error

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!

On Tue, Aug 5, 2014 at 11:51 AM, Zongyi LIU [email protected] wrote:

//grincludedir = $(includedir)/gnuradio -I/usr/include/gnuradio
Making all in config
`/home/root/UCLA-gr-ieee802-15-4/gr-ieee802-15-4/src/lib’
ucla.cc:149:20: fatal error: Python.h: No such file or directory
make[1]: *** [all-recursive] Error 1
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

You could give this a try

Best,
Bastian

On 05 Aug 2014, at 18:07, Tom R. [email protected] wrote:

//grincludedir = $(includedir)/gnuradio -I/usr/include/gnuradio
make[2]: Nothing to be done for `all’.
compilation terminated.
I searched on google, the solution is install python-dev, but E100 has python2.6
in facroty default.
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


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page


Dipl.-Inform. Bastian B.
Distributed Embedded Systems Group
University of Paderborn, Germany