|
From: | Zongyi LIU |
Subject: | [Discuss-gnuradio] Fwd: Install UCLA-gr-802.15.4 into E100 has error |
Date: | Wed, 6 Aug 2014 17:44:53 +0200 |
On Tue, Aug 5, 2014 at 11:51 AM, Zongyi LIU <address@hidden> wrote:
I searched on google, the solution is install python-dev, but E100 has python2.6 in facroty default.But, after "./configure". there is a fatal error in "make"----:"ucla.cc:149:20: fatal error: Python.h: No such file or directory"Beside, I modify the Makefile.common as follow to fix it://export C_INCLUDE_PATH"//"C_INCLUDE_PATH=/usr/include/python2.6When I was configuring it, UCLA-gr-ieee802.15.4 had some error. I modify the PATH as follow:Hello everyone:Recently, I want to install UCLA-gr-ieee802.15.4 module into my USRP E100.
//"# includes
//grincludedir = $(includedir)/gnuradio -I/usr/include/gnuradio
//# swig includes
//swigincludedir = $(grincludedir)/swig -I/usr/include/gnuradio/swig"
//
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
//
So, it really confuse me a lot.
Thank you in advance!
--Zongyi LIU
DoctorantInstitut de Recherche en Informatique de Toulouse (IRIT)
Université Paul Sabatier, 118 Route de Narbonne, F-31062 TOULOUSE CEDEX 9
Email : address@hiddenJust 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
[Prev in Thread] | Current Thread | [Next in Thread] |