On Sat, Sep 25, 2010 at 12:32:36PM -0700, Josh Blum wrote: > > >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
That would probably be better than what we've got. Independent of the use case you brought up, there's a couple of other places we run afoul the same issue (prefix == NONE). IIRC it gets baked into some C/C++ strings somewhere too. Eric _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio