Install the new block

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

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

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 :slight_smile:

Milo

On Wed, Sep 2, 2009 at 11:57 AM, Johnathan C. <

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs