[Buildroot] Globally disable PKG_CONFIG_PATH? [was: Re: Buildroot fails to build when selecting build packages]

Nigel Sollars nsollars at gmail.com
Sun Apr 29 20:28:03 UTC 2012


Hello,

Confirmed!

after exporting PKG_CONFIG_PATH= thus clearing the env var.  build went all
the way through.

Regards
Nige

On Sun, Apr 29, 2012 at 10:55 AM, Arnout Vandecappelle <arnout at mind.be>wrote:

> On 04/29/12 16:47, Nigel Sollars wrote:
>
>> Hello,
>>
>> Yes this one is set by the distro / profile.d scripts here is the
>> OUTPUT,  the distro I am using is slackware 13.37
>>
>> PKG_CONFIG_PATH=/usr/local/**lib/pkgconfig:/usr/lib/**pkgconfig
>>
>
>  Right!
>
>  Buildroot devels: should we globally unset PKG_CONFIG_PATH with an
>
> PKG_CONFIG_PATH =
> export PKG_CONFIG_PATH
>
> in the top-level Makefile?
>
>  Or should we add PKG_CONFIG_PATH="" to TARGET_CONFIGURE_OPTS?
>
>  The former has the advantage that it also works for packages that don't
> use TARGET_CONFIGURE_OPTS.  But I'm not sure if maybe we _want_ host
> packages to use the system's PKG_CONFIG_PATH...
>
>
>  Nigel, for now just unset PKG_CONFIG_PATH in your environment before
> calling make.  You don't have to rebuild from scratch, you can just run
> 'PKG_CONFIG_PATH="" make libglib2-reconfigure'.
>
>
>  Regards,
>  Arnout
>
> --
> Arnout Vandecappelle                               arnout at mind be
> Senior Embedded Software Architect                 +32-16-286540
> Essensium/Mind                                     http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR
> Leuven
> LinkedIn profile: http://www.linkedin.com/in/**arnoutvandecappelle<http://www.linkedin.com/in/arnoutvandecappelle>
> GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
>



-- 
“Science is a differential equation. Religion is a boundary condition.”

Alan Turing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120429/22b80919/attachment.html>


More information about the buildroot mailing list