Installing on Arch Linux

It isn't too hard to install gnuradio on Arch Linux. Install the dependencies using pacman:

$ sudo pacman -S fftw wxpython libusb guile swig cppunit boost portaudio sdl gputils alsa-utils

You'll want alsa-utils to pot up your soundcard's output.

Build and install sdcc

To install sdcc, download the attached PKGBUILD and run

$ makepkg

from the folder to which it was downloaded. Placing it into its own folder is recommended, as running makepkg creates some files. Once building is complete, you may need to install gputils if you haven't done so already. To install sdcc, run

$ sudo pacman -U sdcc-2.7.0-2-i686.pkg.tar.gz

Downgrade to GCC 4.2.3

It is worth mentioning that at the time of this writing, gnuradio does not build on GCC 4.3, so downgrading is necessary. Navigate to the Archlinux wiki and find a mirror that has gcc-4.2.3-1-i686.pkg.tar.gz. You may need to uninstall your current GCC by running

$ sudo pacman -R gcc

or

$ sudo pacman -Rd gcc

if you run into dependency problems. Now Install the older GCC with

$ sudo pacman -U gcc-4.2.3-1-i686.pkg.tar.gz

Build gnuradio

Now you can unpack and build gnuradio normally ala:

$ ./configure
$ make
$ make check
$ sudo make install.

(Don't forget to run ./bootstrap if building from subversion repository)

Add paths to your .bashrc

You'll need to have these environment variables set in order to run the examples, so you can put these in your ~/.bashrc

PYTHONPATH=/usr/local/lib/python2.5/site-packages
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

Attachments