Milo_W
September 2, 2009, 9:07pm
#1
Hi all,
My block finally works! But still I got a question about installing:
I found the following scripts in Makefile.am (in the same directory with
.cc
.h .i files)
Install so that they end up available as:
import gnuradio.lpi
This ends up at:
${prefix}/lib/python${python_version}/site-packages/gnuradio
lpi_pythondir_category =
gnuradio
While I found all gnuradio core blocks were installed in dist-packages
on my
PC(different from site-packages above), so I was wondering I could
manually
set the route with following scripts to install:
lpi_pythondir_category =
/usr/lib/python2.6/dist-packages/gnuradio
Thanks in advance,
Milo
Milo_W
September 2, 2009, 9:12pm
#2
On Wed, Sep 2, 2009 at 11:53, Milo W.[email protected] wrote:
While I found all gnuradio core blocks were installed in dist-packages on my
PC(different from site-packages above)
Are you installing GNU Radio from binary packages? If so, you can run
your configure script as:
$ configure --prefix=/usr
Then after the build, the ‘sudo make install’ step will put your
blocks in the right place.
Johnathan
Milo_W
September 2, 2009, 11:02pm
#3
Hi Johnathan,
I solved it. What I mean is installing a new block I wrote by myself to
PYTHONPATH. Just “sudo make install” at top directory. Thank you
Milo
On Wed, Sep 2, 2009 at 11:57 AM, Johnathan C. <