[Fontconfig] PKG_PROG_PKG_CONFIG error

Dan Nicholson dbn.lists at gmail.com
Tue Dec 30 13:42:57 PST 2008


On Tue, Dec 30, 2008 at 3:02 PM, Peter <pcpc168 at sbcglobal.net> wrote:
>
>> >> Peter wrote:
>> >> > Hello,
>> >> > I donwloaded the latest fontconfig 2.6 to
>> compile
>> >> under Mac OS X 10.5,
>> >> > it failed with the error:
>> >> >
>> >> > configure: line 22438:
>> >> >  PKG_PROG_PKG_CONFIG:  command not found
>> >> >
>> >> > Where should I download PKG_PROG_PKG_CONFIG?
>> >>
>> >> http://pkg-config.freedesktop.org/
>> >
>> > Alan,
>> > Thanks.
>> > I have pkg-config-0.23.tar.gz installed already. But I
>> still got the same
>> > error message under Mac OS X 10.5.
>>
>> You're getting this error when building from the
>> tarball or you're
>> pulling fontconfig from freedesktop git? This is an
>> autoconf macro
>> that has failed to expand. If it's in the tarball like
>> that, then
>> there's a problem.
>
> It is from fontconfig tarball. not sure why it failed to expand,
> is there a way I can manually expand to see if I can fix the problem?

I just looked at the 2.6.0 tarball, and it looks fine. Are you running
autoconf or autoreconf after unpacking? Otherwise, run "autoreconf
-iv" and make sure that aclocal can find the file pkg.m4. I don't know
how this works on mac, but on linux it would be in /usr/share/aclocal.

--
Dan


More information about the Fontconfig mailing list