Re: [Discuss-gnuradio] usrp_tv_rcv.py on Leopard

2008-04-28 Thread Michael Dickens
Casey - OK; you were right to not post that whole log the first time.   
Any one of the parts such as 2008-04-27 15:59:32.006  
Python[11995:717] *** _NSAutoreleaseNoPool(): Object 0x29c0400 of  
class NSCFData autoreleased with no pool in place - just leaking  
would have sufficed nicely.  Let's make this a lesson to others as  
well: Start out by including the minimum you reasonably can from a  
log, and working your way up if that wasn't enough info.  Sending the  
whole log will probably just piss folks off.


Anyway, here's addressing your log: usrp_tv_rcv uses video_sdl,  
which uses SDL, which is known to have issues running on OSX.  I've  
never been able to make it work on either 10.4 or 10.5, though maybe  
I'm just unlucky - YMMV.  When I (or you) try to use this, I get those  
_NSAutoreleaseNoPool errors also - so, again, I'd say this is normal  
for OSX ... unfortunately.  From my reading, this might be a Objective- 
C issue w/r.t. Apple's additions to GCC.  Wish I could say more; maybe  
others can? - MLD



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] usrp_tv_rcv.py on Leopard

2008-04-27 Thread Casey Tucker

Hello again,
I've almost successfully compiled gnuradio on leopard
on my new Intel MacBook, with the exception of make check fails both
before and after running make install. I've used the MacPorts versions
of just about every dependency except SDCC which I installed per the
instructions of mdickens. LibUSB seemed to be a problem for a  while; I
had to copy usb.h from /opt/local/include to a directory that the USRP
makefile was looking at -- didn't find it in the expected location for
some reason... but I can run the usrp_wfm_rcv.py without a problem.
I've attached the errors I get when running usrp_tv_rcv.py, and as for the make 
check errors, they are pasted directly:

FF
==
FAIL: test_001 (__main__.test_goertzel)
--
Traceback (most recent call last):
  File './qa_goertzel.py', line 52, in test_001
self.assertAlmostEqual(expected_result, actual_result, places=5)
AssertionError: 0.5 != 0.49998197625655755 within 5 places

==
FAIL: test_002 (__main__.test_goertzel)
--
Traceback (most recent call last):
  File './qa_goertzel.py', line 61, in test_002
self.assertAlmostEqual(expected_result, actual_result, places=5)
AssertionError: 0.0 != 8.6014477400182496e-06 within 5 places

--
Ran 2 tests in 0.018s

FAILED (failures=2)
.
_
Make i'm yours.  Create a custom banner to support your cause.
http://im.live.com/Messenger/IM/Contribute/Default.aspx?source=TXT_TAGHM_MSN_Make_IM_Yours___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] usrp_tv_rcv.py on Leopard

2008-04-27 Thread Michael Dickens
Casey - Those errors in 'gr_goertzel' are normal for running make  
check on Mac OS X 10.5.  I have no idea why the difference is between  
10.4 (where make check passes) and 10.5, except some small tweak in  
a library and / or the compiler.  IME, you can safely ignore that  
error, install GNU Radio, and use it.


As for usb.h, 'configure' uses pkg-config to check for that particular  
requirement.  You need to configure in your shell environment  
PKG_CONFIG_PATH to include /opt/local/lib/pkgconfig , then anything in  
stalled by MacPorts will be found.


There was no attached errors w/r.t. running usrp_tv_rcv.py; I or  
someone more knowledgeable can comment on those when we have them to  
review.


Good to know there are other OSX users out there ;) - MLD


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio