Re: [Discuss-gnuradio] MacOS 10.7.3 - mmap or shm_open is not available

2012-04-09 Thread Tom Rondeau
On Mon, Apr 9, 2012 at 2:58 PM, Steven wrote: > > On 9 Apr 2012, at 17:41, Tom Rondeau wrote: > > > Steven, > > Try to rebuild GNU Radio using -DTRY_SHM_VMCIRCBUF=Off. > > After you rebuild it, make sure you remove > "~/.gnuradio/prefs/gr_vmcircbuf_default_factory" so you don't confuse > the syste

Re: [Discuss-gnuradio] MacOS 10.7.3 - mmap or shm_open is not available

2012-04-09 Thread Steven
On 9 Apr 2012, at 17:41, Tom Rondeau wrote: > > Steven, > > Try to rebuild GNU Radio using -DTRY_SHM_VMCIRCBUF=Off. > > After you rebuild it, make sure you remove > "~/.gnuradio/prefs/gr_vmcircbuf_default_factory" so you don't confuse > the system. > > We recently re-enabled this with cmake an

Re: [Discuss-gnuradio] MacOS 10.7.3 - mmap or shm_open is not available

2012-04-09 Thread Tom Rondeau
On Mon, Apr 9, 2012 at 8:13 AM, Michael Dickens wrote: > Hmmph.  Well, I bet Apple did something "clever" inside the Darwin kernel > that messed with shared memory in 10.7.3.  There's probably a work-around > too, but I have no idea what it might be right now since I'm still using > 10.6.8: it'

Re: [Discuss-gnuradio] MacOS 10.7.3 - mmap or shm_open is not available

2012-04-09 Thread Michael Dickens
Hmmph. Well, I bet Apple did something "clever" inside the Darwin kernel that messed with shared memory in 10.7.3. There's probably a work-around too, but I have no idea what it might be right now since I'm still using 10.6.8: it's stable and works well for what I need right now. I'll look in

Re: [Discuss-gnuradio] MacOS 10.7.3 - mmap or shm_open is not available

2012-04-09 Thread Steven
On 9 Apr 2012, at 01:16, Michael Dickens wrote: >> Does anyone have any pointers as to where I should be looking? > > > Hi Steven - First, the humor < http://xkcd.com/138/ >. > I was waiting for something like that :o) > Do "ipcs -a" to see how many shared memory attachments are in place.

Re: [Discuss-gnuradio] MacOS 10.7.3 - mmap or shm_open is not available

2012-04-08 Thread Michael Dickens
> Does anyone have any pointers as to where I should be looking? Hi Steven - First, the humor < http://xkcd.com/138/ >. Do "ipcs -a" to see how many shared memory attachments are in place. You might see a lot, given that 'shmat' returns 'too many files open'. Here's the BASH script I run, ve

[Discuss-gnuradio] MacOS 10.7.3 - mmap or shm_open is not available

2012-04-08 Thread Steven
I have managed to compile the latest git version on MacOS 10.7.3 by setting CC=gcc and CXX=g++. The issue now is that most of the tests fail, the first being gr-core-test-all. "gr-core-test-all" start time: Apr 08 17:00 BST Output: -- Testin