discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Re: gr-howto-write-a-block


From: William Sherman
Subject: [Discuss-gnuradio] Re: gr-howto-write-a-block
Date: Thu, 2 Apr 2009 22:19:09 +0200

I did not run make install before.

When I ran make install I get the following messages:

curve: [~/Masters/ren_static/gr-howto-ren-3.1.3] % make install
Making install in config
Making install in src
Making install in lib
make  install-am
test -z 
"/u/students/renyu/Masters/ren_static/gr-howto-write-a-block-3.1.3/include/gnuradio"
 
|| ../.././install-sh -c -d 
"/u/students/renyu/Masters/ren_static/gr-howto-write-a-block-3.1.3/include/gnuradio"
 /usr/bin/install -c -m 644 'howto_square_ff.h' 
'/u/students/renyu/Masters/ren_static/gr-howto-write-a-block-3.1.3/include/gnuradio/howto_square_ff.h'
 /usr/bin/install -c -m 644 'howto_square2_ff.h' 
'/u/students/renyu/Masters/ren_static/gr-howto-write-a-block-3.1.3/include/gnuradio/howto_square2_ff.h'
 /usr/bin/install -c -m 644 'howto_ren_bin_statistics_mean_f.h' 
'/u/students/renyu/Masters/ren_static/gr-howto-write-a-block-3.1.3/include/gnuradio/howto_ren_bin_statistics_mean_f.h'
test -z 
"/u/students/renyu/Masters/ren_static/gr-howto-write-a-block-3.1.3/lib/python2.5/site-packages/gnuradio"
 
|| ../.././install-sh -c -d 
"/u/students/renyu/Masters/ren_static/gr-howto-write-a-block-3.1.3/lib/python2.5/site-packages/gnuradio"
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c 
'_howto.la' 
'/u/students/renyu/Masters/ren_static/gr-howto-write-a-block-3.1.3/lib/python2.5/site-packages/gnuradio/_howto.la'
libtool: install: /usr/bin/install -c .libs/_howto.so 
/u/students/renyu/Masters/ren_static/gr-howto-write-a-block-3.1.3/lib/python2.5/site-packages/gnuradio/_howto.so
libtool: install: /usr/bin/install -c .libs/_howto.lai 
/u/students/renyu/Masters/ren_static/gr-howto-write-a-block-3.1.3/lib/python2.5/site-packages/gnuradio/_howto.la
libtool: install: warning: remember to run `libtool --finish 
/u/students/renyu/Masters/ren_static/gr-howto-write-a-block-3.1.3'
make: don't know how to make howto_square_ff.py. Stop

make: stopped in 
/am/state-opera/home1/renyu/Masters/ren_static/gr-howto-write-a-block-3.1.3/src/lib
*** Error code 2

make install begins to fail here,
/u/students/renyu/Masters/ren_static/gr-howto-write-a-block-3.1.3/lib/python2.5/site-packages/gnuradio/_howto.la
libtool: install: warning: remember to run `libtool --finish 
/u/students/renyu/Masters/ren_static/gr-howto-write-a-block-3.1.3'
make: don't know how to make howto_square_ff.py. Stop

I did not modify howto_square_ff so I am unsure why it is complaining 
that it can't make howto_square_ff.

This warning, "install: warning: remember to run `libtool --finish" is 
interesting. Googling this it appears to be related with where make 
tries to locate libraries / directory it makes the library to?

Does anyone know why the make install fails and I can't make a new 
block?

Martin Braun wrote:
> On Thu, Apr 02, 2009 at 04:55:39AM +0200, William Sherman wrote:
>> However when I run a test program with:
>> 
>> from gnuradio import howto
> 
> There's several places where this can go wrong, but my guess is you're
> trying to run the line above in one of your qa_* files through make
> check - right?
> 
> If so, change the line to 'import howto', as in the examples. the
> run_tests script will change all the path stuff for you.
> 
> Once make check passes, see what 'make install' tells you; all make
> processes are pretty verbose. It might be putting your module in the
> wrong position. To see if that worked, you have to use your 'from
> gnuradio ...' line above.
> 
> Hope this is what you were looking for...
> 
> MB

-- 
Posted via http://www.ruby-forum.com/.




reply via email to

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