Re: ReG - Building GNU Radio

I have the just similar problem: wxPython and gnuradio
A bit more experiements show that:

  1. “import wx” will terminate python without any error message;
  2. “import gnuradio.gr”, or any other modules in gnuradio, will result
    in segmentation fault.
    I don’t have any idea about the cause yet.
    Helps…

What version of Windows are you running? (I seem to recall
a website somewhere suggesting that SP2 may be needed for
the wxPython build to work correctly; I’ll see if I can find
it.) The “import gnuradio.gr” problem may be easier to work
on.

Please let us know what you find out on this.

Thanks,

– Don W.

I am using win2kpro+sp4. maybe that’s the problem.
I will try to build on winxp and see…

I had the same problem on Ubuntu (Segmantation fault). I found that I
have to do “make” 12 times, each time it generates another fault. But
after these 12 times make, Gnu Radio works…


De : [email protected]ain.invalid
[mailto:[email protected]ain.invalid] De
la part de Kyle Z.
Envoyé : lundi, 16. octobre 2006 08:05
Ã? : [email protected]
Objet : Re: [Discuss-gnuradio] ReG - Building GNU Radio

I have the just similar problem: wxPython and gnuradio

A bit more experiements show that:

  1. “import wx” will terminate python without any error message;

  2. “import gnuradio.gr”, or any other modules in gnuradio, will result
    in segmentation fault.

I don’t have any idea about the cause yet.

Helps…

I’m glad you have the option of building on XP. Please let us know how
it goes, whether it works or not.

I was mistaken about wxPython needing XP/SP2. The problem was with
libusb and the USRP (http://www.comsec.com/wiki?UsrpMinGW).

----- Original Message -----
From: Kyle Z.
To: Don W.
Cc: [email protected]
Sent: Monday, October 16, 2006 10:06 AM
Subject: Re: [Discuss-gnuradio] ReG - Building GNU Radio

I am using win2kpro+sp4. maybe that’s the problem.
I will try to build on winxp and see…

On 10/16/06, Don W. [email protected] wrote:
What version of Windows are you running? (I seem to recall
a website somewhere suggesting that SP2 may be needed for
the wxPython build to work correctly; I’ll see if I can find
it.) The “import gnuradio.gr” problem may be easier to work
on.

De Lima Julian wrote:

I had the same problem on Ubuntu (Segmantation fault). I found that I
have to do ?make? 12 times, each time it generates another fault. But
after these 12 times make, Gnu Radio works?

I’d recommend you run the ‘memcheck86’ boot time option to test the RAM
in your machine. GNU Radio is fairly harsh in compile time memory
requirements and can uncover problems that might have never been seen
before. These usually manifest as random segmentation faults.

Not saying that that is definitely going on here, but it sure looks like
it. Ubuntu has pre-packaged memcheck86 into the startup OS options so
this should be easy for you to try.

Johnathan C., AE6HO
[email protected]

Hi, I’ve finally got the minimal gnuradio working.
The problem may be the outdated cygwin system.
The mirror I was using for cygwin setup is for some reason not up to
date. So even though I did a ‘current’ installation, many of modules
were outdated.
Today, I changed to another mirror site and updated my Cygwin system.
After that, both wxPython and gnuradio (min) work well without being
rebuilt!
I don’t figure out which module/modules cause that problem.
Probably it is python! Before the update, the python version was 2.4.1-1
( cannot remeber exactly )
Anyway below is the current versions I am using now:


cygwin 1.5.21-2
autoconf 3.3-1
automake1.9 1.9.6-1
binutils 20060817-1
boost-devel 1.33.1-2
gcc-core 3.4.4-1
gcc-g++ 3.4.4-1
libtool1.5 1.5.22-1
make 3.81-1
Numeric 24.2-1
patch 2.5.8-8
pkg-config 0.20-1
python 2.4.3-1
subversion 1.3.2-1
swig 1.3.29-2


Hope this helps
Kyle

----- Original Message -----
From: Don W.
To: Kyle Z.
Cc: [email protected]
Sent: Tuesday, October 17, 2006 2:24 AM
Subject: Re: [Discuss-gnuradio] ReG - Building GNU Radio

I’m glad you have the option of building on XP. Please let us know
how it goes, whether it works or not.

I was mistaken about wxPython needing XP/SP2. The problem was with
libusb and the USRP (http://www.comsec.com/wiki?UsrpMinGW).

----- Original Message -----
From: Kyle Z.
To: Don W.
Cc: [email protected]
Sent: Monday, October 16, 2006 10:06 AM
Subject: Re: [Discuss-gnuradio] ReG - Building GNU Radio


I am using win2kpro+sp4. maybe that's the problem.
I will try to build on winxp and see...


On 10/16/06, Don W. <[email protected]> wrote:
  What version of Windows are you running?  (I seem to recall
  a website somewhere suggesting that SP2 may be needed for
  the wxPython build to work correctly; I'll see if I can find
  it.)  The "import gnuradio.gr" problem may be easier to work
  on.

On Mon, Oct 16, 2006 at 04:36:51PM +0200, De Lima Julian wrote:

I had the same problem on Ubuntu (Segmantation fault). I found that
I have to do “make” 12 times, each time it generates another
fault. But after these 12 times make, Gnu Radio works…

It would be helpful if you could be more precise than just
“Segmentation Fault”. If so, what program is seg faulting? Is it
g++?, or some test code, or what?

Looking at the output of make will tell you which program was running
last.

If you have a small amount of RAM and/or limited swap space, some
versions of g++ has been know to segfault while attempting to compile
gnuradio_swig_python.cc. On my machine, g++ grows to about 650MB
while compiling it. (We will be breaking this file into smaller
chunks in the future. See ticket:69)

Eric

Hi Kyle,

Hi, I’ve finally got the minimal gnuradio working.

That’s great!

The problem may be the outdated cygwin system.
The mirror I was using for cygwin setup is for some reason not up to date.
So even though > I did a ‘current’ installation, many of modules were
outdated.
Today, I changed to another mirror site and updated my Cygwin system.
After that, both wxPython and gnuradio (min) work well without being
rebuilt!

That’s really helpful information. Can you tell me which mirror you
were
using before and
which one gave the good results? (I know that mirror.mcs.anl.gov works
for
me.)

Thanks,

– Don W.

Hi Don,
The mirror I was using is *.aarnet.edu.au ( cannot recall exactly )
since I
am located in Australia.
But I just found this mirror has been removed from the cygwin mirror
list.
However, my local pc must have a cache to memorize that mirror. That’s
why I
got outdated cygwin packages.
Now I am using ftp://ftp.planetmirror.com, which is also in Australia
and up
to date.

BTW, now I have the full gnuradio installed and checked without error.
Both
on win2kpro+sp4 and on winxp home + sp2.

Hope you also have your gr working now or soon.

Cheers

Kyle

----- Original Message -----
From: “Don W.” [email protected]
To: “Kyle Z.” [email protected]; [email protected]
Sent: Tuesday, October 17, 2006 11:14 PM
Subject: Re: [Discuss-gnuradio] ReG - Building GNU Radio

Hi Kyle,

Hi, I’ve finally got the minimal gnuradio working.

That’s great!

The problem may be the outdated cygwin system.
The mirror I was using for cygwin setup is for some reason not up to
date.

So even though > I did a ‘current’ installation, many of modules were
outdated.
Today, I changed to another mirror site and updated my Cygwin system.
After that, both wxPython and gnuradio (min) work well without being
rebuilt!

That’s really helpful information. Can you tell me which mirror you were
using before and
which one gave the good results? (I know that mirror.mcs.anl.gov works
for

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs