Subject: .tools/bin/pkg-config wrapper
To: None <>
From: None <>
List: tech-pkg
Date: 03/10/2006 14:13:23
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 $?

# /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