discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Compiling on OSX 10.5


From: Jason Uher
Subject: [Discuss-gnuradio] Compiling on OSX 10.5
Date: Thu, 23 Jul 2009 13:03:04 -0500

Hi all,

I recently upgraded to osx 10.5 and am in the process of installing gnuradio.
I'm trying to follow
http://staff.washington.edu/jon/gr-osx/gr-osx.html with os x 10.5 and
today's gnuradio trunk.

I'm having some trouble, mostly because I'm not sure I fully
understand how this whole configure/pkg-config thing works.

The first problem I have is that macports installs libusb as
libusb-1.0; meaning that I get the following output from configure:

<snip>
checking for snprintf... (cached) yes
checking for USB... no
checking usb.h usability... no
checking usb.h presence... no
checking for usb.h... no
USRP requires libusb. usb.h not found. See http://libusb.sf.net
checking for library containing usb_bulk_write... no
USRP requires libusb. usb_bulk_write not found. See http://libusb.sf.net
Unable to find dependency libusb.
checking for sdcc... sdcc -mmcs51 --no-xinit-opt
checking for asx8051... asx8051 -plosgff
checking sdcc_version "2.9.0"... 2.9.0
configure: error: Component usrp has errors; stopping.

I can 'fool' configure by making a symbolic link from the
pkg_config_path/libusb-1.0.pc to pkg_config_path/libusb.pc

This allows configure to finish, but I assumed it would cause some
problems later on, and it did:

<snip>
usrp_basic.cc:34:17: error: usb.h: No such file or directory
<snip (more of the same)>
usrp_basic.cc:1367: error: ‘usb_strerror’ was not declared in this scope
make[5]: *** [usrp_basic.lo] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

There exist 'similar' files, like '(include_dir)/libusb-1.0/libusb.h'

Did I install the wrong thing? Do I need to make a bunch of symlinks?
Is macports broken?

Thanks
Jason

Thanks

Jason




reply via email to

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