discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Install UCLA-gr-802.15.4 into E100 has error


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Install UCLA-gr-802.15.4 into E100 has error
Date: Tue, 5 Aug 2014 12:07:17 -0400

On Tue, Aug 5, 2014 at 11:51 AM, Zongyi LIU <address@hidden> 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"
//
address@hidden:~/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 : address@hidden

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]