on Leopard

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 without a problem.
I’ve attached the errors I get when running, and as for
the make check errors, they are pasted directly:


FAIL: test_001 (main.test_goertzel)

Traceback (most recent call last):
File ‘./’, 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 ‘./’, 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)

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; I or
someone more knowledgeable can comment on those when we have them to

Good to know there are other OSX users out there :wink: - MLD

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