discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Install old version of gnuradio


From: Ellen Apolinar
Subject: Re: [Discuss-gnuradio] Install old version of gnuradio
Date: Fri, 11 May 2012 09:36:01 +0200

Hey Loic,

when you install GNU Radio be sure that you made Prerequirements.

I did
apt-get -y install libfontconfig1-dev libxrender-dev libpulse-dev swig g++ automake autoconf python-dev libfftw3-dev libcppunit-dev libboost-all-dev libusb-dev fort77 sdcc sdcc-libraries libsdl1.2-dev python-wxgtk2.8 git-core guile-1.8-dev libqt4-dev python-numpy ccache python-opengl libgsl0-dev python-cheetah python-lxml doxygen qt4-dev-tools libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools python-qwt5-qt4
 
before I installed GNU Radio. You have to know which of them you need for your installation so there are no errors.

I installed GNU Radio for USRP1 with this:

./configure --disable-all-components --enable-usrp –enable-gruel
make all
make
make check
make install
ldconfig

and all works without errors. (But I have an error if I want to start usrp_fft.py since
I installed GR3.5, deleted it and installed GR3.3. But this is my mistake and not an issue
from GNU Radio or Python.)

The Version from GNU Radio is important if you want to work with the USRP1
because since GR3.5 they stopped the support for it. But I think if you have to use
UHD you won't work with the USRP1 (because with it UHD isn't needed) so you can
choose a newer version from GR and if you are ubuntu user you could use
the building-script [1] which is very easy to install (including UHD, GRC and all what
you need).
Really, I can recommend GR3.5 and using the building script if you don't need an older version.
As I installed it there were no problems and as I started GRC it worked fine.

Remember: If you want to use GNU Radio with UHD you have to install UHD first.

I'm also new with GNU Radio so I don't know your error message but it shows that
you have an error with Python. Are you working with Ubuntu? Which version do
you use? And can you see which version you have from Python?

Regards
Ellen


[1] http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGR#Using-the-build-gnuradio-script



2012/5/10 Loic Danceg <address@hidden>
>
> I try but i have these erros when i use the command make :
>
> python/uhd_swig.cc:14754:3: error: ‘stream_args_t’ was not declared in this scope
> python/uhd_swig.cc:14754:18: error: ‘arg2’ was not declared in this scope
> python/uhd_swig.cc:14764:3: error: ‘rx_streamer’ has not been declared
> python/uhd_swig.cc:14764:21: error: expected ‘;’ before ‘result’
> python/uhd_swig.cc:14779:28: error: expected type-specifier before ‘stream_args_t’
> python/uhd_swig.cc:14779:28: error: expected ‘>’ before ‘stream_args_t’
> python/uhd_swig.cc:14779:28: error: expected ‘(’ before ‘stream_args_t’
> python/uhd_swig.cc:14779:44: error: expected primary-_expression_ before ‘>’ token
> python/uhd_swig.cc:14779:52: error: expected ‘)’ before ‘;’ token
> python/uhd_swig.cc:14782:7: error: ‘result’ was not declared in this scope
> python/uhd_swig.cc:14782:53: error: expected ‘)’ before ‘const’
> python/uhd_swig.cc:14782:67: error: expected ‘)’ before ‘;’ token
> python/uhd_swig.cc:14792:15: error: expected type-specifier before ‘rx_streamer’
> python/uhd_swig.cc:14792:15: error: expected ‘)’ before ‘rx_streamer’
> python/uhd_swig.cc:14792:161: error: expected ‘)’ before ‘;’ token
> python/uhd_swig.cc: In function ‘PyObject* _wrap_device_get_tx_stream(PyObject*, PyObject*, PyObject*)’:
> python/uhd_swig.cc:14802:3: error: ‘stream_args_t’ was not declared in this scope
> python/uhd_swig.cc:14802:18: error: ‘arg2’ was not declared in this scope
> python/uhd_swig.cc:14812:3: error: ‘tx_streamer’ has not been declared
> python/uhd_swig.cc:14812:21: error: expected ‘;’ before ‘result’
> python/uhd_swig.cc:14827:28: error: expected type-specifier before ‘stream_args_t’
> python/uhd_swig.cc:14827:28: error: expected ‘>’ before ‘stream_args_t’
> python/uhd_swig.cc:14827:28: error: expected ‘(’ before ‘stream_args_t’
> python/uhd_swig.cc:14827:44: error: expected primary-_expression_ before ‘>’ token
> python/uhd_swig.cc:14827:52: error: expected ‘)’ before ‘;’ token
> python/uhd_swig.cc:14830:7: error: ‘result’ was not declared in this scope
> python/uhd_swig.cc:14830:53: error: expected ‘)’ before ‘const’
> python/uhd_swig.cc:14830:67: error: expected ‘)’ before ‘;’ token
> python/uhd_swig.cc:14840:15: error: expected type-specifier before ‘tx_streamer’
> python/uhd_swig.cc:14840:15: error: expected ‘)’ before ‘tx_streamer’
> python/uhd_swig.cc:14840:161: error: expected ‘)’ before ‘;’ token
> make[5]: ** [_uhd_swig_la-uhd_swig.lo] Erro 1
> make[5]: Saindo do diretório `/home/sdr/gnuradio-3.4.0/gr-uhd/swig'
>
> And these errors with the command ./bootstrap
> chmod: impossível acessar "volk_register.py": Arquivo ou diretório não encontrado
> aclocal: `configure.ac' or `configure.in' is required
> autoconf: error: no input file
> autoheader: `configure.ac' or `configure.in' is required
> automake: `configure.ac' or `configure.in' is required
>
> Someone know why?
>
> Thank you :-)
>
>
>
>
> 2012/5/10 Loic Danceg <address@hidden>
>>
>> Hi Ellen,
>>
>> Thank you for your faster answer!
>> I just need to do that? So in my directory i need use the command:
>>
>> ./bootstrap
>> ./configure
>> make -j5
>> make install
>>
>> And all will works?
>>
>> Btw if i need to use UHD, can i use the last version of UHD with the version GNURadio3.3 and 3.4?
>>
>> Again thank you for your time!
>>
>> Loic
>>
>>
>> 2012/5/10 Ellen Apolinar <address@hidden>
>>>
>>> Hey Loic,
>>>
>>> yes, you can download an old release here: http://gnuradio.org/releases/gnuradio/
>>>
>>> I installed 3.3.0. My steps:
>>> - I saved the file in my download directory.
>>> - extracted it with file-roller in my chosen directory (e.g. /etc/)
>>> - build it, install it and run it. ;)
>>>
>>> have a nice day.
>>>
>>> Regards
>>> Ellen
>>>
>>>
>>> 2012/5/10 Loic Danceg <address@hidden>
>>>>
>>>> Hi everybody,
>>>>
>>>> Is it possible to install an old version of GNURadio? Like version 3.3 or 3.4?
>>>> If yes, how is possible?
>>>> Because apt-get install and the automatic script install the version.
>>>>
>>>> Thank you a lot!
>>>>
>>>> Loic.
>>>>
>>>> _______________________________________________
>>>> Discuss-gnuradio mailing list
>>>> address@hidden
>>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>>
>>>
>>
>

reply via email to

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