Subject: Re: .tools/bin/pkg-config wrapper
To: None <segv@netctl.net>
From: None <segv@netctl.net>
List: tech-pkg
Date: 03/10/2006 15:08:19
On Fri, 10 Mar 2006 14:13:23 +0000
segv@netctl.net wrote:

> Hi, I'm trying to build wip/bmpx package. The configure script invokes
> 'pkg-config' toolchain wrapper, which returns error when it tries to detect
> 'musicbrainz' package. Could someone explain to me why
> invoking /opt/pkg/bin/pkg-config returns success, but
> invoking .tools/bin/pkg-config returns error? Is there a bug in the toolchain
> wrappers?
> 
> # pkg_info | grep musicbrainz                                                 
> musicbrainz-2.1.2nb2 Second generation incarnation of the CD Index
> 
> # /opt/pkg/bin/pkg-config --exists --print-errors "libmusicbrainz >= 2.1.1"   
> # echo $?
> 0
> 
> # /opt/pkg.obj/wip/bmpx/work.e450-lan/.tools/bin/pkg-config \
> --exists --print-errors "musicbrainz >= 2.1.1"
> sh: gnome-config: not found
> Package musicbrainz was not found in the pkg-config search path.
> Perhaps you should add the directory containing `musicbrainz.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'musicbrainz' found

Ah, I just realised I didn't buildlink musicbrainz libs and .pc files