discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Building gnuradio on cygwin - wxPython issue


From: Jan Schiefer
Subject: Re: [Discuss-gnuradio] Building gnuradio on cygwin - wxPython issue
Date: Tue, 06 Jul 2010 00:18:05 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1

On 7/3/2010 6:13 AM, Don Ward wrote:
Jan Schiefer wrote:

I should know better, but I am nonetheless trying to build gnuradio on
Windows XP/cygwin.  I did follow the instructions on the wiki (including
picking the exact versions), but I am getting stuck on building wxPython.
When I try to do the
python setup.py install WXPORT=msw COMPILER=cygwin BUILD_GLCANVAS=0
BUILD_GIZMOS=0 UNICODE=0
step, I get the following error:

function
Traceback (most recent call last):
  File "setup.py", line 1034, in <module>
    **other_kw
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
...
  File "/usr/lib/python2.6/distutils/ccompiler.py", line 769, in
link_shared_object
    extra_preargs, extra_postargs, build_temp, target_lang)
File "/usr/lib/python2.6/distutils/cygwinccompiler.py", line 189, in link
    libraries.extend(self.dll_libraries)
TypeError: 'NoneType' object is not iterable

The offending line 189 is a rather nondescript
libraries.extend(self.dll_libraries)

Has anybody who is more pythonic than me seen this before? My cygwin
version is current as of last Wednesday, and the python version is 2.6.5
(no other python installations on the machine).

My latest test install of Cygwin and GNU Radio (May 2010) used python 2.5.5. You could try going back to that version. I will try to look at it over the weekend and see if I can make it work with 2.6.5.

While I try to keep GNU Radio running under Cygwin, every update to a Cygwin package or third-party library (such as wxPython) carries a significant risk of breakage. For "production" use of GNU Radio on Windows, I prefer to use MinGW and MSYS. The initial setup takes a little longer, but once you have a working system there is seldom a need to update anything but GNU Radio.

-- Don W.


Thanks Don, this is good advice, I have been hit by cygwin update-related breakages for other applications as well. I will try the MinGW/MSYS route instead and report back.

Jan




reply via email to

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