Subject: Re: x11/Xfixes fails to build on Solaris
To: segv <>
From: segv <>
List: tech-pkg
Date: 08/16/2005 21:58:09
On Tue, 16 Aug 2005 11:09:57 +0100
segv <> wrote:

> On Tue, 16 Aug 2005 10:33:31 +0200 (CEST)
> Gilles Dauphin <> wrote:
> > put this line in mk.conf
> > 
> > PKG_CONFIG_LIBDIR=/usr/pkg/lib/pkgconfig
> > 
> > Gilles
> Thanks, that fixed the problem. Just out of interest, why does it fail on
> Solaris and needs this fix, and not on NetBSD? I mean is it just a temporary
> problem with that package that will be fixed, or do I need to keep the above
> variable in mk.conf for all future package builds on Solairs?

OK, this is strange, I was testing it again, so I removed all the packages and
started building them from scratch:

Building x11/Xfixes does not automatically build x11/fixesext, which I think is
an error. And as expected x11/Xfixes then fails with

checking for fixesext >= 2.0... sh: gnome-config: not found
sh: gnome-config: not found
Package fixesext was not found in the pkg-config search path. Perhaps you
should add the directory containing `fixesext.pc' to the PKG_CONFIG_PATH
environment variable No package 'fixesext' found configure: error: Library
requirements (fixesext >= 2.0) not met; consider adjusting the PKG_CONFIG_PATH
environment variable if your libraries are in a nonstandard prefix so
pkg-config can find them. *** Error code 1

bmake: stopped in /opt/pkgsrc/x11/Xfixes
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===>      * config.log
===>      * /opt/pkg32.obj/x11/Xfixes/work/.work.log
*** Error code 1

I had to install x11/fixesext manually to correct this problem.
Maybe something is getting messed up in the Makefiles?