|
From: | Josh Blum |
Subject: | Re: [Discuss-gnuradio] UHD Announcement - September 23rd 2010 |
Date: | Sat, 25 Sep 2010 10:24:18 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8 |
http://www.mail-archive.com/address@hidden/msg15772.html The following code with yeild a PKG_CONFIG_PATH of NONE/lib/pkgconfig
dnl add ${prefix}/lib${gr_libdir_suffix}/pkgconfig to the head of the PKG_CONFIG_PATH if test x${PKG_CONFIG_PATH} = x; then PKG_CONFIG_PATH=${prefix}/lib${gr_libdir_suffix}/pkgconfig else PKG_CONFIG_PATH=${prefix}/lib${gr_libdir_suffix}/pkgconfig:${PKG_CONFIG_PATH} fi export PKG_CONFIG_PATH
if may be more appropriate to do the following somewhere at the top of configure.ac
if test "${prefix}" = "NONE"; then prefix=${ac_default_prefix} fi gr_standalone.m4 and configure.ac both seem to have this issue -Josh On 09/25/2010 09:32 AM, Marcus D. Leech wrote:
The problem being that /usr/local/lib/pkgconfig isnt honoring the users prefix and possibly libdir. Perhaps we can still make this right... Does this patch work for you? -JoshStill no worky. Must set PKG_CONFIG_PATH manually. I confirmed that the patch had been applied to the .m4, then did a "make distclean" then a "./bootstrap", then a "./configure". The configure fails to find UHD unless I explicitly set PKG_CONFIG_PATH.
[Prev in Thread] | Current Thread | [Next in Thread] |