|
From: | Josh Blum |
Subject: | Re: [Discuss-gnuradio] UHD Announcement - September 23rd 2010 |
Date: | Sat, 25 Sep 2010 12:32:36 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8 |
Fair enough, Eric. So do you suggest another approach that allows boostrap/configure/make to "just work", or simply more notes about this in the build instructions when you're using UHD?
The issue being that all the gnuradio dependencies are distribution installable (on linux) so you dont need to set special paths and environment variables. However, UHD is not ready to be handed out as rpms and debs (though it can be) so it may need special paths set to use on operating system <X>.
However, it looks like gnuradio wants to set your PKG_CONFIG_PATH to include the ${prefix}/lib${lib_suffix}/pkgconfig. So, if you happen to use the same prefix and lib_suffix as you built for UHD, gnuradio should be able to find the uhd.pc file without you needing to set PKG_CONFIG_PATH by hand.
The problem with this being, if --prefix is not set, gnuradio sets this to NONE/lib${lib_suffix}/pkgconfig which isnt going to work. Maybe ${ac_default_prefix} can be used when ${prefix} is set to NONE
-Josh
[Prev in Thread] | Current Thread | [Next in Thread] |