The aim of this report is to share the experience of installing GNU
Operating system: Microsoft Windows XP Professional , Version 2002,
Operator level: Used to be very proficient some 10 years ago, now forgot
detail of syntax (and purpose) of a million of programming languages,
scripts, shells, packages, and variations. Loves programming (EE
background), but often lacks motivation and time to go through either
or endless pages of manuals.
*** MinGW/MSYS ***
Started of with Cygwin, installed OK. Downloaded FFTW. Had lots of
in Cygwin trying to use tar. Something probably wrong with paths.
would be quicker to try MinGW/MSYS, as it seemed more user friendly.
Excellent decision - loved it. Everything seemed to just flow.
Used WinZip for zip files, tar for all else. Had to sometimes change
.tar.tar to .tar.gz manually.
Started downloading everything to c:\mingw. After installing MinSYS,
realised that all new things should go straight to its own directory
structure (ie mingw is only used my minsys - not sure if I got this
Was able to find all versions listed for mingw/minsys on SourceForge.
Did not worry about anything listed under “NOTE:”.
Since installed MSYS first, edited /etc/fstab, as suggested.
*** Python ***
Was able to find all Python files listed, files installed without
Found DLL files OK.
*** SWIG ***
As per instructions. Left it in c:.
*** FFTW ***
As per instructions.
*** CppUnit ***
As per instructions. Had to create “src” under /usr. Was confused
should have been there already. In the end, creating was OK.
** PATH ***
Modified as directed. Did not bother with any scripts.
*** BOOST ***
As per instructions. Did not bother checking mounting.
*** PKGCONFIG ***
Took me forever to find these files. In the end realised should go to
http://ftp.gnome.org/pub/gnome/binaries/win32/ (a link from the main
was not initially clear which package does what and how they were
connected). Then found all files under “glib/” and “dependencies/”
on the FTP site. Then did as directed.
*** SDCC ***
Did as directed, also changed path.
*** SDL ***
Did as directed, copied the file. Realised the file copied was older
the file overwritten.
*** USB ***
Did as directed.
*** PortAudio ***
Did as directed. Encountered errors mentioned.
*** GNU Radio ***
Used version 3.0.4 (from memory could not find the mentioned one). Did
comment out anything. On first run of ./configure, encountered a problem
with swig. It said it could not find it, and it required version >=
Played around with the location of my swigwin directory for about a half
hour, but could not get ./configure to work. In the end decided to
…23… version. Did the same as above, and got it to work.
I think there is a problem in the ./configure script. It could be
the swig naming system. Version …23… uses “SWIG”, while version
uses small-letters “swigwin” in the directory name.
On the next run, ./configure stopped at PKGCONFIG & FFTW.
Played around with the PATH variable in /usr/etc, also realised forgot
make install FFTW. Did that for FFTW, repeated the process from above
PKGCONFIG, and then it somehow worked.
Finally, got an error message (a Windows-like window now), saying it
not find SDL.dll (only OK button available). Went back and tried out
different things, like putting SDL.dll in different places, playing
with PATH, but nothing worked. When you click OK on the error message,
Decided to skip USRP for now.
Got the message shown, minus lines relating to usrp (which is OK). Did
end up having gr-video-sdl installed, which I will have to look into
Did not comment out anything (not sure how this related to
From memory, had an error message, but ignored it.
*** CONCLUSION ***
Connected speakers, and got the dial_tone.py working!!
Decided to write up the above for reference, as details are already
(happened only 5 days ago). If more details are required, please
Out of all the files listed, with the exception of gnuradio-3.0.4, could
find the exact versions in all but perhaps 2 cases. Went to a higher
version, and it worked fine.
Probably ended up having too many directories in PATH.